Repository navigation
ci: preserve per-cell artifacts across failed-job reruns - #1074
Draft
kbattocchi wants to merge 1 commit into
Draft
kbattocchi wants to merge 1 commit into
kbattocchi wants to merge 1 commit into
Conversation
Keep merge-artifacts inputs at default retention so subsequent attempts combine successful cells from earlier attempts with the newest rerun cells. Preserve continue-on-error for genuinely absent artifact kinds; leave merge-lkg and package publishing unchanged. Verified with throwaway run 39297949510 attempts 1 and 2: retained pattern and merge selected a1+b2; deleted inputs produced only b2. By-name downloads selected the newest merged artifact. Remove the throwaway workflow from the final change. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 373d7e7e-c5b4-4e88-9946-890209bbca88 Signed-off-by: Keith Battocchi <kebatt@microsoft.com>
kbattocchi
force-pushed
the
kebatt/artifact-attempts-repro
branch
from
October 20, 2026 13:25
60c7136 to
235f3da
Compare
This branch has not been deployed
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.
Stacked on #1071. Set
delete-merged: falseinmerge-artifactsso “Re-run failed jobs” can combine earlier successful cells with the newest rerun cells. Per-cell uploads retain the default retention;continue-on-error: true,merge-lkg, package publishing, and workflow triggers are unchanged. The throwaway workflow is removed; the branch contains one signed-off fix commit.Evidence: run 39297949510, attempts 1 and 2 (
--failed); attempt 2 passed. Pattern download and merge selected cell a/attempt 1 (12209657678) plus cell b/attempt 2 (12228174755), excluding old b (12207474016). By-name download selected new completecombined-kept(12228269859), not old12213779733. The deletion control instead produced only b/attempt 2, and by-name selected new partialcombined-deleted(12229165485) over old complete12214714377. Assertions checked filenames, contents, and absence of stale files. This confirms newest-per-name selection across attempts for all three surfaces.Local validation: YAML parsing, semantic comparison confirming only the intended boolean changes, and whitespace checks. GitHub created Run all checks 39430338009 for commit
235f3da019cb5c2e3d965737d913c87f39d4ebe1, eventpull_request, associated with this stacked PR; it was queued when checked. No trigger changes were made. Coordinate with #1055's LKG redesign, which consumesrequirements-*artifacts by pattern.