Skip to content

Fix main CI pin checks and stale test contracts - #75993

Merged
pelikhan merged 1 commit into
mainfrom
pelikhan/ci-failures-b10
Nov 8, 2026
Merged

pelikhan merged 1 commit into
mainfrom
pelikhan/ci-failures-b10

Conversation

@pelikhan

@pelikhan pelikhan commented Nov 8, 2026

Copy link
Copy Markdown
Collaborator

Recent main-branch CI, CGO, and CJS runs fail because the specification pin check uses shallow history and several test fixtures no longer match intentional runtime changes.

Changes

  • Fetch complete history for the specification drift check and update both pins to the latest specification revision.
  • Align performance-query contracts with bounded date batches and preserve installer coverage that prohibits shared /tmp cleanup.
  • Update deployment-authority fixtures to use compiler manifests, including rejection coverage for missing, malformed, and unapproved manifests. Runtime approval rules are unchanged.
  • Regenerate the skill index and fix Go assertion and loop-variable lint errors.

Validation

Focused Go regression checks and 72 related JavaScript tests pass. Formatting, JavaScript lint, impacted Go tests, schema checks, and recompilation of all 365 workflows pass.

The final validation command encountered a shared golangci-lint lock after its tests passed. Re-running the non-test gates with an isolated temporary directory passed without changing repository configuration.

Fetch complete specification history and refresh its compliance pin. Align installer, performance query, and worker deployment fixtures with current behavior, regenerate the skill index, and resolve Go lint failures.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@pelikhan
pelikhan marked this pull request as ready for review November 8, 2026 22:09
Copilot AI adaptive review requested due to automatic review settings November 8, 2026 22:09
@github-actions

github-actions Bot commented Nov 8, 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 · routed: gpt61 medium · ~5 AIC · ⌖ ~1 AIC · ◇ ~1 AIC · ⊞ 181 · ◷

Generated by Ponytail Reviewer for #75993

@github-actions

github-actions Bot commented Nov 8, 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 🏗️ · routed: haiku55 xhigh · ~1 AIC · ⌖ ~2 AIC · ◇ ~1 AIC · ⊞ 8.6K · ◷

🏗️ ADR gate enforced by Design Decision Gate 🏗️

@github-actions

github-actions Bot commented Nov 8, 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 Nov 8, 2026

Copy link
Copy Markdown
Contributor

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

@github-actions

github-actions Bot commented Nov 8, 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 Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

❌ PR Specification Reviewer failed to deliver outputs. Please review the logs for details.

Generated by PR Specification Reviewer for #75993

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 reviewed changes address the specification-pin checks and update the affected test contracts and fixtures, with no active issues identified.

No open issues 🎉

What changed in this PR

This pull request fixes specification-pin CI checks and updates stale Go and JavaScript test contracts to reflect intentional runtime changes.

Changes:

  • Enables full Git history and synchronizes the specification pin.
  • Updates performance, installer, deployment-authority, and assertion test contracts.
  • Refreshes compiler-manifest fixtures and the agentic-workflow skill index.
  • The installer cleanup guard should reject both /tmp and any /tmp/... path to prevent shared-runner cleanup regressions.
File Reviewed change
specs/​github-mcp-access-control-compliance/​README.md Updates the pinned specification revision and full-history comparison guidance.
pkg/​workflowcontract/​daily_performance_summary_workflow_contract_test.go Aligns performance-query assertions with bounded date batches and result consolidation.
pkg/​workflow/​gradershell/​evaluation_interpreter_option_test.go Removes the obsolete loop-variable capture workaround.
pkg/​cli/​install_copilot_cli_test.go Preserves shared /tmp cleanup coverage; the path guard should also reject /tmp/... subpaths.
pkg/​atif/​spec_test.go Makes prerequisite error assertions fail fast.
actions/​setup/​js/​work_queue_deployment_authority.test.cjs Migrates fixtures to compiler manifests and covers malformed, missing, and unapproved manifests.
.github/​workflows/​ci.yml Enables full history and updates the specification pin used by CI.
.github/​skills/​agentic-workflows/​SKILL.md Adds the regenerated index-search.md skill entry.

Review effort: Lite (auto)

@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Comment Memory

Peek at saved memory (pr-code-quality-reviewer)
reviewed_at: 2026-11-08T22:12:10Z
review_event: REQUEST_CHANGES
top_themes: [cross-runtime deployment-authority inconsistency]
files_reviewed: [actions/setup/js/work_queue_deployment_authority.test.cjs, pkg/workqueue/provisioning_deployment.go, actions/setup/js/work_queue_provisioning.cjs]
comment_count: 1

Note

This comment is managed by comment memory.

Expand the saved memory block to view or edit the persistent context for this thread.
Edit only the text inside the backtick fences; workflow metadata and the footer are regenerated automatically.

Learn more about comment memory

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~5 AIC · ⌖ ~1 AIC · ⊞ 1.6K · ◷
Comment /review to run again

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

I found one blocking consistency issue: the updated JS fixtures now authorize manifest-only worker deployment, while the native Go deployment path still requires source-level worker approval and a literal GH_AW_WORK_QUEUE_CONTRACT stamp. The removed rejection coverage can therefore let the two runtimes disagree. Please align the implementation or preserve the checks.

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~5 AIC · ⌖ ~1 AIC · ⊞ 1.6K
Comment /review to run again

expect(f.state.deployments.get("default").get("default").current_ref).toBe(revision);
});

it("uses the compiler manifest without requiring Markdown source or an environment stamp", async () => {

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.

This fixture now explicitly approves a lock with neither the compiler-emitted GH_AW_WORK_QUEUE_CONTRACT environment stamp nor the source .md approval, but the native Go deployment path still requires both: pkg/workqueue/provisioning_deployment.go reads the source worker approval and rejects a compiled worker without a literal contract stamp. That leaves JS and native deployment authority inconsistent, and the removed rejection cases no longer catch it. Please either align the Go path with manifest-only authority or retain these rejection cases (and update the PR description).

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

Reviewed PR head f531a0e.

Applicable contract: docs/src/content/docs/specs/work-queue-specification.md section 7.10 (protocol review revision 2026-10-05 at the reviewed head). The updated deployment-authority fixtures and existing implementation consistently use the verified immutable default revision and its compiled .lock.yml manifest (work_queue.worker: true, 64-hex logical_contract, and workflow_dispatch.work_queue_assignment), without requiring Markdown source or a GH_AW_WORK_QUEUE_CONTRACT stamp. The prior spec text still required source/lock/stamp evidence, so I synchronized section 7.10 to the evidenced behavior while preserving immutable revision, registration, frozen authority, fail-closed availability, and error-propagation requirements.

A specification commit was queued for the same-repository PR branch (output so_kSZojq0xSVmp). No blocking conformance findings remain. This was a static review; tests were not run.

Generated by PR Specification Reviewer for #75993 · copilot · gpt50 · ~6 AIC · ⌖ ~2 AIC · ⊞ 1.7K
Comment /review-specs to run again

@pelikhan
pelikhan merged commit 25a9053 into main Nov 8, 2026
184 of 187 checks passed
@pelikhan
pelikhan deleted the pelikhan/ci-failures-b10 branch November 8, 2026 22:22
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v1.2.2

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