Skip to content

Check amd64 carrier access without publishing - #171

Closed
luisleo526 wants to merge 1 commit into
mainfrom
carrier-amd64-preflight-2
Closed

luisleo526 wants to merge 1 commit into
mainfrom
carrier-amd64-preflight-2

Conversation

@luisleo526

Copy link
Copy Markdown
Contributor

Build the release target from commit 83580ac with the published engine and codegen 1.10.0 inputs. Record the carrier build log, image identity, and installed-byte read as the default user 10001 on linux/amd64.

The workflow runs once when this pull request opens, with read-only repository permissions and a 35-minute cap. It creates no image or Git tags and pushes no image. The source commit and tree are checked before normal input preparation; the installed inventory must match the staged bytes.

This temporary pull request will be closed without merging. This check covers carrier copy and default-user access with 1.10.0 payloads; it does not establish 1.11.0 payload compatibility, HPO compatibility, a multi-architecture push, or pushed-digest verification.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@luisleo526

Copy link
Copy Markdown
Contributor Author

Closed without merging: the second temporary run stopped on the same asset download error (HTTP 504) before reaching the carrier stage.

@luisleo526 luisleo526 closed this Nov 8, 2026

@graphify-labs graphify-labs Bot 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.

Graphify reviewed this change.

Worth a look — the grounded gate found no coupling regressions or blocking issues, but 3 advisory finding(s) below merit a look before merge.

Not checked: tests were not run; no formal proof of the changed code.


Graphify review — findings

Adds a one-shot amd64 preflight that builds the release Docker stage from a pinned source commit and proves the parity carrier files are readable by the image's default user (uid 10001), without publishing anything. The workflow only fires when a PR is opened (not on later pushes) and only when the workflow file itself changes, so edits to the script or later updates to the PR skip the check entirely. carrier_preflight.py verifies the pinned head, tree, engine tag and guard-policy hash, runs ls and a runtime inventory inside the container with no network, and writes image-proof.json; the inventory step re-reads its JSON from a log that also captures stderr, so any stray container output breaks the parse.

Worth a look

  • Preflight check is bypassed on PR updates — .github/workflows/carrier-preflight.yml:4 · Escalate · medium
    • NOT verified (no proof, no reproducing execution) — needs human review
  • Inventory JSON is parsed from a log that also captures stderr — scripts/carrier_preflight.py:97 · Escalate · medium
    • NOT verified (no proof, no reproducing execution) — needs human review
  • Preflight is not triggered when its script changes — .github/workflows/carrier-preflight.yml:5 · Escalate · medium
    • NOT verified (no proof, no reproducing execution) — needs human review
Analysis details — impact, health, verification

Impact & health

Graphify review

Impact — 4 functions depend on the 4 functions this change touches.

Health — grade A; no new coupling hotspots.

Verification — 4 functions in the blast radius were not formally verified this run (proofs are advisory here).

Gate & verification

graphify gate

PASS — objectively clean (no health regressions, tests not run — proofs not run this pass (advisory)). Grounded, not self-assessed.

Advisory (not blocking):

  • verification_scope: 4 function(s) in the blast radius were not formally verified this run

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.

1 participant