You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Validate workflow update failure and recovery paths end to end #14
Prove that the update architecture fails safely before scaling it to many workflows and repositories.
Scenario status
downstream patch no longer applies after an upstream change;
upstream content does not match the expected SHA-256;
generated template drifts from vendored source + patches;
invalid catalog source fails before partially modifying the catalog;
consumer update encounters local divergence and refuses to overwrite it;
one template fails while other tracked templates can still render successfully;
broken patch preserves a previous known-good generated template;
missing cross-repository credential now fails early with a clear diagnostic;
validate catalog publication/reconciliation against a real target repository;
validate consumer divergence/failure recovery against a real target repository.
Expected behavior
preserve previous known-good generated/published output where appropriate;
surface a clear diagnostic;
create a draft PR when human intervention is the intended recovery path;
never silently publish a partially invalid workflow;
make recovery reproducible after patch/configuration correction.
Current implementation
PR #21 added the missing recovery assertions and explicit token preflight.
Production validation of cross-repository publication/synchronization is blocked by #20 because the scoped cross-repository credential is not configured yet.
Acceptance criteria
Each scenario has an automated test or a documented integration test with the observed result.
Production validation now confirms successful GitHub App authentication, catalog reconciliation, consumer adoption and consumer no-op behavior. The remaining integration scenario is an intentional real-target consumer divergence/failure followed by recovery.
Validated the remaining real-target recovery scenario with LibreCodeCoop/profile_fields.
Observed behavior:
the first consumer sync detected an unexplained local divergence in .github/workflows/reuse.yml;
the sync Action refused to overwrite the local workflow;
the workflow failed with a clear diagnostic identifying the divergent file;
the consumer workflow was aligned intentionally with the organization template;
the next sync completed successfully;
the generated update PR passed REUSE after adding the required CC0 license text and was merged.
This completes the real consumer divergence/failure/recovery scenario. Automated tests continue to cover broken patch, lock and rendering failure paths.
Activity
vitormattos commentedon Sep 20, 2026
Validated the remaining real-target recovery scenario with
LibreCodeCoop/profile_fields.Observed behavior:
.github/workflows/reuse.yml;This completes the real consumer divergence/failure/recovery scenario. Automated tests continue to cover broken patch, lock and rendering failure paths.