Skip to content

Fix CI parser embedding and stale policy fixtures - #69943

Merged
pelikhan merged 1 commit into
mainfrom
pelikhan-ci-failures-9aa
Oct 18, 2026
Merged

pelikhan merged 1 commit into
mainfrom
pelikhan-ci-failures-9aa

Conversation

@pelikhan

Copy link
Copy Markdown
Collaborator

Summary

Fix the failures observed in the latest main-branch CI and CGO runs:

  • Embed work_queue_native_creation_delivery.cjs, which is required by the embedded work queue delivery module.
  • Align both CLI tester policy assertions with the current expected-exclusion and incomplete-coverage reporting contract.
  • Use the current audit schema in the ledger-hydration fixture and add regression cases rejecting unversioned, older, and future schemas.

No workflow source, generated lock, or cache compatibility behavior is weakened.

Validation

  • Reproduced all four failing tests before the changes.
  • Focused parser, cached-audit, workflow-policy, and workflow-contract tests pass.
  • Integration-tagged compile-edge-case policy test passes.
  • make build, make fmt, and make agent-report-progress pass, including impacted Go tests, change-scoped linting, schema freshness, and recompilation of all 344 workflow locks without drift.

Failure evidence: CI run and CGO run. No workflow runs were manually triggered.

Include the native creation delivery module in embedded session parser sources, align CLI tester policy assertions with bounded coverage reporting, and exercise cached-audit ledger hydration across schema versions.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@pelikhan
pelikhan marked this pull request as ready for review October 18, 2026 15:35
Copilot AI max review requested due to automatic review settings October 18, 2026 15:35
@github-actions

github-actions Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Code Quality Reviewer completed the code quality review.

🔎 Code quality review by PR Code Quality Reviewer

@github-actions

github-actions Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

✅ Ponytail Reviewer completed successfully!

Ponytail Reviewer

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Ponytail Reviewer · gpt56 · 6.07 AIC · ⌖ 5.26 AIC · ⊞ 14.6K · ◷

Generated by Ponytail Reviewer for #69943

@github-actions

github-actions Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer

@github-actions

github-actions Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft.

Design Decision Gate 🏗️

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Design Decision Gate 🏗️ · opus55 · 11.1 AIC · ⌖ 36.3 AIC · ◇ 15.3 AIC · ⊞ 1.9K · ◷

🏗️ ADR gate enforced by Design Decision Gate 🏗️

@github-actions

github-actions Bot commented Oct 18, 2026 •

Copy link
Copy Markdown
Contributor

✅ Test Quality Sentinel completed test quality analysis.

Test Quality Sentinel

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Test Quality Sentinel · sonnet50 · 13.2 AIC · ⌖ 15 AIC · ◇ 6.53 AIC · ⊞ 12.6K · ◷

🧪 Test quality analysis by Test Quality Sentinel

@github-actions github-actions 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.

Skills-Based Review 🧠

Applied /diagnosing-bugs and /tdd — this is a tightly scoped fix (one go:embed line + aligning fixtures/assertions to current contracts) with no actionable issues found.

📋 Review Notes

What was checked

  • actions/setup/session_parsers.go: adds the missing (go/redacted):embed js/work_queue_native_creation_delivery.cjs directive, matching the stated root cause (embedded work queue delivery module referencing an unembedded file).
  • pkg/cli/logs_cached_json_test.go: TestHydrateProcessedRunWithCachedAuditLedger now table-tests current/unversioned/older/future schema versions, correctly exercising the real auditSchemaVersion gate in audit_cache.go (hydrateProcessedRunWithCachedAudit returns the processed run unchanged, with nil Ledger, when SchemaVersion != auditSchemaVersion). This is a genuine improvement in regression coverage per /tdd — good boundary coverage (older and future schema both verified, not just one direction).
  • pkg/workflow/agentic_workflow_test.go and daily_cli_tools_tester_policy_test.go: assertions updated to match current prompt text for expected-exclusion / incomplete-coverage reporting language, including a new assert.NotContains guarding against the stale phrase reappearing — good regression-proofing per /diagnosing-bugs.

Positive Highlights

  • ✅ Root cause addressed directly (missing embed), not just a symptom patch.
  • ✅ New schema-version test cases are genuinely useful regression coverage, not just fixture churn.
  • ✅ t.Parallel() added alongside the table-test refactor, improving test suite throughput.

No blocking issues identified; nothing requires inline comments.

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · sonnet50 · 14.6 AIC · ⌖ 14.7 AIC · ⊞ 10.1K
Comment /matt to run again

@pelikhan
pelikhan merged commit eb42b26 into main Oct 18, 2026
103 of 108 checks passed

@github-actions github-actions 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.

Verdict

No actionable blocking issues found in the changed lines.

Scope and limits Static review only from the capped pre-fetched diff and metadata; I did not execute builds or tests. The changes look like a targeted embed fix plus test-fixture/policy assertion updates that match the current contract.

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt54 · 29.5 AIC · ⌖ 5.84 AIC · ⊞ 12.7K
Comment /review to run again

@pelikhan
pelikhan deleted the pelikhan-ci-failures-9aa branch October 18, 2026 15:40

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 embedding and test updates match existing contracts, with no unresolved blocking issues.

No open issues 🎉

What changed in this PR

Fixes gh-aw CI failures by embedding a required delivery module and updating stale policy and audit test fixtures.

Changes:

  • Embed the native work queue creation-delivery module.
  • Align policy assertions with expected-exclusion and incomplete-coverage reporting.
  • Test ledger hydration with current, unversioned, older, and future audit schemas.
File Description
pkg/​workflow/​daily_cli_tools_tester_policy_test.go Update expected-exclusion policy assertions.
pkg/​workflow/​agentic_workflow_test.go Match the current incomplete-status policy.
pkg/​cli/​logs_cached_json_test.go Correct the audit fixture and test schema rejection.
actions/​setup/​session_parsers.go Embed the required native delivery module.

Review effort: Max

@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.92.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants