Repository navigation
Conversation
Collaborator
|
Code Review: ISSUES FOUND Reviewed changes: When checking whether a Runner run can reconnect, a Issue found: P2 — Merge conflict with main: loopforge-pr-review:fad600b29824a65df9283105aaa095b04097f780 |
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.
What changed
Retrying a failed child SOP on a pinned Runner could leave its parent run failed. Reconnect validation looked for an agent on the parent SOP node, which has no agent of its own.
After checking that the pinned Runner exists and is online, skip executor-provider lookup for the parent SOP node. The child still validates its executable nodes. The regression test verifies that the parent resumes and keeps the original child run ID.
This addresses the Runner reconnect case described in #1282.
Scope
Compatibility
Existing Runner bindings, run state, and protocols are used. No migration is required.
Validation
mainthat the new regression test fails with the parent still infailedbefore the fix and passes with the fix.go test ./internal/engine -run '^(TestSOP|TestRunnerCallbacksPathsBindingsAndReconnect)' -count=1 -timeout=120spassed.bash scripts/build-chatbot.shpassed, including 534 tests.go vet ./...,python3 scripts/check-public.py,bash scripts/scan-secrets.sh, andgit diff --checkpassed.go test -p=2 ./... -count=1 -timeout=180shit browser test timeouts, includingTestEnsureRunBrowserRestoresReclaimedWorkspaceWithStaleRunandTestBrowserStreamPushesFramesAndRunsCommands. The engine test timed out during Docker image setup on both the patched and unmodified upstream implementation.Safety