This repository was archived by the owner on Nov 12, 2026. It is now read-only.
Repository navigation
Upstream watch: store 12-character digests so the dashboard fits the issue body - #711
Merged
Merged
Conversation
…issue body Since 2026-10-28, 23 of the last 30 scheduled runs failed with 'Dashboard exceeds GitHub issue size': 510 tracked sources (434 discovered branch heads) with 40-character SHAs, which barely compress, pushed issue #51 past 65,536 characters, so no new upstream changes were recorded. change_marker now keeps the first 12 characters of sha, base_sha and sha256. Stored full-length values shorten to the same prefix, so the first run after this reports no false changes; legacy pending entries go through the same marker. The live dashboard state migrates from 62.9k to 38.9k characters, and a test covers 520 sources all pending.
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The scheduled Watch public upstreams workflow has failed in 23 of its last 30 runs (since 2026-10-28) with
Dashboard exceeds GitHub issue size. Issue #51 tracks 510 sources (434 discovered branch heads). Their 40-character SHAs barely compress, so the issue body went past 65,536 characters and nothing new has been recorded since.Fix:
change_markerkeeps the first 12 characters ofsha,base_shaandsha256. That's still enough to detect any move of the same ref. Stored full-length values shorten to the same prefix, so the first run after this reports no false changes. Legacy pending entries also go through the marker now.Measured on the live dashboard: 62,920 → 38,928 characters, with all 228 pending changes and 510 snapshots kept. With every source pending the worst case is about 50.5k characters.
Tests:
python3 -B -m unittest mseries/local-ai/test_github_watch.pypasses 12/12. That includes a migration test (full-length values report no change) and a 520-sources-all-pending size test.After merge, run the workflow once (
gh workflow run upstream-watch.yml) to confirm it's green.