Skip to content

perf(ci): the Static Analysis job runs Bandit once #1746

Description

@dan-petty

Friction

The Static Analysis CI job runs Bandit twice on every push: once in devops ci --skip test,outdated and again in devops scan report.

Remedy

Run Bandit once in the job and give its result to both consumers, or stop the second run where the gate's row already covered it. Bandit's targets and threshold are unchanged.

Acceptance criteria

  • Tests first: a workflow contract shows the Static Analysis job starts Bandit once.
  • The job's time drops by Bandit's run, measured from CI before and after.
  • uv run devops ci passes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope/cisource/agenttype/bug

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions