Forge: resume failed runs from continuation markers#8492
Open
kimeta wants to merge 2 commits into
Open
Conversation
67a0d97 to
7fec8bc
Compare
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.
Closes #8486
Forge failed-run preservation already keeps the work branch available for human intervention, but the next automated run had no durable machine state for deciding which phase could be skipped. This adds a schema-backed
.continuation-marker.jsonand uses it as the resume contract for setup, fix, explore, finalization, and publication, matching the run-continuation phase model in §FS-forge-run-continuation.What this does
--continuation-marker-paththrough the dispatcher and relevant workflow drivers so resumed runs can skip deterministic setup or agent phases that already completed.What passed
The verification artifact is
runtime/issues/work/issue-8486-verification.md.git diff --checkpassed for the full Forge diff before commit.python3 -m compileallpassed for the changed Forge Python files.python3 forge_metadata.py --fixture-testing --issue-number 9101 --strategy-name dynamic_access_main_sources_pi_gpt-5.5 --reachability-metadata-path .. --keep-tests-without-dynamic-access.17/17dynamic-access coverage, passed native verification, passed post-generation tests for the configured GraalVM matrix, passedcheckMetadataFiles, repaired checkstyle through the built-in Pi fix, generated metrics, and completed fixture dry-run publication.DynamicAccessIterativeStrategyreads marker-backed EXPLORE exhausted classes, de-duplicates them, and ignores invalid entries..continuation-marker.jsonout of the tracked PR branch, and records the branch as pushed after the push step.Live GitHub Forge E2E was not run because the repository docs require an explicit user request for live mutation. The fixture E2E verified a marker-enabled successful run; preserved-branch resume paths other than the publication branch-reuse simulation were reviewed locally rather than exercised against live GitHub state.