Skip to content

doc(compile): add Long-description sections and tests for --validate and --watch#45295

Closed
pelikhan with Copilot wants to merge 2 commits into
mainfrom
copilot/document-cli-flags
Closed

doc(compile): add Long-description sections and tests for --validate and --watch#45295
pelikhan with Copilot wants to merge 2 commits into
mainfrom
copilot/document-cli-flags

Conversation

Copilot AI commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

--validate and --watch had only one-line flag usage strings — no Long description sections, no examples for --validate, and no tests verifying their registration.

Changes

cmd/gh-aw/main.go

  • Added --validate section to compile Long description: schema validation, action SHA validation, container image validation behaviour, and interaction with --validate-images
  • Added --watch section: single-file constraint, Ctrl+C to stop
  • Added compile --validate to Examples

cmd/gh-aw/compile_flags_test.go

  • TestCompileValidateFlag — asserts flag exists, default false, no shorthand
  • TestCompileWatchFlag — asserts flag exists, shorthand -w, default false

Copilot AI and others added 2 commits July 13, 2026 16:17
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title Add proper documentation for --validate and --watch compile flags doc(compile): add Long-description sections and tests for --validate and --watch Jul 13, 2026
Copilot AI requested a review from pelikhan July 13, 2026 16:25
@github-actions

Copy link
Copy Markdown
Contributor

PR Triage (run 29275650494)\n\nCategory: docs | Risk: low | Score: 25/100 | Action: defer\n\nScore: Impact 12/50 + Urgency 5/30 + Quality 8/20\n\nAdds Long-description sections for --validate/--watch compile flags. DRAFT. Note: +483K additions is suspicious (likely generated/compiled output included). Needs investigation before merge.

Generated by 🔧 PR Triage Agent · 181.5 AIC · ⌖ 7.71 AIC · ⊞ 5.6K ·

@pelikhan pelikhan closed this Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants