Skip to content

Golden bless/check: detect a regex timeout pushing a file into the excluded queue under load, and refuse #4247

Closed

Description

@squid-protocol

Problem

Under heavy machine load a per-file regex timeout moves a file from the parsed set to 5. Unparsable Artifacts (Excluded Artifacts Queue). Blessing in that state records the file as excluded and thousands of its rows as phantom diffs; a check run reports the same. Nothing in tests/golden_store.py, tests/golden_diff.py or scripts/update_golden_masters.sh compares the excluded queue against the previous master or looks at the exclusion reason.

Evidence

Observed blessing PR #4227 at load average 42 (thousands of phantom diffs). On origin/main none of the golden tooling references a timeout/excluded-queue guard (grep).

Acceptance criteria

  • Bless and check read the excluded queue, and fail (exit non-zero) when a file newly excluded for a timeout-class reason is present, naming the files
  • Bless refuses to write in that case unless forced explicitly
  • Test with a synthetic audit holding a timeout-excluded file

Out of scope

Raising or removing the regex timeout; load throttling.

Found during: PR #4227

🤖 Generated with Claude Code

Activity

  1. added
    bug
    data-integrity
    testing
    on Oct 3, 2026
  2. added
    scope:infra
    on Oct 16, 2026
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

    bugdata-integritypriority: mediumscope:infratesting

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions