Skip to content

Fix CI assertions and troubleshooting guidance for admission gate - #70585

Merged
pelikhan merged 1 commit into
mainfrom
pelikhan-special-spork
Oct 20, 2026
Merged

pelikhan merged 1 commit into
mainfrom
pelikhan-special-spork

Conversation

@pelikhan

Copy link
Copy Markdown
Collaborator

The admission gate introduced in #70429 left CI and CJS failing because two regression tests assumed single-line job conditions and the diagnostic playbook did not cover ERR_ADMISSION.

Parse the compiled YAML and inspect the activation job's condition instead of matching its serialized formatting. Preserve checks for the original workflow condition and the admission result guard, and verify the dispatcher's admission dependency. Add admission troubleshooting guidance while retaining the playbook's 2,800-word limit.

No runtime behavior or workflow sources are changed.

Validation

  • make test-guidance
  • Portfolio tests: all 16 passed
  • go test -tags integration ./pkg/workflow -run '^TestTaskJobGenerationFix$' -count=1
  • make build && make fmt
  • make lint-cjs
  • make agent-report-progress, including impacted tests and workflow drift checks

Parse activation job conditions from YAML so admission guards and folded formatting preserve the existing regression coverage. Document ERR_ADMISSION within the debug playbook consumption budget.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@pelikhan
pelikhan marked this pull request as ready for review October 20, 2026 18:03
Copilot AI max review requested due to automatic review settings October 20, 2026 18:03
@pelikhan
pelikhan merged commit c756711 into main Oct 20, 2026
18 checks passed
@pelikhan
pelikhan deleted the pelikhan-special-spork branch October 20, 2026 18:03
@github-actions

Copy link
Copy Markdown
Contributor

🔍 Design Decision Gate 🏗️ is checking for design decision records on this pull request...

@github-actions

Copy link
Copy Markdown
Contributor

🧠 Matt Pocock Skills Reviewer is reviewing this pull request using Matt Pocock's engineering skills...

@github-actions

Copy link
Copy Markdown
Contributor

🔎 PR Code Quality Reviewer is reviewing code quality for this pull request...

@github-actions

Copy link
Copy Markdown
Contributor

✂️ Ponytail Reviewer has started processing this pull request

@github-actions

Copy link
Copy Markdown
Contributor

🔬 Test Quality Sentinel is analyzing test quality on this pull request...

Copilot AI 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.

🟢 Approval recommended

The focused test and documentation changes match existing admission behavior, with no unresolved blocking issues.

No open issues 🎉

What changed in this PR

Aligns gh-aw regression tests and troubleshooting guidance with the existing admission gate. Runtime behavior is unchanged.

Changes:

  • Parse compiled YAML to verify workflow conditions, admission guards, and dispatcher dependencies.
  • Add ERR_ADMISSION troubleshooting guidance while retaining the playbook’s word limit.
File Description
pkg/​workflow/​task_job_generation_fix_test.go Check activation conditions using parsed YAML.
actions/​setup/​js/​daily_report_portfolio.test.cjs Verify dispatcher conditions and admission dependency structurally.
.github/​aw/​debug-playbook.md Add admission error troubleshooting guidance.

Review effort: Max

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