Skip to content

chore: two stale comments in CI tooling #879

Closed

Description

@EVWorth

Two comments describe things that are no longer true.

  1. scripts/check-documented-commands.sh says the command handler is "declared twice, once per feature configuration". Since ADR-011 removed the AI feature flag, the commands are declared once, in collect_commands! inside specta_builder() in src-tauri/src/lib.rs.
  2. A comment on the cargo-audit job in .github/workflows/ci.yml says "17 transitive advisories remain". That is a hardcoded count, which drifts every time an advisory is fixed or added.

Reproduce

grep -n "twice\|feature configuration" scripts/check-documented-commands.sh
grep -n "advisories remain" .github/workflows/ci.yml

Fix

Change the first comment to say the script reads the single collect_commands! list. For the second, describe the policy, for example "the ignored transitive advisories are listed in .cargo/audit.toml", or wherever they are actually listed, and drop the count.

Activity

  1. added
    documentation
    on Oct 24, 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

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions