Skip to content

fix(ci): oversized-test ratchet trips on bash_tests.rs because the await_holding_lock allow added one line #211

Closed

Description

@KooshaPari

The Enforce oversized-test ratchet CI gate failed on master.

CI failure

  • Job: 122743035384 (master run 40666742839, head 1d8f6b28d, 2026-10-28)
  • Step: Enforce oversized-test ratchet
  • Gate output: oversized test file grew: crates/jcode-app-core/src/tool/bash_tests.rs (1293 -> 1294 LOC)

Root cause
The +1 line came from PR #194 (f2500f36c), which added the file-level
#![allow(clippy::await_holding_lock)] as line 1 of
crates/jcode-app-core/src/tool/bash_tests.rs. That line is required, it is what
makes the workspace clippy gate pass, so it cannot be removed.

Fix
Compress the neighbouring 5-line destructive-command-gate comment to 4 lines.
This is a comment-only change: no code, no cfg, no assertion is touched, and
scripts/test_size_budget.json is not modified. The baseline entry for
crates/jcode-app-core/src/tool/bash_tests.rs stays at 1293 and the file returns
to 1293 LOC, so the ratchet is flat with its existing baseline.

Both gates pass with this change:

  • python3 scripts/check_test_size_budget.py -> exit 0
  • python3 scripts/check_code_size_budget.py -> exit 0

Activity

  1. coderabbitai commented on Oct 29, 2026

    @coderabbitai
    🔗 Related PRs

    #194 - fix(clippy): clear 6 pre-existing lints surfaced by the workspace clippy gate [merged]


    📝 Issue Planner

    Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

    • Create Plan

    🧪 Issue enrichment is currently in open beta.

    You can configure auto-planning by selecting labels in the issue_enrichment configuration.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false

    💬 Have feedback or questions? Drop into our discord!

  2. added
    kilo-triaged
    on Oct 29, 2026
  3. added a commit that references this issue on Oct 29, 2026
    19e24a3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    kilo-triaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions