Compare commits
merge into: recipe-maintainers/cc-ci:main
recipe-maintainers/cc-ci:main
recipe-maintainers/cc-ci:fix/stale-run-screenshot
recipe-maintainers/cc-ci:fix/gitea-lfs-restart-wait
recipe-maintainers/cc-ci:fix/root-authorized-keys-sync
recipe-maintainers/cc-ci:fix/anubis-ua-reports-proxy
recipe-maintainers/cc-ci:config/subagents-flash
recipe-maintainers/cc-ci:config/opencode-go
recipe-maintainers/cc-ci:chore/sops-recipient-cc-ci-host
recipe-maintainers/cc-ci:chore/statix-fix
recipe-maintainers/cc-ci:chore/lint-fix
recipe-maintainers/cc-ci:feat/nixos-module-export
recipe-maintainers/cc-ci:fix/public-gitea-url
recipe-maintainers/cc-ci:fix/acme-owned-wildcard-files
recipe-maintainers/cc-ci:fix/traefik-certificate-rollout
recipe-maintainers/cc-ci:feat/acme-dns-production-cutover
recipe-maintainers/cc-ci:fix/acme-dns-ns-record
recipe-maintainers/cc-ci:harden/acme-dns-registration
recipe-maintainers/cc-ci:fix/acme-dns-sqlite
recipe-maintainers/cc-ci:feat/restricted-acme-dns-renewal
recipe-maintainers/cc-ci:plan/acme-dns-renewal
recipe-maintainers/cc-ci:chore/public-runtime-config
recipe-maintainers/cc-ci:config/deepseek-flash-zen
recipe-maintainers/cc-ci:config/deepseek-flash-subagents
recipe-maintainers/cc-ci:policy/pr-then-merge
recipe-maintainers/cc-ci:fix/plausible-format
recipe-maintainers/cc-ci:fix/plausible-v3-custom-tests
recipe-maintainers/cc-ci:test/upgrade-base-prefer-newest-release-20260810
recipe-maintainers/cc-ci:test/discourse-upgrade-base-floor-20260804
recipe-maintainers/cc-ci:test/wordpress-enroll-20260803
recipe-maintainers/cc-ci:test/lasuite-meet-stale-test-20260803
recipe-maintainers/cc-ci:test/lasuite-docs-stale-test-20260803
recipe-maintainers/cc-ci:chore/server-flake-update-20260803
recipe-maintainers/cc-ci:redfix-m2-harness
recipe-maintainers/cc-ci:feat/libredesk-tests
recipe-maintainers/cc-ci:phase-lvl5
recipe-maintainers/cc-ci:fix/converged-oneshot
recipe-maintainers/cc-ci:restructure/recipe-custom
recipe-maintainers/cc-ci:restructure/concurrency
recipe-maintainers/cc-ci:fix/converge-paused-update
recipe-maintainers/cc-ci:test/plausible-psql-quiet
recipe-maintainers/cc-ci:fix/converge-rolling-update
recipe-maintainers/cc-ci:fix/lint-and-concurrent-runs
recipe-maintainers/cc-ci:test/plausible-upgrade-base-3.0.1
recipe-maintainers/cc-ci:chore/runner-capacity-2
recipe-maintainers/cc-ci:feat/reports-pr-status-proxy
recipe-maintainers/cc-ci:feat/expected-na-and-tiny-functional
recipe-maintainers/cc-ci:regression-canaries
recipe-maintainers/cc-ci:v6-custom-html-mime
recipe-maintainers/cc-ci:v6-custom-html-docroot
recipe-maintainers/cc-ci:v6-matrix-synapse-real-upgrade-state
recipe-maintainers/cc-ci:terraform-hetzner
recipe-maintainers/cc-ci:scratch/m3-demo
..
pull from: recipe-maintainers/cc-ci:fix/stale-run-screenshot
recipe-maintainers/cc-ci:main
recipe-maintainers/cc-ci:fix/stale-run-screenshot
recipe-maintainers/cc-ci:fix/gitea-lfs-restart-wait
recipe-maintainers/cc-ci:fix/root-authorized-keys-sync
recipe-maintainers/cc-ci:fix/anubis-ua-reports-proxy
recipe-maintainers/cc-ci:config/subagents-flash
recipe-maintainers/cc-ci:config/opencode-go
recipe-maintainers/cc-ci:chore/sops-recipient-cc-ci-host
recipe-maintainers/cc-ci:chore/statix-fix
recipe-maintainers/cc-ci:chore/lint-fix
recipe-maintainers/cc-ci:feat/nixos-module-export
recipe-maintainers/cc-ci:fix/public-gitea-url
recipe-maintainers/cc-ci:fix/acme-owned-wildcard-files
recipe-maintainers/cc-ci:fix/traefik-certificate-rollout
recipe-maintainers/cc-ci:feat/acme-dns-production-cutover
recipe-maintainers/cc-ci:fix/acme-dns-ns-record
recipe-maintainers/cc-ci:harden/acme-dns-registration
recipe-maintainers/cc-ci:fix/acme-dns-sqlite
recipe-maintainers/cc-ci:feat/restricted-acme-dns-renewal
recipe-maintainers/cc-ci:plan/acme-dns-renewal
recipe-maintainers/cc-ci:chore/public-runtime-config
recipe-maintainers/cc-ci:config/deepseek-flash-zen
recipe-maintainers/cc-ci:config/deepseek-flash-subagents
recipe-maintainers/cc-ci:policy/pr-then-merge
recipe-maintainers/cc-ci:fix/plausible-format
recipe-maintainers/cc-ci:fix/plausible-v3-custom-tests
recipe-maintainers/cc-ci:test/upgrade-base-prefer-newest-release-20260810
recipe-maintainers/cc-ci:test/discourse-upgrade-base-floor-20260804
recipe-maintainers/cc-ci:test/wordpress-enroll-20260803
recipe-maintainers/cc-ci:test/lasuite-meet-stale-test-20260803
recipe-maintainers/cc-ci:test/lasuite-docs-stale-test-20260803
recipe-maintainers/cc-ci:chore/server-flake-update-20260803
recipe-maintainers/cc-ci:redfix-m2-harness
recipe-maintainers/cc-ci:feat/libredesk-tests
recipe-maintainers/cc-ci:phase-lvl5
recipe-maintainers/cc-ci:fix/converged-oneshot
recipe-maintainers/cc-ci:restructure/recipe-custom
recipe-maintainers/cc-ci:restructure/concurrency
recipe-maintainers/cc-ci:fix/converge-paused-update
recipe-maintainers/cc-ci:test/plausible-psql-quiet
recipe-maintainers/cc-ci:fix/converge-rolling-update
recipe-maintainers/cc-ci:fix/lint-and-concurrent-runs
recipe-maintainers/cc-ci:test/plausible-upgrade-base-3.0.1
recipe-maintainers/cc-ci:chore/runner-capacity-2
recipe-maintainers/cc-ci:feat/reports-pr-status-proxy
recipe-maintainers/cc-ci:feat/expected-na-and-tiny-functional
recipe-maintainers/cc-ci:regression-canaries
recipe-maintainers/cc-ci:v6-custom-html-mime
recipe-maintainers/cc-ci:v6-custom-html-docroot
recipe-maintainers/cc-ci:v6-matrix-synapse-real-upgrade-state
recipe-maintainers/cc-ci:terraform-hetzner
recipe-maintainers/cc-ci:scratch/m3-demo
2
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
8e7008e422 |
tests: unit coverage for the fossil-screenshot fix
continuous-integration/drone/push Build is passing
(follow-up to previous commit — test appends initially landed in the wrong clone; content identical) |
||
|
|
934ec8b8f0 |
runner: never embed a fossil screenshot from a collided run dir
continuous-integration/drone/push Build is passing
!testme gitea PR #10 (drone build 35, 2026-10-05) rendered a summary card whose app screenshot was custom-html-tiny's — a fossil from a May-31 run dir with the same number. Root cause chain: - /var/lib/cc-ci-runs/ keeps old-era run dirs numbered up to 1377; drone's build counter restarted when its DB was re-created (2026-09-27), so new builds collide with old dirs (35 was one). - the run reused the collided dir without cleaning it: fresh results.json/ summary.* landed NEXT TO the old screenshot.png. - screenshot.capture()'s SCREENSHOT-hook branch skipped the actual snap when out_path already existed ('the hook may have saved it' — no hook does), so capture() 'succeeded' without writing and the card embedded the fossil. Fix, cosmetics-only (R7 — verdict logic untouched): - results.fresh_artifact_dir(): at run start, remove ONLY the files/dirs this run owns (results.json, summary.*, badge.svg, lint.txt, screenshot.png, junit/) from its artifact dir; anything else is left alone; never raises. - run_recipe_ci calls it right after computing run_artifact_dir. - screenshot.capture(): the hook branch ALWAYS snaps (same settle/blank-retry path as the default branch) — a pre-existing file is never trusted. Unit tests: fresh_artifact_dir (owned-only removal, dir creation, odd entries) + capture() fake-playwright regression proving a fossil out_path is overwritten. |