Repository navigation
docs(mcp): drop the unenforced MAX_PAGE_ROWS comparison (#1266) - #1277
Conversation
🦋 Changeset detectedLatest commit: e07aa93 The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
[Low impact] This documentation-only change appears safe to merge.
|
Option 1, as chosen on #1266: remove the
nostream_storage::MAX_PAGE_ROWScomparison from theMAX_ROWS_PER_SKIPdoc comment and from ADR 0020's D2, keeping only the measurement that justifies 5,000.Cherry-picked with
-xfrom ItsAbir005#2 (0e0b5eec, author Abir Maity), which implements that answer on the thread. One addition on top:e07aa933re-wraps the D2 Cost paragraph to the file's 100 columns, since the edit had left a 108-character line.Why this option rather than the pinning test:
assert!(MAX_ROWS_PER_SKIP >= nostream_storage::MAX_PAGE_ROWS)would couple the MCP schema to the relay's event-page clamp again, which is exactly what #1265 removed. The comparison was information about the magnitude, not a derivation, so prose was the only place it lived — and prose no assertion reads is a claim that rots silently.No behaviour change: the constant stays 5,000, and the surviving paragraph still carries the 0.941 ms / 7.936 ms measurement and the two-pages-deep rejection of 500. The changeset is empty, as a docs-only change requires.
Closes #1266.