Skip to content

Add machine-readable CI state classifier for ADK contributor workflows #4604

@davidahmann

Description

@davidahmann

Problem
CI check interpretation is inconsistent and can misclassify non-triggered jobs as pass.

Why now
Multi-repo operations require normalized check-state output for deterministic triage.

Current behavior is insufficient
Contributors rely on manual interpretation of check output, which is error-prone.

Expected behavior
Provide a deterministic classifier utility that emits machine-readable CI state categories.

Acceptance criteria

  • JSON output with normalized state and source evidence.
  • Categories: failed, pending, no checks, policy-blocked.
  • Clear distinction between product regressions and policy/account gates.

Validation

  • Add tests for each classification path.
  • Validate deterministic output shape.

Codepaths

  • scripts
  • pyproject.toml
  • tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    core[Component] This issue is related to the core interface and implementation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions