Skip to content

fix(ci): write boot metrics file at repo root on main - #4467

Merged
tyler-dane merged 1 commit into
mainfrom
cursor/fix-boot-metrics-path-6836
Oct 14, 2026
Merged

tyler-dane merged 1 commit into
mainfrom
cursor/fix-boot-metrics-path-6836

Conversation

@tyler-dane

Copy link
Copy Markdown
Contributor

What and why

The Boot bundle workflow's main push step sets COMPASS_BOOT_SIZE_METRICS_FILE=boot-main-metrics.json and cats that path from the repo root, but run-boot-size-check.sh runs the build from apps/calendar-web, so Bun wrote the file there instead. The build succeeded and the log line was printed, then cat failed and took down the delta and boot-bundle jobs (see run https://github.com/KeepSoftwareSimple/compass-calendar/actions/runs/38622516707).

PR delta was unaffected because pr-boot-size-delta.ts already passes absolute metrics paths.

This change resolves relative COMPASS_BOOT_SIZE_METRICS_FILE values against the repo root before changing into apps/calendar-web, so main measurement stays informational and passes.

Verify

VERDICT: PASS
Checks run: type-check, lint, knip

Local: ran run-boot-size-check.sh with COMPASS_BOOT_SIZE_METRICS_FILE=boot-main-metrics.json; metrics JSON appears at repo root.

Open in Web Open in Cursor 

Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
@tyler-dane tyler-dane added the agent-automerge Agent-loop finished; merge-guard may squash-merge label Oct 14, 2026 — with Cursor
@tyler-dane
tyler-dane marked this pull request as ready for review October 14, 2026 19:48
@tyler-dane
tyler-dane enabled auto-merge October 14, 2026 19:48
@github-actions

Copy link
Copy Markdown
Contributor

Boot bundle: 507.6 KB gzip (+0.0 KB vs main)

@tyler-dane
tyler-dane added this pull request to the merge queue Oct 14, 2026
Merged via the queue into main with commit 5e69513 Oct 14, 2026
31 checks passed
@tyler-dane
tyler-dane deleted the cursor/fix-boot-metrics-path-6836 branch October 14, 2026 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-automerge Agent-loop finished; merge-guard may squash-merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants