Repository navigation
Weekly live run files one issue per failing data source; watch Yukon's repos - #80
Merged
Merged
Conversation
… run The scheduled live tier was red four weeks running (Sep 29 - Oct 20, 2026). A NASA CMR outage kept it red, so the Yukon API breaking underneath it (29 failed tests on 2026-10-20) went unnoticed. scripts/report_live.py reads the run's JUnit XML, groups the tests by data source (the test file), and files one issue per failing source under the health check's data-source label, with identical errors counted together. A source still failing next week has its issue updated and commented; a source whose tests pass again has it closed; a source whose tests all skipped is left alone. Every run also writes a per-source table to the job summary. Scheduled runs file issues, manual runs only write the summary. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UqF35dgJEZwc35XaU8n4iu
…ce link Add path-filtered commit feeds for YGwater's API (inst/plumber on dev.WRB) and AquaCache's schema patches (inst/patches on dev.g) to the upstream watch: the publicly_visible -> default_show rename was public there a week before the client broke. Replace the catalog's OGL-Yukon reference, which returns 404, with the licence URL the Open Yukon dataset pages link to. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UqF35dgJEZwc35XaU8n4iu
test_main_without_a_token_only_prints read the job-summary file with the locale encoding, which on Windows (cp1252) garbles the red-circle marker the script writes as UTF-8. The script's JUnit read had the same flaw. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UqF35dgJEZwc35XaU8n4iu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The scheduled live tier (the weekly CI run's
test-livejob) was red four weeks running: Sep 29, Oct 6, 13 and 20, 2026. On Oct 20 it caught the Yukon AquaCache API breaking: 29 failedtest_yukon_client.pytests, with/timeseriesreturning HTTP 500 mid-deploy. But a NASA CMR outage had already made the run red (HLS, MODIS, VIIRS, UCLA SR and Sentinel-1 failures), so nobody looked. The archive went 12 days without Yukon data before anyone noticed.What
1.
scripts/report_live.pyand a step in the live job.pytestnow writes--junitxml=live-results.xml.if: always()step groups the results by data source (the test file:test_yukon_client.py→yukon).data-sourcelabel, using the same pattern asreport_health.py:issues: write.report_health.GitHubunder its ownesd-livemarker, so it never touches the health check's issues.2. Watch Yukon's source repos (
WATCHLIST.toml). Path-filtered commit feeds for YGwater's API (inst/plumberondev.WRB) and AquaCache's schema patches (inst/patchesondev.g). Thepublicly_visible→default_showrename ("patch_65 live", 2026-10-15) was public there a week before the client broke. Those branches matched the live API on 2026-10-26. The entry's comment says what to do when a branch is renamed.3. Fix a dead link from #79. The catalog's OGL-Yukon reference (
open.yukon.ca/node/15612) returns 404. It now uses the licence URL that the Open Yukon dataset pages link to.Testing
tests/test_live_reporting.py(new, offline): grouping by file, failure versus error, skip-only sources, identical-error counting, open/update+comment/close against a fake GitHub, and no cross-talk withesd-healthissues. Passes along withtest_health_reporting.py(40 tests).--junitxml(107 passed) and fed the report to the script in dry-run mode. The output was a correct per-source table and two "close" actions.test_watch.pyandtest_catalog.pypass. One test,test_catalog.py::...cmr_probe..., fails locally on the untouched tree too and passes in CI.WATCHLIST.tomlboth parse;ruff check/ruff format --checkare clean.Not verified
.atomURL, including the geoBoundaries feed that already works in CI. If GitHub doesn't serve these path-filtered feeds, the first weekly watch run will report them as unreachable rather than failing.run_livewrites the summary without filing issues.Generated by Claude Code