Skip to content

fix(hub-client): unbreak main — escape lone tilde in changelog (bd-q5o7ekzn)#381

Merged
cscheid merged 2 commits into
mainfrom
bugfix/bd-q5o7ekzn-changelog-subscript
Jul 7, 2026
Merged

fix(hub-client): unbreak main — escape lone tilde in changelog (bd-q5o7ekzn)#381
cscheid merged 2 commits into
mainfrom
bugfix/bd-q5o7ekzn-changelog-subscript

Conversation

@cscheid

@cscheid cscheid commented Jul 7, 2026

Copy link
Copy Markdown
Member

What & why

main's TS Test Suite is red. The changelog entry added in 6cd4dd5a
wrote (now ~37MB). The lone ~ is parsed by qmd as an opening subscript
with no close → [Q-2-17] Unclosed Subscript. changelogRender.wasm.test.ts
renders hub-client/changelog.md through the WASM parser and asserts
success, so it fails on both ubuntu and macOS.

This PR reworts the tilde (~37MBabout 37 MB) — avoids the subscript
delimiter entirely, which reads better in the rendered About tab than a
\~ escape.

Context (two-failure sequence)

  1. PWA precache ceiling (from Printing/PDF export from the quarto-hub preview (issue #315) #379): the WASM grew past the 35MB
    maximumFileSizeToCacheInBytes limit, and vite-plugin-pwa throws the
    oversize warning as fatal. Fixed on main in 6cfc098f (ceiling → 64MB);
    the "Build WASM module" step is green again.
  2. This PR fixes the changelog unclosed-subscript that surfaced after
    the build started passing (and was self-inflicted by the changelog entry
    accompanying fix Fix yaml-tags non-deterministic write #1).

Verification

  • Reproduced locally: cd hub-client && npm run test:wasmchangelog.md renders successfully FAILED with [Q-2-17] Unclosed Subscript.
  • After the fix: full cargo xtask verify → exit 0, "All verification
    steps passed!"
    ; 129/129 hub-client WASM tests pass.

Notes

  • Includes a plan doc (claude-notes/plans/2026-07-07-broken-main-ci-changelog-subscript.md)
    recording the root-cause analysis and a process follow-up: both
    breakages were locally catchable via cargo xtask verify, which was
    skipped before pushing. Strand: bd-q5o7ekzn.
  • The 64MB PWA ceiling (fix Fix yaml-tags non-deterministic write #1) is not reverted here — it is correct and
    already on main.

🤖 Generated with Claude Code

cscheid and others added 2 commits July 7, 2026 13:36
…r test

The changelog entry added in 6cd4dd5 wrote "(now ~37MB)". The lone `~`
is parsed by qmd as an opening subscript with no close, producing
[Q-2-17] Unclosed Subscript. changelogRender.wasm.test.ts renders
changelog.md through the WASM parser and asserts success, so this failed
the TS Test Suite on both ubuntu and macOS.

Reword to "(now about 37 MB)" — avoids the subscript delimiter entirely
(clearer for the rendered About tab than a backslash escape).

Verified via full `cargo xtask verify` (fresh WASM rebuild): all 129
hub-client WASM tests pass, including changelog.md renders successfully.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…kzn)

Root-cause writeup for the two sequential TS Test Suite failures on main
(PWA precache ceiling, then a self-inflicted changelog unclosed-subscript)
and the push-without-local-verify process gap that let both reach main.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@posit-snyk-bot

posit-snyk-bot commented Jul 7, 2026

Copy link
Copy Markdown

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@cscheid cscheid merged commit 658026d into main Jul 7, 2026
8 checks passed
@cscheid cscheid deleted the bugfix/bd-q5o7ekzn-changelog-subscript branch July 7, 2026 18:59
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.

2 participants