You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test_every_published_page_keeps_its_canonical_page_record: bound-file ids enter the page record since #7306 #7406
tests/journeys/test_site.py::test_every_published_page_keeps_its_canonical_page_record passes at 1fb74d494 and fails at 428b7a092 (#7306, "make each bound file a data source under its binding's id"). I bracketed it by running the test by node id on Linux at both commits. It still fails on main at 3fa2e5a17, and it failed on macOS in scheduled run 45985529285 on 21c613f05. Journeys run only in the scheduled suite, so the introducing pull request's CI didn't run it. Apply Reading a red suite in running-tend to the introducing change's intent before choosing whether the test or the code moves.
Deciding error:assert {'alerts', 'd…lues-staging'} == set(). The extra items are alerts, values, runbook, values-production, values-staging and deploy-workflow. They look like the binding ids of a published example's bound files, which #7306 made data sources under those ids. So the site's canonical page record now carries entries that the test expects to be absent, or that the record's comparison doesn't account for. The next step is to read what the test compares (the published page record against its canonical form), and whether #7306 meant those data sources to appear in a published page's record.
The test needed to change, not the code. #7418 now has the fix and is waiting on review and CI. #7306's description says the hosted site's first-visit state now carries the files that published markup binds, and data.read_contracts does exactly that by listing each binding under the text-document contract. The test still compared the contracts only with the sources the example's data sets. It now also expects the page's bindings (file_bindings.bound_paths). Run by node id, it fails on main with this issue's error and passes on the branch. No behavior #7306 intended is given up, so no issue for its author is needed.
Activity
leaf-agent commentedon Nov 27, 2026
The test needed to change, not the code. #7418 now has the fix and is waiting on review and CI. #7306's description says the hosted site's first-visit state now carries the files that published markup binds, and
data.read_contractsdoes exactly that by listing each binding under thetext-documentcontract. The test still compared the contracts only with the sources the example's data sets. It now also expects the page's bindings (file_bindings.bound_paths). Run by node id, it fails onmainwith this issue's error and passes on the branch. No behavior #7306 intended is given up, so no issue for its author is needed.