V5/V6 stale-test verification - custom-html docroot move (DO NOT MERGE) #3
Reference in New Issue
Block a user
No description provided.
Delete Branch "v5-stale-docroot"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Phase 5 verification PR for the stale-test path.
This branch intentionally moves the internal custom-html docroot from /usr/share/nginx/html to /var/www/html while keeping the app externally healthy. Existing cc-ci custom-html tests still hardcode the old in-container path, so this PR should demonstrate a genuine stale-test failure for V5/V6.
Verification only. DO NOT MERGE.
!testme
🌻 cc-ci —
custom-html@71e7326a❌ failurefull logs · dashboard
!testme
The upgrade/sandbox change itself looks correct, but the current cc-ci tests are stale for this seeded verification case.
Observed on
!testmebuild#40for this PR:HTTP 200, browser smoke passed)/usr/share/nginx/htmlWhy this looks stale:
/usr/share/nginx/htmlto/srv/www/htmlwhile keeping the app externally healthy#40:tests/custom-html/test_backup.py->cat: /usr/share/nginx/html/ci-marker.txt: No such file or directorytests/custom-html/functional/test_content_roundtrip.pywrote the file to the old path, then gotHTTP 404tests/custom-html/functional/test_content_type_header.pylikewise wrote to the old path and then hitHTTP 404Default mode is leaving this recipe PR open with no cc-ci test edits.
If you want the cc-ci tests updated and verified against this seeded sandbox change, re-run:
/recipe-upgrade custom-html --with-tests!testme
!testme
!testme
Paired with cc-ci test PR: recipe-maintainers/cc-ci#3
This seeded Phase-5 sandbox branch intentionally changes
.txtresponses toapplication/octet-stream, which leaves the app healthy but makes the current cc-ci MIME assertion stale.Cold branch-checkout verification with the paired cc-ci test branch is GREEN:
REMOTE_ROOT=/root/cc-ci-v6-custom-mime RECIPE=custom-html REF=v5-stale-docroot /srv/cc-ci-orch/.claude/skills/ci-test-review/verify-pr.sh->
VERDICT: GREENNothing merged.
!testmexyz
!testme
cc-ci: upgrade looks correct — one test appears stale
!testmefor custom-htmlv5-stale-docroot@71e7326aon build #81:The upgrade itself looks correct — app deploys, upgrades cleanly, and backup/restore work.
Stale test identified:
tests/custom-html/functional/test_content_type_header.py::test_content_type_html_and_txtThe test expects
.txtfiles to be served withContent-Type: text/plain, but this version returnsapplication/octet-streamfor.txtfiles:This is because the nginx configuration in this upgrade version overrides the default MIME type for
.txtfiles (serving them as binary/octet-stream rather than text/plain). The test was written for the previous nginx behaviour and is now stale.No test modifications were made. The cc-ci harness treats this as
SUCCESS-PENDING-TESTS.To also open a verified cc-ci test PR updating the stale assertion, re-run:
(This will open a paired cc-ci test PR and verify the upgrade passes with the corrected test — all on dedicated branches, never merged automatically.)
Pull request closed