Skip to content

fix: ensure dev resources reliably appear in multiplexer on startup#6335

Closed
execute008 wants to merge 3 commits intoanomalyco:devfrom
execute008:dev
Closed

fix: ensure dev resources reliably appear in multiplexer on startup#6335
execute008 wants to merge 3 commits intoanomalyco:devfrom
execute008:dev

Conversation

@execute008
Copy link
Copy Markdown

  • Subscribe to CompleteEvent before deployer starts to avoid missing events
  • Use PostEventWait instead of PostEvent to prevent event dropping when queue is full
  • Add procChan buffer and ready channel for proper initialization synchronization
  • Extract helper functions for processing CompleteEvent in multi/mono modes

Fixes #6011

- Subscribe to CompleteEvent before deployer starts to avoid missing events
- Use PostEventWait instead of PostEvent to prevent event dropping when queue is full
- Add procChan buffer and ready channel for proper initialization synchronization
- Extract helper functions for processing CompleteEvent in multi/mono modes

Fixes anomalyco#6011
Skip old CompleteEvents that contain stale deployment data to ensure
dev processes receive complete link information.
@vimtor
Copy link
Copy Markdown
Collaborator

vimtor commented Feb 17, 2026

thanks for your contribution

closed in favour of #6402

@vimtor vimtor closed this Feb 17, 2026
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.

Inconsistent startup of dev resources (sst.aws.StaticSite, sst.aws.Service, sst.x.DevCommand...)

2 participants