Skip to content

Accept pinned CI smoke Build Output context - #12834

Merged
dezren39 merged 3 commits into
mainfrom
smoke-build-output-validator-20261123
Nov 23, 2026
Merged

dezren39 merged 3 commits into
mainfrom
smoke-build-output-validator-20261123

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Fix

The hosted smoke upload attempt on 09d665fad138ef511f133ceb9b7c62b23a715e8b failed in the effective Build Output validator before any Cloudflare read or write. Reproduced with Node 24.22.0, cf@1.0.0-rc.1, pinned Wrangler, and GitHub Actions CI variables, without Cloudflare credentials.

The pinned CI output has producer {name: "wrangler", version: "4.166.0"} and build context {isPreview: false, mode: ""}. The validator now requires that exact context while retaining the non-preview requirement. On failure it emits only sanitized producer/context keys, types, and allowlisted metadata categories; it never prints the raw build config or arbitrary values.

Verification

  • Focused Node suite: 41/41 passing, including CI-mode, preview/mode denial, and sanitized diagnostics.
  • Exact pinned Node/cf build, effective payload validation, and cf workers versions create --prebuilt --dry-run passed with Cloudflare tokens unset.
  • actionlint 1.7.12 passed on both existing smoke workflows.
  • No workflow was dispatched and no Cloudflare or repository settings were changed.

This draft changes only smoke-upload.mjs and its test. It adds no workflow, secret, resource, or console Worker.


Start Proof
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 55 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 52f1001f-4f3d-4781-9225-c4342e970269
Commits

Reviewing files that changed from the base of the PR and between a321f4a and b4d0588.

Files selected for processing: 2

  • pm-stack/private-laptop-bridge/smoke-upload.mjs
  • pm-stack/private-laptop-bridge/smoke-upload.test.mjs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@dezren39
dezren39 marked this pull request as ready for review November 23, 2026 03:35
@dezren39
dezren39 requested a review from a team as a code owner November 23, 2026 03:35
@dezren39
dezren39 merged commit 8b20f63 into main Nov 23, 2026
1 check passed
@dezren39
dezren39 deleted the smoke-build-output-validator-20261123 branch November 23, 2026 03:35
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