Skip to content

fix: fetch locked conformance harness history - #43

Merged
BunsDev merged 1 commit into
mainfrom
fix/conformance-harness-checkout
Aug 31, 2026
Merged

fix: fetch locked conformance harness history#43
BunsDev merged 1 commit into
mainfrom
fix/conformance-harness-checkout

Conversation

@BunsDev

@BunsDev BunsDev commented Aug 31, 2026

Copy link
Copy Markdown
Member

Summary

  • fetch complete Chat history in the protected platform evidence checkout
  • keep the immutable locked harness revision available after squash-merging the producer
  • add a workflow regression guard

Failure addressed

Protected run 33325765303 failed on all three platforms with phase1.stage.runner-checkout.failed because the default depth-1 checkout contained only the squash merge commit, while phase1-conformance.lock.json correctly pins the reviewed pre-pin harness commit.

Validation

Advances OpenCoven/sdk#38.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings August 31, 2026 04:35

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes protected platform-evidence workflow runs by ensuring the conformance workflow checks out full git history so pinned/locked harness commits remain available after squash merges, and adds a regression guard to prevent reintroducing shallow checkouts.

Changes:

  • Update client-v1-conformance workflow checkout to fetch-depth: 0 so locked harness revisions can be resolved.
  • Add a specification-guard test asserting the protected platform evidence workflow uses a full-history checkout.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/specification-guards.test.ts Adds a regression guard test for full-history checkout in the protected evidence workflow.
.github/workflows/client-v1-conformance.yml Sets fetch-depth: 0 on actions/checkout to ensure pinned harness commits are available.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +355 to +361
it('fetches the locked harness revision for protected platform evidence', () => {
const workflow = readText('.github/workflows/client-v1-conformance.yml');

expect(workflow).toMatch(
/actions\/checkout@[0-9a-f]{40}\n {8}with:\n {10}fetch-depth: 0\n {10}persist-credentials: false\n {10}ref: \$\{\{ github\.sha \}\}/u,
);
});
@BunsDev
BunsDev merged commit 8ac6f5d into main Aug 31, 2026
10 of 17 checks passed
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