Repository navigation
Description
Why
#520 shipped @tiptap/y-tiptap 3.0.10 with a local patch (patches/@tiptap%[email protected], wired in the root package.json patchedDependencies). The plan was to drop the patch at the first release after 3.0.12 that carries ueberdosis/tiptap#8580.
Every 3.0.10 tab that edits a pad keeps adding position-migration entries, and nothing on the client deletes them. #738 clears them on the server. Correction, 2026-11-13: y-tiptap 3.3.0 also clears every __tiptap_position_migrations:* map when a writer opens the pad, and after any transaction that touches one (dist index.js:1419-1432 and 1500-1502). So this bump shrinks heads too, and the #738 scope shrinks with it.
Retargeted 2026-11-11: y-tiptap 3.3.0 with every Tiptap package at 3.33.1, per the update comment of 2026-11-11 12:45Z. Moved from v2.4.0 into v2.3.6 on the same day.
Benchmark
| Field | Value |
|---|---|
| Metric | Heads with a live position-migration entry (count) and their bytes. Awareness frames for 20 remote edits with no caret move (count). The #520 measures on two clients, 60 and 500 links: keystroke, 1-block insert, Enter, 10-block paste. Remote cursor redraw time per peer count (ms). Production heads that fail the 3.33.1 content check (count, step 3b). |
| Before | Heads with an entry, read-only, newest row of each document (update comment): 36 heads, 24,776,163 B on 2026-11-08; 51 heads, 27,410,895 B in the #738 read on 2026-11-11; 51 heads, 28,409,530 B at 12:15Z on 2026-11-11. Cursor redraw, local lab, Bun 1.4.4 (JSC), synthetic pads, median of 7 (Measured comment): 14.6 ms at 8 peers and 65.8 ms at 30 peers on the typed 12 MB pad (30,718 blocks). Awareness frame count: not measured yet: agent in the repo, before the bump. The #520 measures on 3.0.10 come from the #520 Measured comment of 2026-11-04. It ran headless Chromium 156.0.8078.4, Playwright 1.64.1 and patched 3.0.10, with 60 and 500 links. <a> lost on A: keystroke 0, 1-block insert 0, Enter 1 (the link in the split block), 10-block paste 0. Iframes lost or reloaded: 0 for all four. Invalid-head count: not measured yet: maintainer, before the deploy. |
| After | not measured yet |
| Condition | Heads: production, deployed SHA, collab database in London on PostgreSQL 18.6, aggregate SQL only. Each read states whether the #738 backfill has run. Awareness and #520 measures: local two-tab pad on make dev-local, named laptop and browser, both SHAs recorded. Cursor redraw: the same bench as the 2026-11-11 comment. |
| How to run | Heads: the #750 head-size SQL (marker \x09transfers), at 1, 3 and 7 days after this deploy. Awareness: count frames on a local two-tab pad for 20 remote edits with no caret move, before and after the bump. #520 measures: the #520 script. Cursor redraw: the 2026-11-11 bench, on 3.3.0. |
| Pass rule | Before the #738 backfill, heads with an entry do not grow for 3 days after this deploy. The 5-head bar at day 7 belongs to #738. The #520 measures are equal to or better than the #520 numbers. onContentError fires on invalid content, and the element stays in the next stored head. The step 3b count is 0 before the deploy. Stop rule: if the 3.33.1 bump breaks a check, take the fallback below, and say why here first. |
| Guard | Links and iframes below a change stay connected, as in the 2026-11-04 #520 comment. collab-heading-sync.cy.js passes. The awareness frame count does not rise. |
| Owner | Agent in the repo: the bump, the probes and the local measures. Maintainer: the (build): front deploy and the head reads. |
| Claim | "New pads no longer gain position-migration maps: heads with an entry grew by 15 in 3 days, and by <g> in the 3 days after this deploy (production)." Before: 36 -> 51, 2026-11-08 to 2026-11-11. The after is read before the #738 backfill. |
Upstream state
Read 2026-11-06:
- tiptap#8580 merged on 2026-11-02, after 3.0.12 (2026-10-30). So 3.0.12 does not carry it.
- 3.1.0 and 3.2.0 shipped on 2026-11-05.
latestwas 3.2.0 on that day. - Upstream #8694 removed position migrations, so
mapPositionMigration, the code our patch edits, is gone in 3.1.0 and later. - Typing into an empty heading does nothing when Collaboration and TableOfContents are both enabled ueberdosis/tiptap#8584 is open (not ours). Re-test it before we drop the patch.
Read 2026-11-11:
@tiptap/y-tiptap3.3.0 was published on 2026-11-10 at 14:01Z, and it islatest.- Every
@tiptap/*package in the rootpackage.jsonhas a 3.33.1 release.@tiptap/extension-collaboration3.33.1 peers@tiptap/core3.33.1,@tiptap/pm3.33.1 and@tiptap/y-tiptap^3.0.7. - The 3.3.0 dist keeps the fix: 0 hits for
writePositionMigration, 5 forclearPositionMigrationsand 6 foronInvalidContent. - 3.3.0 adds one change over 3.2.0 (Release new stable release ueberdosis/tiptap#8734).
yCursorPluginpublishes a newlastSelectionawareness field with each selection, and it stays after blur. - From 3.2.0, y-tiptap deletes shared content that does not fit the schema, unless
onInvalidContentis passed. Collaboration 3.33.0 and later pass it whenenableContentCheckis on, which we set atapps/webapp/src/components/TipTap/TipTap.tsx:305. So all@tiptappackages move to 3.33.1 in the same change, asAGENTS.mdrequires. - With content check on, invalid content freezes the editor:
onContentErrordisables collaboration and callssetEditable(false)(TipTap.tsx:306-313). So one stored head with a node outside the 3.33.1 schema would freeze every editor on that pad. Step 3b counts those heads first.
What to do
- Agent in the repo. Set
"@tiptap/y-tiptap": "^3.3.0"(package.json:177). Set every@tiptap/*catalog line and the three overrides (package.json:35-37) to 3.33.1. Delete the patch line (:197) andpatches/@tiptap%[email protected]. Add no override. Rewrite the two Tiptap lines inAGENTS.md(the 3.32.2 catalog line, and "Take y-tiptap 3.3.0 with Tiptap 3.33.1 and drop the local y-tiptap patch #701 moves to 3.2.0") for 3.3.0 and 3.33.1, through the tech-writer skill. In the same commit, updateapps/webapp/src/components/TipTap/CLAUDE.md:78(it names 3.0.10), and addpatches/to theAGENTS.mdcold-install rsync recipe. The bump commit also addscaptureMessageOnce('onContentError', ...)inonContentError(apps/webapp/src/components/TipTap/TipTap.tsx:310). Without it, the 24 h GlitchTip stop rule cannot fire. Note for release-extensions: the extensions peer@tiptap/coreand@tiptap/pmascatalog:, so the next extension release raises its Tiptap peer floor to 3.33.1. - Agent in the repo. Re-run the lockfile probe for this target: one resolved
@tiptap/y-tiptapentry, andbun install --frozen-lockfilepasses on a cold copy. - Agent in the repo. Invalid-content check: write a Yjs element with node name
unknownNodeinto a local scratch pad. Then open it as a 3.33.1 writer. Pass:onContentErrorfires, the editor freezes, and the element is still in the next stored head.
3b. Production invalid-head count (agent in the repo writes, maintainer runs, read-only). Decode every head with the 3.33.1 schema in a one-off script. Post only the count of heads that fail the content check. A count above 0 blocks the deploy until those heads are fixed. - Agent in the repo. Awareness check, for
lastSelection:hooks/guardProviderAwareness.tsskips an equalcursorwrite only. On a local two-tab pad, count awareness frames for 20 remote edits with no caret move. Record the count before and after the bump. IflastSelectionre-sends an unchanged value after each remote edit, extend the guard to skip it in the same change. - Agent in the repo. Re-run the Take y-tiptap 3.0.10 so a remote change stops rebuilding the paragraphs below it #520 measures on two clients, 60 and 500 links: keystroke, 1-block insert, Enter, 10-block paste. Links and iframes below the change must stay connected, as in the 2026-11-04 Take y-tiptap 3.0.10 so a remote change stops rebuilding the paragraphs below it #520 comment.
- Agent in the repo. Re-test the tiptap#8584 case.
- Agent in the repo. Redo caret shift (Take y-tiptap 3.0.10 so a remote change stops rebuilding the paragraphs below it #520 decision 3, ruled yes on 2026-11-06): after a y-redo, the caret lands past the redone text by its size (+14, +14, +12). Run the same script on 3.0.9 and on the new version. If the shift also shows there, file it upstream with the script.
- Agent in the repo. Re-run the remote cursor bench of 2026-11-11 on 3.3.0. Done 2026-11-16: it still walks every block. An upstream post is not part of this issue.
- Maintainer. Ship it as its own
(build): frontdeploy. Order: Cap store jobs at 1 per worker replica and raise the worker limit to 2 GiB #737, then this issue, then Clear y-tiptap position-migration maps on the server, so big pads load faster #738 and its backfill. Amended 2026-11-11, milestone review: the 12:45Z comment put Clear y-tiptap position-migration maps on the server, so big pads load faster #738 first. Clear y-tiptap position-migration maps on the server, so big pads load faster #738 can pass only when clients stop writing maps, so this issue ships before or with Clear y-tiptap position-migration maps on the server, so big pads load faster #738. - Maintainer. Read the heads with an entry at 1, 3 and 7 days after this deploy. The day 1 and day 3 reads come before the Clear y-tiptap position-migration maps on the server, so big pads load faster #738 backfill. If the backfill has run by day 7, that read is context for Clear y-tiptap position-migration maps on the server, so big pads load faster #738.
Fallback: if the 3.33.1 bump breaks a check, take y-tiptap 3.2.0 alone, with the ySyncOptions.onInvalidContent shim. Say why here before taking it.
Run every content check on a local scratch pad that the builder creates and deletes after. Never type into /demo.
Content-safety checks
Run checks 1-5 and 8 locally on a scratch pad that the builder creates and deletes after. Never type into /demo.
- Reload. Type, wait for "synced", reload. The text is there.
- Two browsers. Edit one pad in two browsers. Both end with the same text.
- Offline, then online. Type offline, go online. The server receives the text.
- Fast tab close. Close the tab 50 ms after typing, then reopen. The text is there.
- Replica restart while typing. No text is lost or doubled.
- Production, 7 days after the deploy. Failed store jobs,
document_persist_fallback_totaland the store dead-letter queue stay at 0. - Production, first 24 h. GlitchTip shows 0
onContentErrorevents. - Mixed versions. A 3.0.10 tab and a 3.33.1 tab co-edit one scratch pad for 5 minutes. Both end with equal text. Every deploy has both versions on one pad for a while.
Rollback
Revert the bump commit and push a (build): front tip. No stored data changes. Stop rule for the first 24 h: if GlitchTip shows any onContentError event, revert.
Done when
-
@tiptap/y-tiptapis on 3.3.0, every@tiptap/*package is on 3.33.1, and the local patch is gone. - Met on the held bump, in the Measured comment and the browser-checks comment of 2026-11-16: the lockfile probe, the invalid-content check, the awareness count, the Take y-tiptap 3.0.10 so a remote change stops rebuilding the paragraphs below it #520 numbers,
collab-heading-sync.cy.js,paste-title.cy.ts, content-safety checks 1-5 and 8, tiptap#8584, the redo caret and the cursor bench. - The step 3b invalid-head count is 0, posted before the deploy.
- The bump ships as its own
(build): frontdeploy. - Content-safety check 7 (GlitchTip, first 24 h) and check 6 (store failures, 7 days) pass.
- The head reads at 1, 3 and 7 days are in a
Measuredcomment.
Follow-up of #520 (closed 2026-11-06).
Activity
docs(agents): record the y-tiptap and Hocuspocus upgrade paths
HMarzban commentedon Nov 11, 2026
Measured, 2026-11-11 (local lab): remote cursor cost grows with block count
createDecorationsresolves each peer's anchor and head by walking the top-level blocks from the start, on every remote change and awareness change. Time per redraw, median of 7, Bun 1.4.4 (JSC), synthetic pads:Next step inside this issue: re-run the same bench on y-tiptap 3.2.0. If it still walks every block, send the fix upstream (compute top-level offsets once per redraw, or coalesce redraws to one per frame) rather than growing the local patch.
HMarzban commentedon Nov 11, 2026
Update, 2026-11-11: target y-tiptap 3.3.0 with Tiptap 3.33.1, and move this issue into v2.3.6
The maps still grow
Heads that hold a live position-migration entry, read-only, newest row of each document:
Every 3.0.10 tab that edits a pad keeps adding entries, and nothing on the client deletes them. #738 clears them on the server. Only this issue stops new writes.
Target: y-tiptap 3.3.0 with every Tiptap package at 3.33.1
Registry, read 2026-11-11:
@tiptap/y-tiptap3.3.0 was published on 2026-11-10 at 14:01Z, and it islatest. 3.2.0 was published on 2026-11-05.@tiptap/*package in the rootpackage.jsonhas a 3.33.1 release, published 2026-11-10 at 13:58Z.@tiptap/extension-collaboration3.33.1 peers@tiptap/core3.33.1,@tiptap/pm3.33.1 and@tiptap/y-tiptap^3.0.7.writePositionMigration, 5 forclearPositionMigrationsand 6 foronInvalidContent.yCursorPluginpublishes a newlastSelectionawareness field with each selection, and it stays after blur.Why 3.33.1 in the same change, not y-tiptap alone:
onInvalidContentis passed. Tiptap 3.32.2's collaboration extension never passes it.onInvalidContentwhenenableContentCheckis on (3.33.1 dist,index.js:174). We set it atapps/webapp/src/components/TipTap/TipTap.tsx:305.onContentErrorfreeze runs (:306-313). The PG-1 shim throughySyncOptionsis no longer needed.AGENTS.md:422: keep all@tiptapversions aligned, and bump them in one change. The catalog and the overrides (package.json:35-37) move from 3.32.2 to 3.33.1 together.Changes to the plan
"@tiptap/y-tiptap": "^3.3.0"(package.json:177). Set every@tiptap/*catalog line and the three overrides to 3.33.1. Delete the patch line (:197) andpatches/@tiptap%[email protected]. Add no override.@tiptap/y-tiptapentry, andbun install --frozen-lockfilepasses on a cold copy.unknownNodeinto a local pad, then open it as a 3.33.1 writer. Pass:onContentErrorfires, the editor freezes, and the element is still in the next stored head.lastSelection:hooks/guardProviderAwareness.tsskips an equalcursorwrite only. On a local two-tab pad, count awareness frames for 20 remote edits with no caret move. Record the count before and after the bump. IflastSelectionre-sends an unchanged value after each remote edit, extend the guard to skip it in the same change.(build): frontdeploy.If the 3.33.1 bump breaks a check, the fallback is y-tiptap 3.2.0 alone, with the
ySyncOptions.onInvalidContentshim. Say why here before taking it.Ruling needed
Move this issue from v2.4.0 into v2.3.6? Recommended: yes, right after #738. The maps grew by 15 heads in 3 days and by about 1 MB within hours today. #738 removes stored entries, but every 3.0.10 tab writes new ones until this ships.
[-]Take y-tiptap 3.2.0 and drop the local y-tiptap patch[/-][+]Take y-tiptap 3.3.0 with Tiptap 3.33.1 and drop the local y-tiptap patch[/+]HMarzban commentedon Nov 11, 2026
Moved into v2.3.6, 2026-11-11
This answers the "Ruling needed" in the update comment of 2026-11-11 12:45Z. The maintainer approved the move on 2026-11-11, in the v2.3.6 milestone review.
@tiptap/y-tiptap3.3.0, with every@tiptap/*package at 3.33.1. The body and the title now say so.(build): frontdeploy, then Clear y-tiptap position-migration maps on the server, so big pads load faster #738 and its backfill. This changes the order in the 12:45Z comment, which put Clear y-tiptap position-migration maps on the server, so big pads load faster #738 first. Clear y-tiptap position-migration maps on the server, so big pads load faster #738 can pass only when clients stop writing maps.HMarzban commentedon Nov 13, 2026
Maintainer ruling, 2026-11-13: moved to v2.3.7. It ships as its own
(build): frontearly in v2.3.7, after #737.Reasons: the 3-day release hold blocks the resolve until about 2026-11-13 14:04Z. The step 3b invalid-head count does not exist yet. The day 1, 3 and 7 head reads all fall after the cut. A body line about 3.3.0 was wrong, and it is corrected above.
HMarzban commentedon Nov 16, 2026
Carried here from #771 (maintainer ruling, 2026-11-16): before this upgrade deploys, run
extensions/extension-hyperlink/src/interactions/autolinkCollab.test.tsand the benchcollabcase (scripts/bench/behaviour.ts) on the new y-tiptap. A rename of they-syncmeta key would break the #771 remote-skip, and these two checks catch it.HMarzban commentedon Nov 16, 2026
Measured, 2026-11-16
The bump is built and measured locally, and held, not committed: the production step 3b invalid-head count and the browser content-safety checks (
make dev-local) must pass first, because y-tiptap 3.2.0 and later delete content that does not fit the schema unless the content check holds. The patch is kept locally. Laptop: Bun 1.4.4, darwin arm64. The probes ran headless in jsdom 26.1.0, not in a browser. Before: sha288d4d260, y-tiptap 3.0.10 patched, Tiptap 3.32.2. After: the same tree with the bump.Versions and lockfile probe
@tiptap/*lock entries are 3.33.1.@tiptap/y-tiptaphas one entry, 3.3.0. Its integritysha512-TLblfhvX...matches the registry.patchedDependenciesline are gone. The lock diff touches only@tiptaplines (79 insertions, 80 deletions).--minimum-release-age=345600to stay on 3.33.1, as this issue says.AGENTS.md:bun install --frozen-lockfile --ignore-scripts --cache-dirinstalled 1,707 packages in 50.48 s, exit 0.Tests, before -> after
bun testautolinkCollab.test.ts(#771)collabcase (#771)bun run typecheckpasses after the bump. 3.3.0 still names its keyy-sync, so the #771 remote-skip keeps working.Headless probes (two editors on relayed Y.Docs)
unknownNode:onContentErrorcallsunknownNodein the next head<a>lost on A, 60 links: keystroke, insert, Enter, paste<a>lost on A, 500 links<a>. Unpatched 3.0.10 fails the #8584 probe, and 3.0.9 shows the Take y-tiptap 3.0.10 so a remote change stops rebuilding the paragraphs below it #520 loss.make dev-local.lastSelectionthroughsetLocalState, so the cursor skip inguardProviderAwareness.tsno longer sees cursor writes. y-tiptap 3.3.0 skips an unchanged selection itself. I did not change the guard.Mixed versions, headless (check 8 stand-in)
Remote cursor bench (step 8)
This is the 2026-11-11
bench-cpu.ts(sha256115f93b3...). The fixtures were rebuilt today from tracked markdown, so these pads differ from the ones measured on 11-11. Each cell is a median of 7. Before is 1 clean run. After is 3 runs.typed_1mtyped_4mmaps_12mtyped_12mgetParentOffset, distindex.js:136-151). Block count still drives the cost.maps_12mat 30 peers: 6.3 ms (1 run) before, 4.6 ms (median of 3) after. The two sides have different n, so no percent; a hint only.Left
make dev-local. Owner: an agent with a dev stack.collab-heading-sync.cy.jsandpaste-title.cy.tsonmake dev-local. Owner: an agent with a dev stack.(build): fronttip. Owner: maintainer.onContentErrorfor the first 24 h, and store failures for 7 days. Owner: maintainer.apps/webapp/src/components/TipTap/CLAUDE.md:78still names 3.0.10. Owner: agent, as a doc follow-up.patches/to the AGENTS.md cold-install rsync recipe.apps/webapp/src/components/TipTap/CLAUDE.md:78names y-tiptap 3.0.10; update it with the bump.guardProviderAwarenessequal-cursor skip never runs (y-tiptap writes throughsetLocalState). Frame counts did not rise, so no change is needed. Keep or remove that skip?HMarzban commentedon Nov 16, 2026
Measured, 2026-11-16: browser checks on the held bump
Browser checks on local
make dev-localprocesses. Laptop: darwin 27.0.0 arm64, Bun 1.4.4. Browsers: Playwright 1.64.1, Chromium 156.0.8078.4 (headless) and Cypress 16.2.1 with Chrome 157 (headless). New:dcd69569bplus the held bump (y-tiptap 3.3.0, Tiptap 3.33.1). Old:origin/mainc03126ed6(y-tiptap 3.0.10 patched, Tiptap 3.32.2). Both webapps used one REST and one WS server. Scratch pads were deleted after.Content-safety checks
Checks 6 and 7 are production reads and were not run.
#520 measures, awareness, redo (Chromium, two clients)
collab-heading-sync.cy.js: 2 of 2 pass.paste-title.cy.ts: 3 of 3 pass.Found on both versions (not from the bump)
isDraft: trueandneedsInitialization: trueagain, sostore()skipped the saves. A blur and refocus cleared it, and the save landed. To be filed as a separate issue.Left
HMarzban commentedon Nov 16, 2026
The two faults found in the browser checks, which also happen on 3.0.10, are now filed: #799 (a collaboration server restart in a new pad's first save window stops saves until the editor refocuses) and #800 (one extra character when two people press Enter and type at the document end). Neither blocks this bump.
docs(changelog): record the v2.3.7 work of 2026-11-16
HMarzban commentedon Nov 16, 2026
Review, 2026-11-16 (maintainer approved).
captureMessageOnce('onContentError', ...)inonContentError(apps/webapp/src/components/TipTap/TipTap.tsx:310). Today it only callsconsole.error, so the 24 h GlitchTip stop rule could never fire.apps/webapp/src/components/TipTap/CLAUDE.md:78andpatches/in theAGENTS.mdrsync recipe.HMarzban commentedon Nov 17, 2026
Content-safety checklist. The shared checklist lives in release-product §Content-safety checklist. Run it for this issue, plus the extra checks in this body. Record each item as pass or fail in the Measured comment, as §Measured comment format says. The list in this body stays as it is (#762, ruling A).
HMarzban commentedon Nov 24, 2026
Maintainer ruling, 2026-11-24
Keep #701 in
v2.3.7only if Step 3b reads0invalid heads and the rebuilt bump deploys by2026-11-25(Day 7 read on2026-12-02). Otherwise move #701 tov2.3.8.Next step: run the local Step 3b decode script read-only against production today.
HMarzban commentedon Nov 24, 2026
Update, 2026-11-24: local Step 3b read-only script ready
Prepared and verified the local read-only decode helper
Notes/release-2.3.7/bench/701-step3b-check.ts:{ id, state_base64 }), decodesY.Docviayjs, skips empty docs, and checks whether allitemstructs sit in the legacy>= 1e9synthetic ID band or mix real client IDs (0invalid heads required to keep#701inv2.3.7).--self-test({ total: 4, empty: 1, valid: 1, invalid: 2 }),--print-sql, and--stdin— all exit0.Next step: Maintainer runs read-only
psqlStep 3b against production into701-step3b-check.ts --stdinand decides before the2026-11-25cutoff whether#701stays inv2.3.7or moves tov2.3.8.HMarzban commentedon Nov 24, 2026
Maintainer ruling, 2026-11-24: moved to v2.3.8.
The 2026-11-24 gate cannot pass before the v2.3.7 cut:
git applyon 3 of 5 files (AGENTS.md,bun.lock,package.json) and must be rebuilt with--minimum-release-age(Tiptap 3.34.x is out).node_modules.#738 (v2.3.8) already depends on this issue.
HMarzban commentedon Nov 24, 2026
Rebuilt on
main(v2.3.8, ready for Step 3b)Rebuilt
#701cleanly against currentmain(uncommitted pending approval; refreshed patch also saved toNotes/release-2.3.7/held/701-ytiptap.patch):@tiptap/*packages to3.33.1and@tiptap/y-tiptapto^3.3.0(bun install --minimum-release-age=1036800, strictly@tiptap/*-onlybun.lockdiff), and droppedpatches/@tiptap%[email protected]+ itspackage.jsonpatchedDependenciesentry.captureMessageOnce('onContentError', ...)inapps/webapp/src/components/TipTap/TipTap.tsxand syncedAGENTS.md+apps/webapp/src/components/TipTap/CLAUDE.md.Notes/release-2.3.7/bench/701-step3b-check.tsto validate withyXmlFragmentToProsemirror(schema, fragment)+pmDoc.check()(needed because@tiptap/y-tiptap3.3.0'syXmlFragmentToProseMirrorRootNodesilently filters unknown nodes);--self-testpasses ({ total: 4, empty: 1, valid: 1, invalid: 2 }).1,733packages installed),extension-hyperlink(530unit +16autolinkCollabpass),webappJest (82suites /649tests pass),hocuspocus.server(1,400pass),typecheck,lint,lint:styles,format, andcheck:agent-docs.Next step: Run the production Step 3b read-only query into
bun Notes/release-2.3.7/bench/701-step3b-check.ts --stdin(0invalid heads required) before committing/deploying inv2.3.8.