Skip to content

ops(scanner): self-scan runs a stale packaged hypatia — merged rule fixes (e.g. #462) don't reach live scans #484

Closed

Description

@hyperpolymath

Category

The hypatia / Hypatia Neurosymbolic Analysis self-scan job runs a deployed/packaged hypatia artifact that lags main, so rule fixes merged to source don't take effect in live PR scans until that artifact is rebuilt.

Evidence

Action

Identify how the self-scan obtains its hypatia (escript built in CI? a pinned standards reusable? a published package) and ensure merged rule changes propagate — ideally build the scanner from the PR/main checkout so source == live.

Refs

#462 (fix), #441 (timeout hygiene). Related: #470 (code-scanning gating).

Activity

  1. added
    bug
    on Aug 3, 2026
  2. hyperpolymath commented on Aug 14, 2026

    @hyperpolymath
    OwnerAuthor

    This issue has been resolved by commit e9c8888 in standards repo (PR #441, merged 2026-06-27):

    fix(ci): un-stale the Hypatia scanner cache + tolerate header-less verbatim LICENSE (#441)

    The fix source-pinned the Hypatia scanner cache by:

    1. Resolving Hypatia's current main tip with before the cache step
    2. Folding that SHA into the cache key:

    When Hypatia main advances, the key changes, the cache misses, and the clone + escript build re-run. This ensures scanner fixes (like #462's missing_timeout_minutes exemption) propagate to live scans.

    The commit also notes that this was the root cause of scanner fixes (e.g. SD022, hypatia#545) never reaching CI, and explicitly references this class of staleness bugs.

  3. hyperpolymath commented on Aug 14, 2026

    @hyperpolymath
    OwnerAuthor

    This issue has been resolved by commit e9c8888 in standards repo (PR #441, merged 2026-06-27):

    fix(ci): un-stale the Hypatia scanner cache + tolerate header-less verbatim LICENSE (#441)

    The fix source-pinned the Hypatia scanner cache by:

    1. Resolving Hypatia's current main tip with git ls-remote before the cache step
    2. Folding that SHA into the cache key: hypatia-scanner-v3 runners.os sha

    When Hypatia main advances, the key changes, the cache misses, and the clone + escript build re-run. This ensures scanner fixes (like #462 missing_timeout_minutes exemption) propagate to live scans.

    The commit also notes that this was the root cause of scanner fixes never reaching CI.

  4. added
    cicd
    and removed on Aug 26, 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

    bugcicd

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions