Skip to content

Mobile size check: remove the one-time compose_bar ceiling now that #155 is on main - #173

Merged
QuicksilverSlick merged 1 commit into
mainfrom
chore/remove-compose-bar-ceiling
Nov 18, 2026
Merged

QuicksilverSlick merged 1 commit into
mainfrom
chore/remove-compose-bar-ceiling

Conversation

@QuicksilverSlick

Copy link
Copy Markdown
Owner

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_bar folder (21bbc1c). Our CI compared Block's whole catch-up against a far-behind fork main, so it read Block's inherited over-limit compose_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.mjs and its pinned entry in scripts/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 to compose_bar_widget.dart it fails: "1202 -> 1203 (+1) lines (allowed 1202)". So the gate still guards that file without the ceiling. The probe was not committed.

Not covered

  • The next Block catch-up may hit the same gate on another inherited file. That is for the Upstream Sync agent's PR to handle when it happens.

No launch check needed: scripts only.

🤖 Generated with Claude Code

#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>
@QuicksilverSlick QuicksilverSlick added the lane:ready Builder is done: green, agent-reviewed, exercised. The steward puts it in the next train. label Nov 18, 2026
@QuicksilverSlick
QuicksilverSlick merged commit 1069aae into main Nov 18, 2026
34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lane:ready Builder is done: green, agent-reviewed, exercised. The steward puts it in the next train.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant