Skip to content

Fix protected conformance bootstraps - #58

Merged
BunsDev merged 2 commits into
mainfrom
fix/protected-bootstrap-path-and-install
Sep 1, 2026
Merged

Fix protected conformance bootstraps#58
BunsDev merged 2 commits into
mainfrom
fix/protected-bootstrap-path-and-install

Conversation

@BunsDev

@BunsDev BunsDev commented Sep 1, 2026

Copy link
Copy Markdown
Member

Summary

  • traverse Windows files through FileInfo.Directory before directory-parent traversal under strict PowerShell
  • defer the Unix Tauri CLI version check until after the frozen dependency install inside the isolated producer boundary
  • repin the immutable harness authority to the durable fix commit and exact workflow bytes

Failure evidence

  • protected run 33474082852: Windows failed with The property Parent cannot be found on this object
  • the same run: Linux and macOS failed because pnpm exec tauri --version ran before dependencies existed

Validation

  • focused red/green regressions for both failures
  • strict PowerShell execution against a file and directory
  • workflow/specification tests: 95 passed, 19 skipped
  • lock authority tests: 89 passed, 1 skipped
  • TypeScript typecheck
  • Biome lint (existing CSS specificity warnings only)

BunsDev and others added 2 commits September 1, 2026 01:00
Avoid FileInfo.Parent under strict PowerShell and defer the Unix Tauri CLI check until frozen dependencies are installed inside the producer boundary.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Bind the protected conformance lock and documentation to the durable bootstrap fix commit and its exact workflow bytes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI lite review requested due to automatic review settings September 1, 2026 06:07

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.

Pull request overview

This pull request fixes Phase 1 protected conformance bootstraps by hardening Windows ancestor traversal under strict PowerShell, deferring the Unix Tauri CLI version check until after the frozen dependency install inside the isolated producer, and repinning the conformance lock/harness authority to the updated, reviewed workflow bytes.

Changes:

  • Update Windows PowerShell ancestor traversal to route FileInfo through .Directory before .Parent traversal (avoids FileInfo.Parent under strict mode).
  • Move the Unix tauri version verification to occur after pnpm install --frozen-lockfile --ignore-scripts (and add workflow/spec tests to enforce the ordering).
  • Repin harness authority (revision/tree) and workflow byte SHA-256 in the conformance lock and corresponding tests/docs.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/phase1-conformance-lock.test.ts Updates expected harness revision/tree assertions for the repinned harness authority.
src/client-v1-conformance-workflow.test.ts Adds regression tests asserting (1) Unix Tauri check is deferred until after install and (2) Windows bootstrap avoids FileInfo.Parent.
phase1-conformance.lock.json Repins harness authority revision/tree and updates the workflow blob/SHA-256 to the new reviewed bytes.
docs/phase1-conformance.md Updates the documented byte count and SHA-256 for the reviewed workflow file.
.github/workflows/client-v1-conformance.yml Fixes strict PowerShell traversal of file ancestors and removes the premature Unix tauri check from the early toolchain gate.

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

@BunsDev
BunsDev merged commit fa2f9bf into main Sep 1, 2026
12 of 21 checks passed
BunsDev added a commit that referenced this pull request Sep 1, 2026
Rebased onto main after the protected bootstrap fix (#58) landed, so the
previous repin pinned a commit that no longer exists on this branch.

Repins harness and harnessAuthority to b49cebc, the rebased fix commit,
and refreshes the two blobs that commit changes:
client-v1-conformance.yml and windows-job-supervisor.cs.

Verified: the pinned tree equals `git rev-parse b49cebc^{tree}` and every
one of the 25 harnessAuthority blobs resolves to its locked value at that
revision.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@BunsDev
BunsDev deleted the fix/protected-bootstrap-path-and-install branch September 2, 2026 13:16
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