Skip to content

Conversation

@sjmiller609
Copy link
Collaborator

@sjmiller609 sjmiller609 commented Jan 21, 2026

Note

Enables stop/start of instances with networking by refining name-uniqueness checks and aligning tests with network initialization.

  • Updates Manager interface and implementation: NameExists(ctx, name, excludeInstanceID); skips the provided instance ID during checks
  • Modifies CreateAllocation to use the new signature so restarts don't conflict with the instance’s own name
  • Test harness now configures network (BridgeName, SubnetCIDR, DNSServer) and calls NetworkManager.Initialize(...); ApiService includes NetworkManager
  • Lifecycle test runs with network.enabled=true to cover stop/start with networking

Written by Cursor Bugbot for commit cbf891d. This will update automatically on new commits. Configure here.

@sjmiller609 sjmiller609 force-pushed the fix-start-instance-with-network branch from fb8412e to cbf891d Compare January 21, 2026 14:58
Copy link
Contributor

@hiroTamada hiroTamada left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clean fix for the stop/start name collision issue. excluding the instance from its own uniqueness check is the right approach.

@sjmiller609 sjmiller609 merged commit 57b83c1 into main Jan 21, 2026
4 of 5 checks passed
@sjmiller609 sjmiller609 deleted the fix-start-instance-with-network branch January 21, 2026 18:25
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.

3 participants