Repository navigation
test: refresh shipped suggestions description cost - #4034
Merged
Merged
Conversation
This was referenced Nov 15, 2026
Merged
Merged
Merged
schlessera
marked this pull request as ready for review
November 15, 2026 22:32
9 tasks done
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #3889
What changed
The suggestions experiment now pins the shipped
SHOW_BLOCK_DESCRIPTIONat 426 JSON characters, with a comment explaining which description the pin tracks. The decision record adds a dated measurement after #3525 while preserving the earlier 336-character observations.Why this shape
The experiment's rule arm uses the shipped description. #3525 lengthened that rule by 90 characters; the schema and historical flat-schema experiment did not change. This follows the resolved scope on #3889.
Proof
bun run test ./experiments/measure-suggestions.test.tsfailed in “lists identical schemas and executes the real handlers with only one description line changed”: expected 336, received 426 (9 pass, 1 fail).CI=true bun run test ./experiments/measure-suggestions.test.ts: 10 pass, 0 fail, 85 assertions. The focused file lives in the experiment tier; the complete release experiment suite was not run for this scoped change.bun scripts/measure-show-block.ts --suggestions --schema-cost: description 426, flat 648, shared 648. The separate historical case retains 866 / 709 and passes.bun run check:pr --base origin/main: receipt below.{"version":1,"kind":"brain-check-pr-receipt","head":"a2d2fd815d78cb9fcc0e914fb36701ccef5cad5a","base":"origin/main","mode":"focused","startedAt":"2026-11-15T19:30:44.491Z","finishedAt":"2026-11-15T19:32:15.366Z","checks":[{"name":"all lint and leakage gates","categories":["changeset"],"outcome":"passed","elapsedMs":14264.791732},{"name":"environment documentation","categories":["changeset"],"outcome":"passed","elapsedMs":113.25225900000078},{"name":"pending changeset package names","categories":["changeset"],"outcome":"passed","elapsedMs":99.76927200000137},{"name":"contribution changeset","categories":["changeset"],"outcome":"passed","elapsedMs":15.000260000000708},{"name":"affected fast invariants","categories":["verify","unit"],"outcome":"passed","elapsedMs":76361.184745}]}Checklist
Anything left open
No implementation gaps or follow-up issues. Candidate confirmation and landing belong to the orchestrator.
Collision review
bun scripts/collisions.ts --json --pr 4034at heada2d2fd815d78cb9fcc0e914fb36701ccef5cad5a: 17 closure collisions with #3054, #3056, #3059, #3069, #3116, #3437, #3581, #3622, #3806, #4002, #4008, #4018, #4022, #4024, #4028, #4030, #4032. No path or unknown collision was reported. These overlap shared proof categories; this PR edits only the experiment pin and its measurement note.