Skip to content

expose baseURL to cli commands#199

Merged
theodore-s-beers merged 1 commit into
mainfrom
tsb_base_url
Jul 13, 2026
Merged

expose baseURL to cli commands#199
theodore-s-beers merged 1 commit into
mainfrom
tsb_base_url

Conversation

@theodore-s-beers

Copy link
Copy Markdown
Member

Exposes the resolved lesson base URL to CLI command steps as ${baseURL}, including configured overrides.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 baseURL before 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.

Comment thread checks/runner.go
Comment thread checks/runner_test.go

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

Comment thread checks/runner.go
Comment thread checks/runner_test.go Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comment thread checks/runner.go
@theodore-s-beers theodore-s-beers merged commit f061ffd into main Jul 13, 2026
1 check passed
@theodore-s-beers theodore-s-beers deleted the tsb_base_url branch July 13, 2026 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants