3 Commits
Author SHA1 Message Date
kevinveenbirkenbachandClaude Opus 5.5 c50808fa04 test(update): keep the merge tests off real hosts and role-file literals
The merge tests from #2428 used https://github.com/o/r/actions/runs/... check URLs, which TestUrlsReachable fetches and gets HTTP 404 for, and hard-coded roles/<role>/meta/services.yml and meta/main.yml paths, which TestRoleFileSpot refuses. make quality-high on main 9f5f1e4a90 failed test-external and test-lint on them.

The URLs move to the github.example host the reachability test skips; gate.check_refusals matches only /actions/runs/<id>/, so the host does not matter. The paths take ROLE_FILE_META_SERVICES and ROLE_FILE_META_MAIN from utils.roles.mapping.

🎯 Fix: 97 %
💥 Break: 2 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 95
🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 %

Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 10:51:43 +00:00
kevinveenbirkenbachandClaude Opus 5.5 69fb244f56 test(update): import unittest.mock members instead of unittest twice
GitHub code quality flagged three new test modules for importing unittest both with import and with from-import. They now import Mock or patch from unittest.mock, the form the rest of the repository uses. No assertion changed; the label, merge github and merge main tests pass as before (11, 7 and 15).

🎯 Fix: 97 %
💥 Break: 1 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 96
🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 %

Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 09:38:25 +00:00
kevinveenbirkenbachandClaude Opus 5.5 306382e03d feat(ci): merge update PRs automatically once CI deployed every changed role
entry-pr-green-update-merge.yml runs on a successful pull_request run of the PR pipeline for update/* and dependabot/* branches. cli.contributing.update.merge merges only when the updater App or Dependabot opened the PR from its own branch against the default branch, it carries the update label, every check run and status on its head is green, and the role-runtimes artifacts of that run list every role the PR changes. The gate reads with the read-only GITHUB_TOKEN; the App token is minted only after it passes and merges through the REST API pinned to the tested head SHA. entry-pr-change-dependabot-label.yml gives Dependabot PRs the same update plus level labels, and dependabot.yml adds the update label to every active ecosystem. Both workflows stay off unless CI_ENABLE_AUTO_UPDATES is true.

🎯 Fix: 82 %
💥 Break: 3 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 80
🚦 Gate: ⛔ fix 82 % < 90

MEDUSA accepted false positives: RH005 cli/contributing/update/merge/__main__.py (standard CLI entry), WEB-PATH-002 cli/contributing/update/merge/github.py (zip read in memory with size caps, never extracted), B603 cli/contributing/update/merge/github.py (list-form gh subprocess, no shell).

Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 09:12:56 +00:00