mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-08 11:46:35 +00:00
e5f3c52119lets a redeploy skip the bootstrap restarts when the running wiki already serves the pinned core and add-ons. Its probe GETs /rest/wikis/xwiki/spaces with the superadmin's basic auth and accepted any 200. XWiki answers a rejected basic auth as guest with 200 (seeb1dfff370a, tasks/03_administrator.yml reads the XWiki-User header for exactly that reason). Between PASS 1 and PASS 2 the harness rotates the credentials ("=== matrix-deploy: rotating credentials between passes ===", xwiki2.log:257549 of run 40625679270). PASS 2 then probed the container still running with PASS 1's password: XWiki logged "Authentication failure with login [superadmin]" 34 times, answered as guest with 200, and the add-on check PUT XWiki.CheckExtension as guest until it died on 401 after 31 attempts (XWiki#2, LDAP variant; the probe only runs with OIDC or LDAP on). The core-version read now also requires the XWiki-User response header to name the superadmin. A guest answer skips it, so the role takes the bootstrap path that recreates the container with the rotated password before any write. test_extensions_ready_probe evaluates the task's when list for a guest 200, a superadmin 200 and a skipped probe. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>