Skip to content

WORKFLOW.md Says Operational Repos Run No Unit Tests, Which a Declared Python Directory Makes False #3896

Description

@ptr727

WORKFLOW.md describes an operational repository's CI as lint only, with no unit tests. That stops being true once such a repository declares a Python directory for the hub validator.

Where

  • Section 1, the branching diagram: develop -->|merge commit, enforced lint CI| main.
  • Section 1, the operational note: "Their CI is lint/validation only ... but no unit tests". From that it concludes the build and test D-guarantees are N/A, as for source-only.
  • Section 6, the Operational walkthrough row, which repeats the same premise.

What breaks

An operational repository can carry a small lint-only Python tree, such as a helper script with a unittest suite. It declares that tree in the validate call's python-directories input. The hub validator then runs ruff, the type checker, and the tests under coverage, and D1.6 applies.

A reader following the text as written treats D1.6 as N/A, so they leave out codecov.yml. They also describe the required check as a lint check.

Suggested direction

State the premise per declared type rather than per workflow model. An operational repository has no build or test pipeline unless it declares a csharp or python tree. Where it declares one, that type's D-guarantees, D1.6 included, apply as for any other repository. The diagram label could read "enforced validation CI".

Found by a local review pass in a downstream operational repository that added such a script.

Activity

  1. added a commit that references this issue on Nov 11, 2026
  2. ptr727 commented on Nov 22, 2026

    @ptr727
    OwnerAuthor

    Released (2026-11-22): the branch merged as #4354 and was cleaned up, so this claim holds no files.

    Backlog burndown claim (round 4, group 8, 2026-11-22): branch burndown/r4-workflow-contract-gate, issues #2822, #3896.

    Predicted files: .github/actions/repo-gate/repo_gate.py, tests/test_repo_gate.py, WORKFLOW.md. docs/reusable-workflows.md is held by group 6 and is not claimed here.

    Grown set granted (2026-11-22): .agents/skills/workflow-ci-contract/references/architecture.md and its generated copies (regeneration only), .github/workflows/validate-task.yml (the repo-gate-exclude-globs description only), .github/actions/repo-gate/action.yml (description only). scripts/README.md (one workflow-inputs bullet) is granted once group 6 merges.

    Grown set granted (2026-11-22, second): .github/workflows/validate-task.yml (the lint job's Setup uv step condition too), spec/project-types.json (the branch.operational.lintci assertion). .agents/skills/branching-and-release-model/SKILL.md (one sentence) is granted once group 6 merges, with scripts/README.md.

    Granted (2026-11-22, after group 6 merged as #4353): scripts/README.md (one workflow-inputs bullet), .agents/skills/branching-and-release-model/SKILL.md (the operational unit-test sentence) and its generated copies, and the ignore-nothing-to-cache setting plus its comment on the lint job's Setup uv step in .github/workflows/validate-task.yml.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions