Skip to content

Fix stale workflow history in fleet observation - #46

Merged
kauevestena merged 3 commits into
mainfrom
fix/fleet-run-history-filter
Sep 28, 2026
Merged

kauevestena merged 3 commits into
mainfrom
fix/fleet-run-history-filter

Conversation

@kauevestena

Copy link
Copy Markdown
Owner

The fleet observer can receive stale workflow history from GitHub's server-side branch=main filter. On fleet run 36444799139 this made Curitiba appear to have a February daily run and a February weekly failure, even though current September runs exist on main.

This change:

  • fetches the recent repository workflow-run history without GitHub's branch query parameter;
  • filters runs locally by the explicit head_branch field;
  • adds a regression test proving feature-branch runs are excluded without issuing a server-side branch-filter query.

This intentionally does not change the current scheduler-lag policy (warning after 3h, stale/failing after 7h). Lima and Milan were genuinely beyond that SLA in the affected fleet run, while the merged basemap core revision had not yet had a scheduled node-sync opportunity because all September 28 sync jobs ran before PR #45 merged.

@kauevestena
kauevestena merged commit 6ac4a5d into main Sep 28, 2026
1 check passed
@kauevestena
kauevestena deleted the fix/fleet-run-history-filter branch September 28, 2026 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant