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 — feat(fleet): probe sync-upstream freshness on both fleet forks (#12235) by dezren39 · Pull Request #12722 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Summary

Refs #12235 — step 4's second half: make a failed or missing sync visible within a day.

Adds a daily 14:30 UTC probe (same alert-issue pattern as dispatch-health-probe.yml, #6992) that judges each fleet fork's sync-upstream with scripts/fleet/fleet-sync-probe.py: a successful scheduled run within the last 30h, and no failed latest run. A stale or failing sync opens or updates one alert issue (meta/fleet-sync-probe); a green probe comments the recovery and closes it. The contract test runs in workflow-lint.yml.

The 30h window and 14:30 UTC slot are set from observation: sync-upstream's cron is 04:23 UTC but its runs land 11:23–13:40 UTC under GitHub load delay, so the probe runs after that window and tolerates a day of delay variance.

Step 3 of #12235 (dispatch_id_input on fleet-org and fleet-org-blacksmith) is already on main — verified in pkgs/fleet/fleet-surfaces.json, where all five GitHub Actions/Blacksmith surfaces declare it. Steps 1–2 (port the org cache options into upstream dezren39/fleet's fleet-run.yml; let sync-upstream bring the org copy level) live in the dezren39/fleet repo, not this one, and are not in this slice.

Evidence

Before (live runs API, 2026-11-22 ~23:58 UTC) — the probe run against real data:

  • developing-today/fleet: FAIL — no successful scheduled sync within 30h: last scheduled success 2026-11-05T12:34:20Z (419.4h ago); latest run 45019411056 (workflow_dispatch, success, 2026-11-22T11:52:09Z)
  • developing-today-forks/fleet: PASS — last scheduled success 2026-11-22T12:40:01Z (11.3h ago)

That is the exact symptom step 4 names: the org fork's schedule has not fired since 2026-11-05 while upstream fired its scheduled run every day 11-08..11-22 (verified via the runs API; workflow state is active in all three repos, so this is not a disabled workflow). The probe would have surfaced the gap within a day of the first missed slot.

After (this PR):

  • bash .github/scripts/fleet-sync-probe.test.sh — all contract cases pass, including the real 2026-11-22 shapes of both forks (org fork fails the probe, forks copy passes), the merge-conflict failure shape, dispatch-only history, empty runs, in-progress latest run, the 29h/31h window boundary, usage errors (exit 2), and missing/malformed runs files (named read failures, never a verdict).
  • ACTIONLINT_BIN=<pinned 1.7.7, checksum-verified> bash .github/scripts/check-workflows.sh .github/workflows/fleet-sync-probe.yml .github/workflows/workflow-lint.yml — OK (actionlint + shellcheck -S warning over the run blocks).
  • bash .github/scripts/check-ci-policy-agreement.sh — OK. The workflow declares only schedule + workflow_dispatch (no push/PR triggers), per .github/ci-policy.md.
  • No Rust involved; no compiled test run exists for this slice. The workflow itself first runs on GitHub (scheduled or manual dispatch).

Known pre-existing failure, not this PR: the full-set check-workflows.sh run reports one shellcheck warning in .github/workflows/pm-console-edge-deploy.yml:107 (SC2034, unused attempt), a file this PR does not touch — it fails the same way on main.

Merge Danger

Low. New scheduled workflow plus alert-issue automation only; no push/PR triggers, no deploys, no secrets beyond the default GITHUB_TOKEN (permissions: contents: read, issues: write). Expected first-run behavior: the probe will go red and open an alert issue for the org fork, because its schedule has not fired since 2026-11-05 — that is the point of the probe, not a regression. The alert issue is the tracked item until the org fork's schedule is healthy again.

Refs #12235


Start Proof
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@dezren39
feat(fleet): probe sync-upstream freshness on both fleet forks (#12235)
f928a83
Daily 14:30 UTC probe judges each fork's sync-upstream with
scripts/fleet/fleet-sync-probe.py: a successful scheduled run within
30h and no failed latest run. A stale or failing sync opens or updates
one alert issue (meta/fleet-sync-probe); a green probe closes it.
The org fork's schedule has not fired since 2026-11-05 — silent for
16 days — which this probe would have surfaced within a day.
@dezren39
dezren39 requested a review from a team as a code owner November 23, 2026 00:03
@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 57 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 7a8ad62a-b3a7-4a10-9b5f-acfa8f7a9dbf
Commits

Reviewing files that changed from the base of the PR and between 671dcd1 and ea9df88.

Files selected for processing: 5

  • .github/scripts/fleet-sync-probe.test.sh
  • .github/workflows/fleet-sync-probe.yml
  • .github/workflows/workflow-lint.yml
  • doc/fleet-schedule-registry.md
  • scripts/fleet/fleet-sync-probe.py
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T00:11:31.583627Z f928a83 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39 dezren39 mentioned this pull request Nov 23, 2026
fleet: converge fleet-run.yml across the three fleet copies (org sync failing since 2026-11-05) #12235
Closed
chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Nov 23, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f928a831f6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread .github/workflows/fleet-sync-probe.yml
Comment on lines +21 to +22
schedule:
- cron: "30 14 * * *"

@chatgpt-codex-connector chatgpt-codex-connector Bot Nov 23, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Register the new daily fleet sync probe schedule

The new daily trigger is absent from doc/fleet-schedule-registry.md, whose GitHub Actions section inventories recurring workflow probes. Add this probe's cadence, scope, owner, and stop criteria in the same change so the placement audit can discover it. The repository explicitly requires same-pass registration for schedules on any surface and classifies omissions as defects.

AGENTS.md reference: AGENTS.md:L60-L65

Useful? React with 👍 / 👎.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@dezren39 dezren39 Nov 23, 2026

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in ea9df88: see commit. Dispositioned by shepherd (task 21091).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread scripts/fleet/fleet-sync-probe.py Outdated
Comment on lines +79 to +80
parser = argparse.ArgumentParser(
description="Judge one fleet fork's sync-upstream freshness (#12235).")

@chatgpt-codex-connector chatgpt-codex-connector Bot Nov 23, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Disable implicit option abbreviations in the strict parser

With argparse's default allow_abbrev=True, undeclared flags such as --max-age-hour, --rep, and --runs-jso are accepted as abbreviations and proceed to read the input file instead of producing a usage error. Set allow_abbrev=False to enforce the repository's explicit requirement that unknown and typo'd flags be rejected before side effects.

AGENTS.md reference: AGENTS.md:L44-L47

Useful? React with 👍 / 👎.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@dezren39 dezren39 Nov 23, 2026

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in ea9df88: see commit. Dispositioned by shepherd (task 21091).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread .github/workflows/fleet-sync-probe.yml Outdated
Comment on lines +51 to +52
if ! gh api "repos/${repo}/actions/workflows/sync-upstream.yml/runs?per_page=10" \
--jq '.workflow_runs' > "/tmp/runs-${slug}.json"; then

@chatgpt-codex-connector chatgpt-codex-connector Bot Nov 23, 2026

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Retrieve scheduled runs beyond the first ten results

If ten manual dispatches follow a successful scheduled sync within the 30-hour window, this request excludes that scheduled success. The Python probe then reports no successful scheduled sync ever and the alert step opens or keeps open an issue despite a healthy schedule. Retrieve scheduled successes separately or fetch sufficient history to cover the freshness window; gh api --help documents --paginate as making additional requests to fetch all pages, but this workflow requests only the first ten runs.

Useful? React with 👍 / 👎.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@dezren39 dezren39 Nov 23, 2026

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Addressed in ea9df88: see commit. Dispositioned by shepherd (task 21091).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@dezren39
fix(fleet): disposition Codex review findings on sync probe (#12235)
ea9df88
- strict parser: allow_abbrev=False so abbreviated flags are rejected
- register fleet-sync-probe in doc/fleet-schedule-registry.md
- widen runs fetch from per_page=10 to per_page=100
@dezren39
dezren39 merged commit 99cb304 into main Nov 23, 2026
1 check passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the xaltha/12235-fleet-sync-probe branch November 23, 2026 01:00
@dezren39 dezren39 mentioned this pull request Nov 23, 2026
fleet: ready PRs are left unmerged (20 open; the merge sweep has filed nothing since 2026-11-17) #12280
Open
@dezren39 dezren39 added the audit:partial PR partially implemented; gap filed label Nov 24, 2026
@dezren39 dezren39 mentioned this pull request Nov 24, 2026
AUDIT-7 Lane 4 — MERGED-PR-AUDIT: merged PRs since 2026-10-23 vs their spawning issues #13879
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chatgpt-codex-connector chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

audit:partial PR partially implemented; gap filed

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
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.
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.