Skip to content

fix(cloud): Reconstruct launch state from GCE inventory#218

Merged
fuyu0425 merged 4 commits into
mainfrom
fix/cloud-reconstruct-launch-state
Apr 29, 2026
Merged

fix(cloud): Reconstruct launch state from GCE inventory#218
fuyu0425 merged 4 commits into
mainfrom
fix/cloud-reconstruct-launch-state

Conversation

@fuyu0425

Copy link
Copy Markdown
Member

Summary

  • Reconstruct missing local cloud launch state from live GCE orchestrator metadata and role-labeled worker/evaluator inventory.
  • Preserve runtime-added fleet identity across project, region, labels, owner, and IAP so takeover commands can list, SSH, collect, and teardown.
  • Tune the remaining2 GCE worker placements to the current usable quota layout.

Testing

  • uv run pytest tests/test_cloud_command.py::TestReconnect::test_resolve_cloud_context_reconstructs_state_from_live_orchestrator tests/test_cloud_command.py::TestReconnect::test_resolve_cloud_context_reconstructs_runtime_added_worker_fleets tests/test_cloud_command.py::TestReconnect::test_gce_live_role_discovery_scans_whole_configured_project tests/test_cloud_command.py::TestReconnect::test_gce_live_role_discovery_dedupes_by_project_zone_and_name tests/test_cloud_gce_provisioner.py::test_google_compute_client_lists_project_instances_from_aggregated_list tests/test_cloud_gce_provisioner.py::test_google_compute_client_lists_region_instances_from_aggregated_list
  • scripts/ci-tests/run-local.sh checks (4120 passed, 38 skipped)
  • Post-commit review agent: no blocking findings

Notes

  • Local untracked .gitignore.local and target.org are not part of this PR.

@fuyu0425 fuyu0425 merged commit c4cfb59 into main Apr 29, 2026
5 checks passed
@fuyu0425 fuyu0425 deleted the fix/cloud-reconstruct-launch-state branch April 29, 2026 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant