Skip to content

ci: classify registry sync failures and record Workflow source - #726

Open
intel352 wants to merge 2 commits into
mainfrom
fix/registry-sync-diagnostics-20261119
Open

intel352 wants to merge 2 commits into
mainfrom
fix/registry-sync-diagnostics-20261119

Conversation

@intel352

@intel352 intel352 commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

The combined manifest-drift step currently makes command failures, marker outcomes, validator failures and Git diff errors difficult to distinguish. This change reports fixed phase/outcome labels, numeric exit status and bounded Atlas validation categories while keeping captured child output private. Full sync also records the exact checked-out Workflow commit when available; it does not claim that commit identifies the installed wfctl binary or proves core inspection succeeded.

Only two files change: .github/workflows/sync-registry-manifests.yml and tests/test-sync-diagnostics.sh. Permissions, triggers, CLI pins, concurrency, validation strictness and PR-handling logic are unchanged. Missing or unwritable optional provenance remains nonfatal; real command, validation and Git diff errors remain failures.

Exact source:

  • Head c280160326911460774229dd37750be8803f0430, tree 8a4c710086b64f91a845ebd31f1396baf30120ca.
  • Refresh parents in order: previous topic 223e8f0e1e7ec3916878cb147c0e4ea1a10d947d, then main f3422a30c94fbda4a990b64d6672f99bfceecb6a. The two reviewed file changes are unchanged.
  • Complete reviewed diff SHA-256 a3312baeb98c943e8e576c0e96e0ece43286631480409316ca40c89d394abc2b.

Before the base refresh, the same two files passed all 23 local mocked cases: 15 diagnostics cases plus eight provenance cases, including archive-only/driver-only rejection, failures/recovery, malformed provenance, parent-repository discovery and summary-write failures. Shell/YAML syntax and whitespace checks passed. Independent exact source/security review: SHIP-IT, no findings. Business commands were stubbed; no real sync, network call or production operation was used for those tests.

Draft for ordinary PR validation and review. No prior scheduled failure cause or recovery is established by this patch. No Atlas repair, release, wfctl pin adoption, live reconciliation, Pages publication or deployment is included. Fresh hosted checks on the refreshed head passed: Validate Registry and CodeQL. The 23 local cases were not rerun or included in those hosted checks. Redaction is limited to the updated diagnostic step; a separate re-sync helper still logs its own output.

@intel352
intel352 marked this pull request as ready for review December 2, 2026 09:23

This branch has not been deployed

No deployments
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.

2 participants