Skip to content

Fix the JavaScript Build failures on the query-states branch - #340

Open
cratis-direct[bot] wants to merge 2 commits into
mainfrom
fix/query-states-ci
Open

cratis-direct[bot] wants to merge 2 commits into
mainfrom
fix/query-states-ci

Conversation

@cratis-direct

@cratis-direct cratis-direct Bot commented Sep 26, 2026

Copy link
Copy Markdown

Summary

Fixes both root causes behind the failing JavaScript Build run (36225064763) on the feature/query-states-and-a11y branch, so #338's checks can go green. Stacked onto that branch — merge it there, not into main.

Fixed

  • The source shard failed verify-api-docs because the new DataTableStatus members reached the public ./DataTables subpath without TSDoc. Each member now documents what the table renders in that state.
  • Every renderer-adapter, package-manager and arc-consumer leg failed verify-package-archive because the new rules pushed the published aggregate stylesheet to 32791 gzip bytes, 23 past the reviewed 32 KiB ceiling. The ceiling is deliberately never raised without a compensating reduction, so this ships one: the per-file separator comment inside the published stylesheets drops its dash run. Measured on the packed archive: 203689 raw bytes, 32558 gzip bytes, 1170 declaration blocks, and all 21 per-area stylesheets within budget.

Verification

  • node scripts/verify-api-docs.mjs — every reachable public declaration and member documented.
  • yarn workspace @cratis/components pack + node scripts/verify-package-archive.mjs <tgz> — aggregate and per-area budgets pass with the numbers above.
  • yarn workspace @cratis/components run ci — the failing shard's own command: lint, build, 480 test files / 1747 tests, story typechecks, renderer contracts, package-graph report, all green.

Nothing was verified beyond that locally: the four renderer-adapter typecheck legs were not rebuilt here — their prior run passed every step before the archive-budget step these commits address.

Cratis Stagehand (AI) added 2 commits September 26, 2026 07:20
The public API TSDoc gate (verify-api-docs) flags the four members the
query-state work introduced: every declaration reachable from a JS exports
subpath must carry a TSDoc comment. Describe what each state renders so the
enum documents itself the way NumberInputCommitReason does.
The query-state rows and the PivotViewer loading label pushed the published
aggregate stylesheet to 32791 gzip bytes, 23 past the reviewed 32 KiB ceiling
that every renderer-adapter, package-manager and arc-consumer leg re-checks.
The ceiling is deliberately never raised without a compensating reduction, so
take one: the per-file separator comment that ships inside the aggregate and
every per-area stylesheet loses its dash run. Measured on the packed archive:
raw 203689, gzip 32558, 1170 declaration blocks, all 21 per-area sheets within
budget. The measurement is recorded beside the earlier ones in the gate.
Base automatically changed from feature/query-states-and-a11y to main September 26, 2026 08:41
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.

0 participants