GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Recover native cache observer failure on catalogue main · Issue #655 · devantler-tech/.github

Recover native cache observer failure on catalogue main #655

New issue
Copy link
New issue
Copy link
Closed
Bug
#719
Closed
Recover native cache observer failure on catalogue main#655
Bug
#719
Copy link
Assignees
devantler

Description

@devantler
devantler
opened on Oct 19, 2026
Issue body actions

🤖 Generated by the Agentic Engineer

Delivered on: 2026-10-19

This date records delivery of the diagnostic increment in #659, not resolution of this Bug.

Blocker: a new qualifying native cache-observer rejection with the released diagnostics | outcome | last-verified 2026-10-19: Main CI has recovered, but the original rejected snapshot was not retained. Resume diagnosis when a native rejection supplies the bounded count receipt from #659; do not manufacture a failure or relax the input predicate.

Description

Catalogue CI previously failed in the native Go cache observer, leaving the required aggregate red. Main CI has recovered, and the diagnostic increment is merged, but the specific original rejected invariant remains unproven.

Steps to Reproduce

Inspect a qualifying default-branch CI rejection in the Native Go Cache Policy job and its bounded count diagnostics. The original rejected snapshot was not retained, and a later complete read passes the unchanged predicate; there is no confirmed deterministic reproduction yet. Detailed evidence remains private.

Expected Behavior

The observer validates complete current-attempt evidence before checking real cache restore and save behavior. Missing, inconsistent or unsuccessful inputs continue to fail closed.

Actual Behavior

The observer rejected its input evidence. A later complete read passes the unchanged input predicate, but the original rejected snapshot was not retained. The root cause remains unproven; do not classify this as a cache-policy or quota regression without further evidence.

Acceptance Criteria

  • Identify the rejected invariant using appropriately sanitized diagnostics and add a regression for the confirmed cause.
  • Restore successful current-main CI with the native observer and required aggregate executed.
  • Preserve complete pagination, identity binding, successful fixture requirements, useful restores and the existing cache-writer restrictions.
  • Keep CI recovery separate from release publication and consumer cache-budget outcomes.

Environment

Hosted default-branch catalogue CI. The diagnostic increment adds only bounded counts and regressions; it does not change credentials, required checks, cache-writer restrictions or the strict input predicate.

Priority and Effort

High: intermittent default-branch reliability risk. Small-to-medium remaining diagnostic and repair scope. Part of #287.

Activity

Next
  1. devantler
    added the
    Bug
    issue type on Oct 19, 2026
  2. devantler
    added this to 🌊 Project Boardon Oct 19, 2026
  3. devantler
    added a parent issue on Oct 19, 2026
    • Roadmap: shared CI/CD library — reliability, trust gates, and operational friction #287
  4. devantler
    moved this to 🫴 Ready in 🌊 Project Boardon Oct 19, 2026
  5. devantler
    added 2 commits that reference this issue on Oct 19, 2026

    chore: agent-claim #655 nonce=b5ad683614d8d033a3d407e260e098c1

    4292850

    chore: agent-claim #655 nonce=0c5f686d531151547150cfe823410349

    bc8dd83
  6. devantler commented on Oct 19, 2026

    @devantler
    devantler
    on Oct 19, 2026
    ContributorAuthor
    More actions

    🤖 Generated by the Agentic Engineer

    One complete rerun of unchanged current-main CI has been accepted and is queued. Every selected test and the required aggregate remain enabled. No source, credential, retry default or cache policy was changed.

    Collect the complete attempt after it finishes and validate the native observer together with the required aggregate. Recovery is pending; the rejected-input root cause and this issue's acceptance criteria remain open. Detailed evidence is retained privately.

  7. devantler commented on Oct 19, 2026

    @devantler
    devantler
    on Oct 19, 2026
    ContributorAuthor
    More actions

    🤖 Generated by the Agentic Engineer

    Recovery confirmed, and a likely cause to test

    Recovered. The complete rerun of main CI at 576414b (attempt 2) finished green at 16:53Z, with the native observer and the required aggregate both executed. That meets the second acceptance criterion. The first criterion, naming the rejected invariant, is still open.

    What failed in attempt 1. The observer started at 15:55Z and exited in validate_jobs ("incomplete, stale or unsuccessful current-attempt jobs"). All nine fixture jobs it requires had already completed successfully between 15:42Z and 15:47Z, so the fixture-job conditions could not have rejected it. That leaves the conditions on the job list itself: one total_count across pages, the job count equal to total_count, and no duplicate job IDs.

    Likely cause (not yet proven). In attempt 1 the observer paged through about 240 jobs, 50 per page, while many other jobs in the same attempt were still running. The attempt kept changing after the observer read it: the aggregate job was created at 15:58Z and two more jobs at 16:01Z and 16:05Z. If the jobs endpoint's order or count moves while a run is in flight, a job can appear on two pages or on none. Either fails the completeness checks even though nothing is wrong with the cache. In attempt 2 the job list was effectively static by the time it was read, which fits the rerun passing with no input changes.

    Smallest next slice. When validate_jobs fails, print sanitized counts only: the number of pages, the distinct total_count values, the number of jobs fetched, the number of duplicate IDs, and the fixture-job count. The next failure then names its invariant. If the hypothesis holds, the fix is to read the job list only after every job the observer depends on has finished, or to re-read until two consecutive complete reads agree. The completeness checks themselves stay strict.

    Not starting implementation now. Board WIP is above its ceiling, and with main green again this no longer meets the Expedite bar of a confirmed live incident.

  8. devantler
    added a commit that references this issue on Oct 19, 2026

    chore: agent-claim #655 nonce=9a0e68c7073b5d278fc23f20acf6a512

    1a75daa
  9. devantler commented on Oct 19, 2026

    @devantler
    devantler
    on Oct 19, 2026
    ContributorAuthor
    More actions

    🤖 Generated by the Agentic Engineer

    Current-main CI has recovered on the single full rerun, with no source, credential or cache-policy change. The complete current-attempt inventory is accounted for; the native observer actually ran and passed all eight Go restores and the expected save policy, and the required aggregate succeeded.

    This clears the immediate CI failure, not the root-cause acceptance criteria. The original rejected snapshot was not retained, so the specific rejected invariant remains unproven. Keep this issue open for appropriately sanitized failure diagnostics and a regression for the confirmed cause. Release publication and consumer cache-budget outcomes remain separate. Detailed evidence is retained privately.

  10. devantler
    self-assigned this
    on Oct 19, 2026
  11. devantler
    moved this from 🫴 Ready to 🏃🏻‍♂️ In Progress in 🌊 Project Boardon Oct 19, 2026
  12. devantler
    moved this from 🏃🏻‍♂️ In Progress to 👀 In Review in 🌊 Project Boardon Oct 19, 2026
  13. devantler
    added a commit that references this issue on Oct 19, 2026

    chore: agent-claim #655 nonce=f7450c2c6099eadf7c2eb7776d66d4a8

    76dfc1d
  14. devantler
    added
    blocked
    on Oct 19, 2026
  15. 2 remaining items

  16. devantler
    added a commit that references this issue on Oct 21, 2026

    chore: agent-claim #655 nonce=b387a9d587a9ffd734b43a1715129309

    10e79a3
  17. devantler commented on Oct 21, 2026

    @devantler
    devantler
    on Oct 21, 2026
    ContributorAuthor
    More actions

    🤖 Generated by the Agentic Engineer

    New qualifying rejection on main (2026-10-21)

    Main CI at eec7063 (attempt 1) failed in the native observer with the bounded receipt from #659:

    pages=5, reported_totals=[246], total_count_variants=1, fetched_jobs=246, duplicate_ids=0, fixture_jobs=9, fixture_invalid=9

    What this rules out: the list-level invariants all held (one total across pages, job count equals the total, no duplicate IDs). The earlier "likely cause" on the job list itself is therefore not what failed this time.

    What it shows: all nine fixture jobs failed the per-job predicate at read time, although every one had finished successfully between 15 seconds and 3 minutes before the observer read the list. A fresh read of the same attempt now passes the unchanged predicate for all nine. This points at the per-job fields the API returned at that moment (a stale view of the jobs), but the receipt cannot say which field.

    Next increment: #686 adds one bounded count per per-job invariant (run, attempt, head, status, conclusion, steps), so the next rejection names the field. No predicate is relaxed.

    Recovery: one full rerun of unchanged main CI is running (attempt 2). Acceptance criteria stay open.

  18. devantler commented on Oct 21, 2026

    @devantler
    devantler
    on Oct 21, 2026
    ContributorAuthor
    More actions

    🤖 Generated by the Agentic Engineer

    The full rerun did not recover main this time (attempt 2). Run 39616752203, attempt 2 failed the same [Test] Native Go Cache Policy step, with a smaller rejection:

    pages=5, reported_totals=[246], total_count_variants=1, fetched_jobs=246, duplicate_ids=0, fixture_jobs=9, fixture_invalid=1

    Attempt 1 rejected all 9 fixture jobs; attempt 2 rejected 1 of 9. The listing invariants (pages, totals, duplicates) held both times, so the rejection is again on the per-fixture evidence, not the inventory.

    Timing context, not a cause: the observer ran at 14:49:42Z, and GitHub declared an incident ("Delays for Pull Requests and Webhook deliveries", Actions degraded) at 14:52Z. A delayed or partial per-job record would fit the shrinking count, but the receipt cannot name which invariant failed — that is exactly what #686 adds. Main stays red until a run passes; no rerun was fired from this run.

  19. devantler commented on Oct 21, 2026

    @devantler
    devantler
    on Oct 21, 2026
    ContributorAuthor
    More actions

    🤖 Generated by the Agentic Engineer

    Rejected invariant identified: lagging job status in GitHub's API

    The full rerun (attempt 2) failed the same way, this time with fixture_invalid=1. That gave a live job to inspect:

    • The fixture Test job had all of its steps completed and successful, and Actions had already released the dependent observer job. But both the jobs API and the check-run still reported it in_progress with no completion time.
    • The record flipped to completed/success only at 15:18:19Z. Its completion time was backfilled to 14:47:25Z, so the record lagged the real completion by about 31 minutes. The observer read it at about 14:49Z.
    • In attempt 1 the same lag hit all nine jobs. A later read passes because by then the records have caught up.
    • GitHub's status page shows Actions degraded_performance and an open incident, "Delays for Pull Requests and Webhook deliveries", since 14:52Z.

    So the failing invariant is the per-job status/conclusion, read from a GitHub record that can lag its own dependency resolution. Nothing in the pipeline or the cache policy failed.

    Fix options (a design decision for this issue; none applied yet):

    1. A bounded re-read inside the observer. This cannot cover a lag of about 31 minutes without holding a runner that long.
    2. Take completion from Actions' own dependency result for the fixture workflow (it already gates the observer), and keep the per-job record only for identity, steps and logs. This needs a real-runner check that the logs of a job still recorded as in progress are downloadable.
    3. Keep the predicate unchanged and re-run after an incident. This keeps today's behaviour but leaves main red until someone re-runs it.

    #686 still adds the per-invariant counts, so a future rejection names its field without manual inspection.

    Recovery: main stays red at eec7063 until a re-run after the GitHub incident clears. Re-running during the incident would likely hit the same lag.

  20. devantler
    added 3 commits that reference this issue on Oct 21, 2026

    ci: count malformed step entries as bad steps in the observer diagnostic

    46303b8

    ci: report fixture job name mismatches in the observer diagnostic

    d113dcd

    ci: name the rejected invariant per native Go cache fixture job (#686)

    582ee19
  21. devantler commented on Oct 21, 2026

    @devantler
    devantler
    on Oct 21, 2026
    ContributorAuthor
    More actions

    🤖 Generated by the Agentic Engineer

    Recovered: main CI at 582ee19 (the #686 merge) finished green at 16:54Z, with the native observer and the required aggregate both run. #686 is merged, so the next rejection reports per-invariant cause counts.

    Still open on this issue: choosing a fix for the lagging-status cause (options in the comment above). Until then, an Actions incident can turn main red again, and the recovery is a re-run once GitHub reports Actions operational.

  22. devantler
    added a commit that references this issue on Oct 22, 2026

    chore: agent-claim #655 nonce=9700bb52b1edafd9044350eb9c06f5fd

    aa621ce
  23. github-project-automation
    moved this from 🫴 Ready to 👀 In Review in 🌊 Project Boardon Oct 22, 2026
  24. devantler commented on Oct 22, 2026

    @devantler
    devantler
    on Oct 22, 2026
    ContributorAuthor
    More actions

    🤖 Generated by the Agentic Engineer

    It happened again on main, and the re-entry condition is met. Run 39791645958 at 6d78222 (the #718 merge) rejected exactly one fixture job: fixture_not_completed=1, fixture_not_success=1, every other invariant zero. The mega-linter fixture job finished at 14:01:47Z; the observer started at 14:01:50Z and read the jobs API at 14:02:09Z, while that record still said it was running. The same cause also hit a .github#718 head at 13:3xZ, so this is the fourth time in about a day, and most of them were short delays rather than the 31-minute incident one.

    Decision: option 1, bounded. #719 re-reads the jobs only when the sole rejection is a fixture job still shown as queued or running with no conclusion. It tries at most six reads, 15 seconds apart, and still uses the unchanged exact predicate before it trusts anything. Every other rejection still fails at once. A delay that never clears still fails with the same diagnostic, so an incident-scale lag stays option 3, a re-run once GitHub recovers. Option 2 is not taken: it needs proof that a job still recorded as running has downloadable logs, and the observer reads those logs.

    Recovery: a failed-jobs-only re-run cannot pass. Its attempt carries none of the nine fixture jobs (fixture_missing_names=9), so I started a full re-run of the run.

  25. devantler
    removed
    blocked
    on Oct 22, 2026
  26. devantler
    added a commit that references this issue on Oct 22, 2026

    fix(ci): re-read a lagging fixture job status in the Go cache observer (

    e93d62c
  27. devantler
    closed this as completedin #719on Oct 22, 2026
  28. github-project-automation
    moved this from 👀 In Review to ✅ Done in 🌊 Project Boardon Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @devantler
    devantler

Labels

No labels
No labels

Type

Bug

Fields

Priority

None yet

Effort

None yet

Projects

  • 🌊 Project Board
    Status
    ✅ Done
    Show more project fields

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.