4 Commits
Author SHA1 Message Date
kevinveenbirkenbachandClaude Opus 5.5 6a1caf763c fix(test-e2e-playwright): green the spec secrets CI test job
Fixes the failures of CI Test job 137402501328 on PR 2414: the prune task reports changed only when the helper removed a directory, the run and pass task files keep their when-blocks and task names within 80 characters, the masker flushes before fchmod and keeps only permission bits, the container constants carry their nocheck reasons, ansible_remote_tmp is exempt from the variable usage lint, and the wiring and form tests match the new behaviour.

🎯 Fix: 85 %
💥 Break: 6 %
💸 Tokens: 100 %
⏱️ Velocity: 100 %
🛡️ Security: 100 %
🏆 Score: 80
🚦 Gate: ⛔ fix 85 % < 90, break 6 % > 5

Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 03:50:21 +00:00
kevinveenbirkenbachandClaude Opus 5.5 23aeb76b25 fix(test-e2e-playwright): harden spec secret masking per PR 2414 review
Address the Main review and the CodeRabbit, CodeQL and code-quality threads on PR 2414: the detached hold child and stage digests are gone, every run reports into its own run directory, the masker covers short and encoded values, and the scrub proves the container gone. Container trust moves into spec_secrets_container.py: an exact DOCKER_CONFIG key allowlist, owner and mode checks, the CA trust words bound to the deploy, and a non-UTF-8 .ca-trust failing closed. rerun-spec.sh checks its arguments word by word and refuses a command override. Code-clean: the remaining non-free defaults are now explicit at every caller.

🎯 Fix: 90 %
💥 Break: 6 %
💸 Tokens: 100 %
⏱️ Velocity: 100 %
🛡️ Security: 100 %
🏆 Score: 85
🚦 Gate: ⛔ break 6 % > 5

Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 18:18:56 +00:00
kevinveenbirkenbachandClaude Opus 5.5 b800a8eb6e feat(test-e2e-playwright): mount spec secrets as files and mask them in the output
A role whose specs need a credential ships templates/playwright.secrets.j2. The runner splits it into 0400 files in a fresh 0700 run directory outside the stage dir and bind-mounts that read-only at /run/spec-secrets into the role's container, serial, parallel and rerun alike. For that run it turns trace, screenshot, video and the HTML report off, and it masks every value of 8 bytes or more in the container output and in the run's report and stage files, also after a kill. No value reaches an Ansible variable, a command line, the .env or the container environment. Roles without the template deploy as before. MEDUSA scan: 0 findings.

🎯 Fix: 90 %
💥 Break: 7 %
💸 Tokens: 100 %
⏱️ Velocity: 100 %
🛡️ Security: 100 %
🏆 Score: 84
🚦 Gate: ⛔ break 7 % > 5

Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 08:44:20 +00:00
kevinveenbirkenbachandClaude Opus 5.5 de40211272 perf(test-e2e-playwright): run independent Playwright suites in parallel under a pressure gate
WordPress#0 runs 18 Playwright suites one after another and exceeds its
CI time budget. A role that opts in through playwright.parallel in its
meta/tests.yml (WordPress: [3, 1, 1] per variant) now hands its suites to
an async scheduler, run_parallel.py, after staging:

- a suite starts only when its dependencies finished here (Keycloak first)
  and the host's CPU pressure, avg10 and avg60, stayed at or below 36 for
  30 s; the first container always starts and running ones are never
  killed
- onion suites share their own cap of 3 and a Tor lock with a
  recreate-pending marker; a probe that times out on the lock re-probes
  the current circuits and, failing that, leaves only that app to the
  serial path
- an app whose dependency was dropped is deferred, and every deferred app
  gets the serial first pass before the existing retry, in round order
- each job gets --oom-score-adj=1000 instead of a memory limit; crashed
  pages, closed browsers and killed workers are counted and named in the
  per-app timing line
- each job's result.json, stdout and stderr land in run-parallel/ and are
  archived with the reports
- the async ceiling is the serial worst case per app and reachable
  network, curl's per-attempt max time included (now
  TEST_E2E_PLAYWRIGHT_ONION_PROBE_MAX_TIME); it stays above the CI step
  timeout and never raises a budget

Roles without the opt-in run exactly as before; the onion probe script
with an empty lock behaves byte for byte like the previous one.

Tests: 126 role unit tests and 30 negative controls cover the gate
window, admission order, onion cap and lock, marker cleanup, the bounded
wait, dependency deferral, crash counting, artifact collection, the
ceiling for the real WordPress#0 app list, and serial equivalence. No CI
run has exercised it yet; the next push is its live proof.

🎯 Fix: 88 %
💥 Break: 6 %
🌱 Efficiency: –
⚡ Speed: –
🛡️ Security: ~100 %
🏆 Score: 83
🚦 Gate: ⛔ fix 88 % < 90, break 6 % > 5; committed and merged on the operator's word, CI is the live proof

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 15:10:54 +00:00