Skip to content

release v0.0.150 - #1438

Merged
nc9 merged 4 commits into
mainfrom
release/v0.0.150
Oct 31, 2026
Merged

nc9 merged 4 commits into
mainfrom
release/v0.0.150

Conversation

@nc9

@nc9 nc9 commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

Release v0.0.150: hotfix for the inline-loader regression in v0.0.149 (cherry-pick with -x, authorship and sign-offs preserved), then notes and version bump (## v0.0.150 (2026-10-31), apps/cli/package.json and npm/package.json 0.0.149 -> 0.0.150). Rebase-merge, then the original is closed with the new SHAs.

Included PR (approved head sha; refs only, no auto-close)

PR Approved head What
#1436 6a25b8b4 tech-detect: inline loaders under litespeed/rocket-loader types and in large Next.js flight scripts are read again (refs #1435); its own 3 commits

Follow-up (public): #1437.

Notes for review

Only packages/tech-detect changes (source and two new test files). Flight-start detection is a linear scan, with a regression test for nested-quantifier backtracking. No skill change, no workflow change, no rule or check id change, no package.json or bun.lock change besides the version bump.

Local gates

tsgo clean in tech-detect, audit-engine and cli; cli format:check and lint clean; detect-secrets clean; docs make validate; check-released-changelog.sh clean; tech-detect tests by path (script-markup-redos-1435 17, script-url-wrappers-1435 11, script-url-inline-1430 11, bundle-content-1254 54) and audit-engine tech-supabase-real-build 9.

nc9 added 4 commits October 31, 2026 23:07
…and in large Next.js flight scripts are read again #1435

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 3696524)
…tion, flight cut not dropped, runtime fixture hex, flight caveat in docs #1435

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 1c648ec)
…ntifier pattern backtracked); ReDoS tests for every pageMarkup shape #1435

Signed-off-by: Nik Cubrilovic <[email protected]>
(cherry picked from commit 6a25b8b)
@claude

claude Bot commented Oct 31, 2026

Copy link
Copy Markdown

Review of v0.0.150. The hotfix looks correct, and I found nothing that should block the merge. I read the diff only and did not run the tests.

  • (low) packages/tech-detect/src/detect.ts ~L84-90: the new startsAsFlightScript function and its docblock sit between the pageMarkup JSDoc and the code it describes. The original docblock is now detached from pageMarkup, and the first sentence of the startsAsFlightScript docblock reads as if it belongs to the previous comment. Move the helper above that docblock.
  • (low) INLINE_TEXT_BUDGET (8 MB per page) is spent in document order. A page with a few large flight or inline scripts early on can use it all up, and a small loader later in the page (for example a Clarity snippet in the body or footer) is then silently dropped. This is bounded and unlikely, but it is the same kind of loss this hotfix fixes. Consider reserving budget for small scripts, for example by counting only flight text against a separate cap. At minimum, the test 'inline script text is capped per page' should assert that the trailing snippet is not detected, so the behaviour is pinned on purpose. It currently checks only the markup size.
  • (nit) DATA_SCRIPT_TYPE matches json, template and shader anywhere in the type string. That is intentional, as the wrapper-prefix test shows, but a short comment saying so would help the next reader.
  • (nit) slice(0, 256) on the type and tag.slice(0, MAX_TAG_CHARS) are fine as bounds. The 5 MB ReDoS shape tests cover them well.

The version bumps, the CHANGELOG entry and the docs update are consistent with each other. No CLAUDE.md or attribution trailers were introduced.

@nc9
nc9 merged commit 816cf28 into main Oct 31, 2026
16 checks passed
@nc9
nc9 deleted the release/v0.0.150 branch October 31, 2026 12:50
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