Repository navigation
Mobile size check: remove the one-time compose_bar ceiling now that #155 is on main - #173
Merged
Merged
Conversation
#155 (the Block catch-up) needed a one-time ceiling of 1202 lines for lib/features/channels/compose_bar, because CI compared Block's whole catch-up against a far-behind fork main. #155 is on main now (train #172), so the base holds the over-limit file and the normal hold-or-shrink rule covers it. This reverts 21bbc1c. Claude-Account: russelledeming@gmail.com Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Factory-Task: catchup-size-ratchet-followup
Built-by: claude-code/claude-opus-5-5
Claude-Account: russelledeming@gmail.com
Undo: revert this PR, which restores the 1202-line ceiling for
lib/features/channels/compose_bar.Why
#155 (the Block catch-up) needed a one-time size ceiling of 1202 lines for the mobile
compose_barfolder (21bbc1c). Our CI compared Block's whole catch-up against a far-behind fork main, so it read Block's inherited over-limitcompose_bar_widget.dart(wc 1201, counted 1202) as growth. The ceiling's own comment says to remove it once #155 is on main. #155 merged in train #172 on 18 Nov.What changes
This reverts 21bbc1c: the folder rule in
mobile/scripts/file-size-policy.mjsand its pinned entry inscripts/check-file-sizes-core.test.mjs. The file is now over the limit on main itself, so the normal rule applies: an over-limit file may hold or shrink, never grow.Checked
node --test scripts/check-file-sizes-core.test.mjs: 10 pass.CHECK_FILE_SIZES_BASE=origin/main node scripts/check-file-sizes.mjs(mobile) passes as is. With one probe line appended tocompose_bar_widget.dartit fails: "1202 -> 1203 (+1) lines (allowed 1202)". So the gate still guards that file without the ceiling. The probe was not committed.Not covered
No launch check needed: scripts only.
🤖 Generated with Claude Code