Conversation
Signed-off-by: duanjialing.777 <duanjialing.777@bytedance.com>
Signed-off-by: duanjialing.777 <duanjialing.777@bytedance.com>
Contributor
Author
|
Exact-head CI triage for
This branch intentionally does not duplicate #4906. I will merge current |
Signed-off-by: duanjialing.777 <duanjialing.777@bytedance.com>
Signed-off-by: duanjialing.777 <duanjialing.777@bytedance.com>
…ed-goal-state Signed-off-by: duanjialing.777 <duanjialing.777@bytedance.com>
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.
Goal And Delivered Outcome
diagnose --goal-idstill treated the same state as ordinary unregistered absence and recommended connect/sync.ok=true,machine_signal=not_connected_or_not_projected, and a quota drill-down before this change. It now returns exit 1,diagnosis_blocked_by=orphaned_goal_state, the existing orphan gate and only its read-only status/backup-preview commands.main.Scope And Continuation
diagnosesurfacing item from [Bug]: Guard orphaned Goal state before guided bootstrap or host activation #4801 for an explicitly requested Goal whose status snapshot confirms it is absent from the registry. It reuses the existing four-root orphan detector and resolution gate. Project-local archive/adopt and opaque Goal instance identity remain open in [Bug]: Guard orphaned Goal state before guided bootstrap or host activation #4801.Validation
a595fe5fb96aa0b4a46df224ff4a31db0928b1e3regression_paritypasseddiagnoseexited 0; it passes on this head with a blocking orphan signal and no quota or--executecommand.unitpassedreal_entrypointpassedloopx diagnose --goal-id reset-goalreturnedok=false, preservedstatus_ok=true, reported the relative surviving-state route, and exposed only status plus backup preview. Default Markdown renders the same gate.integrationpassedagent-diagnose-packet-smoke.py,bootstrap-command-pack-smoke.py, andstatus-neutral-run-window-smoke.pypassed.staticpassedgit diff --check, the 14-test maintainability ratchet, and the public-boundary scan passed. The exact-head semantic vocabulary and frozen incident-retrodiction checks pass after keeping the diagnostic action out of the typed quota-action field. A standalone mypy run reports the same 10 pre-existingloopx/diagnose.pyerrors on base and head..loopx,.codex,.claude, and.localGoal-state roots. This change tests the public JSON and Markdown diagnose surfaces plus a no-state negative twin.diagnosewithout an explicit Goal id does not scan arbitrary orphan directories; [Bug]: Guard orphaned Goal state before guided bootstrap or host activation #4801 is scoped to the requested id. Invalid registry JSON remains a distinct fail-closed collection error rather than being reclassified here.See validation disclosure guidance.
Frontend / Visual Evidence
Type of Change
LoopX Area
Technical Direction
Shared-authority RFC fixture impact
Boundary Checklist
none.Signed-off-bytrailer (git commit -s).