Repository navigation
ci(docs-deploy): print what each docs deploy uploads, by part, before the upload - #38297
Conversation
…ighbours from the server Claude-Session: https://claude.ai/code/session_01L9qibzZRa3nLMmeQvLoDWE Co-authored-by: Claude <noreply@anthropic.com>
…y part Claude-Session: https://claude.ai/code/session_01L9qibzZRa3nLMmeQvLoDWE Co-authored-by: Claude <noreply@anthropic.com>
…ndered params Claude-Session: https://claude.ai/code/session_01L9qibzZRa3nLMmeQvLoDWE Co-authored-by: Claude <noreply@anthropic.com>
…ir prerendered params" Measured on the offline vercel build: dynamicParams = false leaves every prerender backed by a function (Vercel's Next builder emits a fallback function for each Prerender regardless), so it bought 6 output entries and 0 MiB. Not worth a behaviour change on unknown slugs. Claude-Session: https://claude.ai/code/session_01L9qibzZRa3nLMmeQvLoDWE Co-authored-by: Claude <noreply@anthropic.com>
…upload Claude-Session: https://claude.ai/code/session_01L9qibzZRa3nLMmeQvLoDWE Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 Contract-review-claim: session_01L9qibwSEecrzDjKjbk24r1 · head 9d66e03 · 2026-11-28T11:59Z |
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 Contract reviewServed-tier: PR #38297, card #36192, PR 2 of 2 under claim 7237738388. Read: the card body and its three comments (triage 7070406363, claim 7237738388, os-dev-report 7238054071), the PR body and file list, the net diff from merge base ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
Can the step block or alter a deploy?
Is the dependency footprint met at that point? Yes. Does the shell do what the comment says? Yes. The script runs as the condition of Does it land where the claim and the card put it? Yes: after The comment, sentence by sentence, against the code. "By part (prerendered pages, function code, OG images, llms bodies, static files)": the script's part labels are those. "In this log and in the run summary": both writes are there. " Workflow lint. The step's keys ( Findings. No must-fix, no should-fix.
Implemented-by: VERDICT: PASS |
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 The brief the contract reviewer above was handed, filled, for the seat to read before it adopts the record: Contract review brief — PR #38297 @
|
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 L1-a ACCEPT at Contract. The governed workflow face is Claim against surface (claim 7237738388). PR 2 is the one workflow file, as ruled. PR 1 (#38264) is merged, and its The step cannot block or alter a deploy. I checked each point against the file.
skip-changeset / Checks at this head: 48, with 30 success, 18 expected skip, 0 failed, 0 pending. mergeable clean. No check-run executes the new step: Docs Deploy runs from Tier H. Relation and duties after merge. |
continue-on-error does not absorb a hang: without a step timeout only the job's 30-minute clock would end it, and the deploy would not run. Claude-Session: https://claude.ai/code/session_01L9qibzZRa3nLMmeQvLoDWE Co-authored-by: Claude <noreply@anthropic.com>
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 Contract-review-claim: session_01L9qibwSEecrzDjKjbk24r1 · head cd1513f · 2026-11-28T12:59Z |
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 Contract reviewServed-tier: DELTA review from Read for this head: the card body and its four comments (triage 7070406363, claim 7237738388, os-dev-report 7238054071, CI reading 7239573592), the PR body, file list and five comments, the delta and the whole net diff from merge base ① Derived judgments
② Semver level
③ Boundary flags
④ Design judgment
The delta: does a step-level timeout under
The new comment, sentence by sentence.
Can the step block or alter a deploy? (whole step, restated for this head)
Dependency footprint. Met. The shell. The script runs as the condition of Placement. After The rest of the comment against the code. The part names match the script's labels. Both writes (log, summary) are there. The script walks the output tree and adds every distinct Workflow lint. Findings. No must-fix, no should-fix.
Implemented-by: VERDICT: PASS |
|
repo:objectstack#3 · os-tesla · session_01L9qibwSEecrzDjKjbk24r1 L1-a delta: ACCEPT at
|
|
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU Recorded 2026-11-28T13:06Z. 维护者速读
席位意见:可以合。 席位核对 — ACCEPT · repo:objectstack#3 · head
|
|
repo:objectstack#3 · os-tesla · session_01L9qibyUSf2nKJWW6qBemSU Tier H approval request at 2026-11-28T13:07Z. Seat record: the newest |
repo:objectstack#3 · os-tesla · session_01L9qibzZRa3nLMmeQvLoDWE
Requested by Tesla · project thread
Fixes #36192
Clause-②: no
Metadata-protocol: none
维护者速读
What changes
.github/workflows/docs-deploy.yml: one new step,Measure what this deploy uploads, between the build assertion and the upload. It runsnode apps/docs/scripts/measure-deploy-output.mjs(landed in perf(docs): send each docs page a trimmed sidebar tree, and measure what a deploy uploads #38264), prints the per-part table to the log and appends it to the run summary.continue-on-error: true, the only step in this workflow with it: the step publishes nothing, so a broken measurement must not stop the docs from publishing. A failure still leaves a::warning::annotation. The workflow's header rule (a run that cannot deploy goes red) is about the publish, and it is unchanged.timeout-minutes: 5on the same step:continue-on-errordoes not absorb a hang, so without it only the job's 30-minute clock would end the step, with no deploy. A step that hits its own timeout counts as failed, whichcontinue-on-errorlets through. The script is synchronous local reads and takes seconds.$RUNNER_TEMP, outside the treevercel deploy --prebuiltreads.skip-changeset: a workflow file, nothing publishes.Tests
run:block, extracted from the YAML and run locally withRUNNER_TEMPandGITHUB_STEP_SUMMARYset, against the offlinevercel buildoutput: exit 0; log and summary both carry the table (Deployment files: 13039 … Distinct contents: 7847 files, 631.7 MiB)..vercel/outputmoved away: the script refuses (noconfig.json), the step prints the warning and exits 1, whichcontinue-on-errorturns into a warning on a green run.cd1513fc:name,continue-on-error: true,timeout-minutes: 5,run. No check-run executes the step (Docs Deploy runs frommainonly); its first run is the first deploy after merge.Acceptance notes
Verification
Read first: the new step in
.github/workflows/docs-deploy.yml, aboveDeploy the prebuilt output to production.Two-minute check: after merge, the next Docs Deploy run (scheduled, or "Run workflow" on
main) shows aDocs deploy outputtable in its summary and the deploy still reachesDeployed:.Gates at cd1513f
node scripts/pm/dispatch-gates.mjs --commands: 36 derived families, each run with its exit captured before any pipe, all exit 0 (one sweep under the verify lock, 896 s; list in the card's project files asgates-ran-pr2-cd1513fc.list);--ran: 36 derived, 36 run, 0 NOT-MEASURED, 0 UNRUN (a derived zero).node scripts/pm/overlap-check.mjs: VERDICT clean, merges cleanly into origin/main.dispatch-gates.mjs --tier .github/workflows/docs-deploy.yml: no path-derived mandate. The path is a governed surface (Tier H): landing needs the maintainer's approval.Generated by Claude Code
🤖 Generated with Claude Code
https://claude.ai/code/session_01L9qibzZRa3nLMmeQvLoDWE