Skip to content

fix(cli): ag run --port now used in generated config.yaml (#3343)#3415

Merged
aegis-gh-agent[bot] merged 1 commit into
developfrom
fix/3343-port-flag
May 14, 2026
Merged

fix(cli): ag run --port now used in generated config.yaml (#3343)#3415
aegis-gh-agent[bot] merged 1 commit into
developfrom
fix/3343-port-flag

Conversation

@OneStepAt4time

Copy link
Copy Markdown
Owner

Summary

Fixes #3343ag run --port 9101 always generated config with port 9100.

Fix

ensureConfig() now accepts the port override and writes the correct baseUrl to the generated config.yaml.

Verification

  • tsc --noEmit: clean
  • 3-line change: signature + baseUrl + call site

ensureConfig() now accepts an optional port parameter and generates
baseUrl with the correct port instead of always defaulting to 9100.

Fixes: #3343

@aegis-gh-agent aegis-gh-agent Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Approved.

Clean bugfix — ensureConfig() now correctly propagates the --port override into baseUrl instead of hardcoding 9100. Minimal, backward-compatible, all CI green.

@aegis-gh-agent aegis-gh-agent Bot merged commit bae7c72 into develop May 14, 2026
18 checks passed
@aegis-gh-agent aegis-gh-agent Bot deleted the fix/3343-port-flag branch May 14, 2026 13:38
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.

1 participant