Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
@@ -2,7 +2,7 @@
|
||||
|
||||
**Status:** active
|
||||
**Owner:** web platform
|
||||
**Related:** [`scripts/bundle-budgets.json`](../../scripts/bundle-budgets.json), [`scripts/verify-bundle-size.mjs`](../../scripts/verify-bundle-size.mjs), `docs/improvement-plan/10-compliance-polish/bundle-budget.md`
|
||||
**Related:** [`scripts/bundle-budgets.json`](../../scripts/bundle-budgets.json), [`scripts/verify-bundle-size.mjs`](../../scripts/verify-bundle-size.mjs)
|
||||
|
||||
## Why
|
||||
|
||||
@@ -43,7 +43,7 @@ The per-route layer was added in task #71 (Phase 10) to make day-to-day creep vi
|
||||
|
||||
```bash
|
||||
# Build apps/web normally and print the per-route table:
|
||||
pnpm --filter @toolctrl/web build
|
||||
pnpm --filter @hivegrid/web build
|
||||
node scripts/verify-bundle-size.mjs
|
||||
|
||||
# Only the per-route table (skips group checks):
|
||||
@@ -63,7 +63,7 @@ machine-readable output with human diagnostics.
|
||||
To inspect why a chunk is big:
|
||||
|
||||
```bash
|
||||
pnpm --filter @toolctrl/web run bundle:visualize
|
||||
pnpm --filter @hivegrid/web run bundle:visualize
|
||||
open apps/web/build/stats.html
|
||||
```
|
||||
|
||||
@@ -75,7 +75,7 @@ The visualizer is gated on `ANALYZE_BUNDLE=true` so the regular production build
|
||||
|
||||
`.github/workflows/bundle-budget.yml` (and `.gitea/workflows/bundle-budget.yml`) run on every PR that touches `apps/web/**`, `packages/**`, or the budget config / verifier. They:
|
||||
|
||||
1. Build `@toolctrl/web`.
|
||||
1. Build `@hivegrid/web`.
|
||||
2. Run `verify-bundle-size.mjs --json`.
|
||||
3. Download the latest `bundle-baseline-main` artifact (captured by `bundle-budget-baseline.yml` on `main` pushes).
|
||||
4. Render a sticky markdown comment via `scripts/render-bundle-budget-comment.mjs`.
|
||||
@@ -104,7 +104,7 @@ The first PR after a fresh checkout (or after a baseline-artifact expiry) sees `
|
||||
|
||||
- **PR comment never shows up:** check the `Bundle Budget` workflow run — the `Build web` step may have failed (e.g. server-only import in a client export). The comment job only runs if all upstream steps succeed.
|
||||
- **`vendor-monaco-...` reports as `vendor-monaco-...-` with default budget:** rollup occasionally emits chunk hashes ending in `-`; the baseline normalizer skips that suffix and the asset falls back to `default`. Either rename via `manualChunks.ts` or add an explicit budget entry.
|
||||
- **CI run is much slower than `pnpm typecheck`:** the workflow does a full `pnpm --filter @toolctrl/web build`. That's the expected cost. If it ever exceeds ~30 minutes, profile with `ANALYZE_BUNDLE=true` locally first.
|
||||
- **CI run is much slower than `pnpm typecheck`:** the workflow does a full `pnpm --filter @hivegrid/web build`. That's the expected cost. If it ever exceeds ~30 minutes, profile with `ANALYZE_BUNDLE=true` locally first.
|
||||
|
||||
## Rollback
|
||||
|
||||
|
||||
Reference in new issue
Block a user