Skip to content

chore(scaffold): bump @civitai/blocks-react pin to ^0.46.0 - #523

Merged
ZacxDev merged 1 commit into
mainfrom
zach/bump-blocks-react-046
Sep 4, 2026
Merged

chore(scaffold): bump @civitai/blocks-react pin to ^0.46.0#523
ZacxDev merged 1 commit into
mainfrom
zach/bump-blocks-react-046

Conversation

@ZacxDev

@ZacxDev ZacxDev commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Why this is urgent

pins-vs-published is a required check and is currently red on every open PR in this repo. npm published @civitai/blocks-react@0.46.0; the page-money template pins ^0.45.0, and a pre-1.0 caret locks the minor — so the pin no longer admits published latest and every app scaffolded from the template is born stale.

The automation that normally handles this, bump-scaffold-pins, is itself failing on main (bf4db4b), which is why the bump did not land on its own. That is a separate problem and is not addressed here.

What this is

Output of the repo's own tool, go run ./internal/scaffold/cmd/bump-pins. Only @civitai/blocks-react moved, across the four places that mirror the pin — template, its README, the scaffold_test assertion, and the design-tokens fixture header. Token count unchanged at 32.

🔴 Not a rubber stamp — this package has form

0.44 inverted the workflow error contract: estimate()/submit() went from resolving a failure snapshot to throwing WorkflowEstimateError/WorkflowSubmitError, whose .message the SDK documents as developer-facing and never for a viewer. Blocks that bumped across it silently began rendering internal text to users, and fixtures mocking a resolved failure kept passing straight through the change. 0.45 was cleared only by a tarball diff, so 0.46 got the same treatment.

npm packed both versions and diffed dist/ recursively:

surface 0.45.0 → 0.46.0
internal/transport.js byte-identical
internal/liveHost.js byte-identical
internal/mockHost.js byte-identical
hooks/useBuzzWorkflow.js byte-identical
hooks/useAppWorkflows.js byte-identical
every dist file mentioning WorkflowEstimateError / WorkflowSubmitError byte-identical

The entire delta is additive: four new files (ui/ReportButton.*) and one re-export line in ui/index.js. Nothing else in dist changed, in either direction.

Verification

  • TestScaffoldPinsSatisfyPublished passes locally with CIVITAI_CHECK_PUBLISHED_PINS=1 armed — and reports PASS, not SKIP, so it actually reached npm rather than skipping on an unreachable registry (the workflow itself notes a skip would be a green that says nothing).
  • Red-before is evidenced by fix(appapi): an ownership 403 is not an access problem — stop printing the Apps-author remedy #522's CI, which failed on the unmodified base with exactly this message: pinned ^0.45.0 (does NOT admit the published version) / published 0.46.0.
  • Full suite: 21/21 packages ok.

Follow-on

This unblocks #522, which is otherwise green (12 of 13 checks passing) and blocked solely by this gate.

pins-vs-published is a REQUIRED check and is currently red on every open PR in
this repo: npm published @civitai/blocks-react 0.46.0, the page-money template
pins ^0.45.0, and a pre-1.0 caret locks the minor, so the pin no longer admits
published latest. Every app scaffolded from the template is born stale. The
automation that normally handles this (bump-scaffold-pins) is itself failing on
main, so the bump did not land on its own.

Produced by the repo's own tool, `go run ./internal/scaffold/cmd/bump-pins` —
only @civitai/blocks-react moved, across the four places that mirror it (the
template, its README, the scaffold_test assertion, and the design-tokens
fixture header). The token count is unchanged at 32.

🔴 NOT a rubber stamp, because this package has form: 0.44 INVERTED the workflow
error contract (estimate()/submit() went from resolving a failure snapshot to
THROWING WorkflowEstimateError/WorkflowSubmitError, whose developer-facing
.message then renders to viewers). 0.45 was cleared only by a tarball diff, and
0.46 was cleared the same way here:

  - internal/transport.js, internal/liveHost.js, internal/mockHost.js,
    hooks/useBuzzWorkflow.js, hooks/useAppWorkflows.js — all BYTE-IDENTICAL
    between 0.45.0 and 0.46.0;
  - every dist file mentioning WorkflowEstimateError/WorkflowSubmitError —
    byte-identical;
  - the entire delta is additive: four new files (ui/ReportButton.*) plus one
    re-export line in ui/index.js. Nothing else in dist changed.

Verified: TestScaffoldPinsSatisfyPublished passes locally with
CIVITAI_CHECK_PUBLISHED_PINS=1 armed — PASS, not SKIP, so it really reached npm
rather than skipping on an unreachable registry. Full suite 21/21 packages.
@ZacxDev
ZacxDev merged commit 6a68809 into main Sep 4, 2026
13 checks passed
@ZacxDev
ZacxDev deleted the zach/bump-blocks-react-046 branch September 4, 2026 18:00
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