Repository navigation
refactor(ci): drop the dead git identity plumbing from the scaffolded release workflows - #1472
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
#1467 replaced the scaffolded orchestrator's rollback (
git reset --hard+ force-push under a configured git identity) with the guarded Git Data API revert — the last consumer of thegit_user_name/git_user_emailvalues threaded through the release workflows. This removes the dead plumbing everywhere, caller and callee in lockstep.The set turned out larger than #1467's "three workflows" note: four workflows × two copies:
release.yml:workflow_dispatchinputs + the forward into therelease-corecallrelease-core.yml:workflow_calldeclarations (zero use sites in the file)prepare-release.yml(devkit's own + scaffold): dispatch inputs + the forward into the extension callprepare-release-extension.yml(devkit's own + scaffold): seam template declarations (the default no-op never reads them)Plus the contract docs (
docs/DOWNSTREAM_RELEASE.md+ scaffold copy). Devkit's ownrelease.ymlwas already clean (bespoke, zero hits) and is untouched. Historical archives and released changelog entries deliberately kept.Consumer safety
This is a
workflow_call/seam interface change, hence thesemver:minorlabel and the### Removedchangelog entry under 1.8.0. Orchestrator and core ship together via the scaffold, so caller and callee change in lockstep — no consumer action beyond the normal upgrade. All six reachable consumers' preservedprepare-release-extension.ymlcopies (commit-action, sync-issues-action, org-config, devkit-smoke-test, vault, exo-fleet) were checked: they declare the pair but have zero use sites, and since the inputs are optional with declared defaults, a stale preserved copy stays valid against the upgraded caller. The one genuine surface change: the (never-exercised) dispatch knob for a custom release-commit identity is gone — all release writes are App-identity API commits.Tests
TDD:
test(ci)commit landed RED first (5 failed / 32 passed — exactly the new absence assertions).test_scaffold_orchestrator_keeps_the_dispatch_identity_inputsrewritten to..._drops_...(also pins the release-core declarations and the core-callwith:, keeps the App-token rollback assertions); the pair dropped fromREQUIRED_INPUTSintest_workflow_prepare_extension.pyplus two absence tests parametrized over both extension copies.Verification (direct exit codes): workflow suites 66 passed; broad
pytest tests/(excl. image/integration/flake) 534 passed;actionlinton the two touched devkit workflows clean; rendered-tree actionlint bats 6/6; after merging in the updatedrelease/1.8.0(#1468 landed mid-flight; clean auto-merge, changelog union verified, mirror byte-identical): fullinit-workspace.bats252/252 ok and fullprek run --all-filesexit 0.Closes #1470