Skip to content

fix(lint): main CI no longer fails on unreasoned effects - #65

Merged
ScriptedAlchemy merged 1 commit into
mainfrom
fix/main-state-sync-lint
Nov 5, 2026
Merged

ScriptedAlchemy merged 1 commit into
mainfrom
fix/main-state-sync-lint

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

Fork CI has failed on main since at least 69b9b7bd. Validate full repository stops on 8 t3code/no-unreasoned-state-sync lint errors, which also fails Fork Check. PR runs only validate changed files, so they don't catch this.

Each effect now has a suppression naming what it syncs with. There is no runtime change: seven are ResizeObserver subscriptions, a non-passive wheel listener, imperative scroll, and clearing a keep-alive atom on unmount.

The eighth is worth a look: the mobile ProjectKnowledgeFactEditor effect reports dirty to its parent, which the rule usually says to do in handlers instead. I kept it because it holds the parent's leave guard, which must start true for pre-filled drafts and be released on every unmount, so handlers alone can't replace it.

Verification: I ran every command in that CI step locally: vp check (0 errors, 4 existing warnings), knip:check, both generate --check commands, and the recursive typecheck. All pass. This PR's own CI runs only the changed-file check, so the first full run of that step in CI will be the push to main after merging.

Opus 5.5 via Claude Code in T3 Code.

🤖 Generated with Claude Code

@changeset-bot

changeset-bot Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: ad7575e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Eight effects had no stated reason, so the full-repository lint on main
failed and took Fork Check with it. Each now names what it syncs with.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ScriptedAlchemy
ScriptedAlchemy force-pushed the fix/main-state-sync-lint branch from 49d7964 to ad7575e Compare November 5, 2026 05:02
@ScriptedAlchemy
ScriptedAlchemy merged commit 804f8a5 into main Nov 5, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant