Uh oh!
There was an error while loading. Please reload this page.
expose baseURL to cli commands - #199
Conversation
There was a problem hiding this comment.
Pull request overview
This pull request exposes the resolved lesson base URL to CLI command steps via the ${baseURL} interpolation variable, intended to reflect the lesson default or a user-configured override.
Changes:
- Populate the per-run interpolation variables map with
baseURLbefore executing CLI/HTTP steps. - Add a unit test asserting
${baseURL}is interpolated into CLI commands for both default and overridden base URLs.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| checks/runner.go | Adds baseURL into the shared interpolation variable map used by CLI command execution. |
| checks/runner_test.go | Introduces a test to verify ${baseURL} interpolation in CLI command steps for default vs override. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
c8896f4 to
bdcd590CompareUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
bdcd590 to
8951075CompareUh oh!
There was an error while loading. Please reload this page.
8951075 to
e232e1eCompareUh oh!
There was an error while loading. Please reload this page.
Exposes the resolved lesson base URL to CLI command steps as
${baseURL}, including configured overrides.