Skip to content

Conversation

@jprieto-temporal
Copy link
Contributor

@jprieto-temporal jprieto-temporal commented Jan 6, 2026

What changed?

Remove explicit lifecycle status tracking from the namespace registry.
Updated tests to guarantee Stop is called exactly once.

Why?

The namespace registry is managed by fx lifecycle hooks, which guarantee Start() and Stop() are called exactly once in order. The status tracking was defensive code that duplicated guarantees already provided by fx. Other components like the Nexus endpoint registry already rely on fx without internal status tracking.

How did you test it?

  • built
  • run locally and tested manually
  • covered by existing tests
  • added new unit test(s)
  • added new functional test(s)

Potential risks

Tests call Start() and Stop() directly rather than through fx. These calls are no longer idempotent so behavior is undefined if a test misuses them. Existing tests are correct.

@jprieto-temporal jprieto-temporal requested review from a team as code owners January 6, 2026 21:34
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