Skip to content

ci(ci-policy): fix the ci-policy violations in artemis (CHE-3275) [merge] - #259

Draft
congvc-bot-x99[bot] wants to merge 5 commits into
mainfrom
agent/x99-claude-sonnet-200k/che-3275-ci-policy-fixes
Draft

congvc-bot-x99[bot] wants to merge 5 commits into
mainfrom
agent/x99-claude-sonnet-200k/che-3275-ci-policy-fixes

Conversation

@congvc-bot-x99

@congvc-bot-x99 congvc-bot-x99 Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Status

Refs CHE-3589
Follow-up of CHE-3275.

Draft, stacked on PR 258 (base: agent/x99-claude-sonnet-200k/che-3275-ci-policy-caller). Human merge by Cheese. Cross-lab review (RGS-1) is pending.

Conditions

  • No spend. No runner change. Required check names stay unchanged (required_checks is empty).
  • The caller does not run while this PR is stacked: pull_request_target reads the workflow from the base branch. Merge order (Option 1, CHE-3275 decision): Cheese merges the caller PR into main, then the agent retargets this PR to main, then the caller runs here and its baseline and green runs are linked on CHE-3275.
  • The red and green below come from the same vendored check.py, run locally on this branch. They are not caller runs.
  • Failing checks on the earlier single PR were not caused by the diff. The same jobs fail on main: artemis Python 3.12, Python 3.12 (reverse), Python 3.12 (deterministic) and Frontend tests and production build (run 41395797513, commit a14514a).

Change

  • Add a # ci-policy: class= header to every workflow in the repo.
  • host-agent.yml: limit the push trigger to branches: [main] (R1). Feature-branch pushes no longer repeat the pull_request run on the same SHA.
  • whats-new.yml: add a workflow-level concurrency group with cancel in progress (R2).

Evidence

Test-first. Command: python3 .github/ci-policy/check.py --root . --repo cheese-work/artemis.

Red 1, on the base branch (policy file, no class headers): exit 1, 4 × D-1 unclassified workflow.
Red 2, headers added (exit 1): R1 on host-agent.yml, R2 on whats-new.yml (2 violations).
Green, this PR head: exit 0, no output.

No violation needed a D-7 exception or an owner issue.

Base automatically changed from agent/x99-claude-sonnet-200k/che-3275-ci-policy-caller to main November 14, 2026 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants