Skip to content

Close the gaps a review of the move found - #2

Merged
long1dev merged 1 commit into
mainfrom
fix/review-findings
Nov 1, 2026
Merged

long1dev merged 1 commit into
mainfrom
fix/review-findings

Conversation

@long1dev

@long1dev long1dev commented Nov 1, 2026

Copy link
Copy Markdown
Collaborator

Fixes findings from the review of cb-mobile !2012.

  • (await x).ignoreNoConnection() no longer passes the rule, and the fix offers nothing for a chain starting from an await.
  • The rule message says "through", as it accepts the call anywhere in the chain. A stage after the guard, such as an API call in .asyncMap, is still not caught.
  • docs_check.yaml no longer vouches for names, and an empty section of it is treated as empty.
  • cb_checks gets a public library, for a dependency with a lockfile.
  • CI runs ./check.sh on every push.

./check.sh passes: 56 tests in cb_lints, 43 in cb_checks.

🤖 Generated with Claude Code

https://claude.ai/code/session_01UESkdYVqQ7NhmMmMfG7ov2

(await x).ignoreNoConnection() passed the rule and the fix, though the await
throws offline before there is a stream to guard. Both now treat a chain
starting from an await as unguarded. The rule's message says "through", as it
accepts the call anywhere in the chain.

docs_check.yaml's words vouched for names built on one it lists, and an empty
section of it crashed the check.

cb_checks gets a public library, so that a repo's tool can depend on it with a
lockfile, rather than activating it globally for the whole machine.

Adds CI, as the gate that ran the rules' tests in cb-mobile no longer does.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01UESkdYVqQ7NhmMmMfG7ov2
@long1dev
long1dev merged commit c5816f6 into main Nov 1, 2026
2 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