Skip to content

main red: LOC Gate failing — board/tests.rs exceeded 1000 LOC after #564 #566

Description

@zackees

Symptom

main is red on the LOC Gate workflow as of commit 2488d60 (merge of #564).

crates/fbuild-config/src/board/tests.rs grew to 1025 LOC, over the 1000-line limit enforced by .github/workflows/loc-gate.yml.

Cause

#564 (#519 deploy-fallback project_dir threading) added two project-local resolution tests to tests.rs, pushing it past the gate. It was merged despite the red gate (velocity-over-green policy).

Fix

Relocate the two project-local tests to tests_project_local.rs (their natural home). tests.rs drops to 976 LOC. PR incoming.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions