Skip to content

Prevent implicit bootstrap and add shutdown-specific priority - #1

Merged
GedMarc merged 1 commit into
masterfrom
fix/runtime-lifecycle-ownership
Sep 14, 2026
Merged

GedMarc merged 1 commit into
masterfrom
fix/runtime-lifecycle-ownership

Conversation

@GedMarc

@GedMarc GedMarc commented Sep 14, 2026

Copy link
Copy Markdown
Member

Creating or subscribing to a Mutiny Uni must not start the application. Resolve call scope only through an existing injector, propagate real scope-provider failures, and add a backward-compatible shutdownSortOrder contract.

Validation: Full client suite: 126 tests passed, including five bootstrap/scope regression checks.

Draft acceptance gate: review the coordinated library changes and build compatible artifacts before consumer CI or full local runtime acceptance. This PR does not publish Maven artifacts, migrate existing databases, or deploy applications.
Uses 2.2.3-SNAPSHOT to keep local validation separate from released 2.2.3 artifacts.

Consumer coordination: https://github.com/NE1-World/platform/pull/13.

Hosted CI: the initial builder failed before compilation because the shared Maven download URL returns 404. Prerequisite fix: GuicedEE/Workflows#1. Rerun CI after that reviewed change is integrated; local tests do not establish hosted CI success.

@GedMarc
GedMarc marked this pull request as ready for review September 14, 2026 15:38
@GedMarc
GedMarc merged commit db9de52 into master Sep 14, 2026
4 of 5 checks passed
GedMarc added a commit to GuicedEE/GuicedInjection that referenced this pull request Sep 14, 2026
Failed injector construction and asynchronous startup now fail
readiness. The opt-in GuiceApplication process boundary waits for
readiness, cleans up failed startup within a deadline, and makes process
destruction terminal and idempotent. Destroy hooks use shutdown priority
and class-name ordering without dropping tied providers.

Validation: Full injector suite: 12 tests passed, including four
fresh-JVM readiness/failure/order probes. Earlier NE1 consumer checks
exercised both main entry points, timeout/interruption, concurrent
cleanup and failure deadlines; full domain startup remains unverified.

Companion dependencies: GuicedEE/Client#1.

Draft acceptance gate: review the coordinated library changes and build
compatible artifacts before consumer CI or full local runtime
acceptance. This PR does not publish Maven artifacts, migrate existing
databases, or deploy applications.
Uses 2.2.3-SNAPSHOT to keep local validation separate from released
2.2.3 artifacts.

Consumer coordination: NE1-World/platform#13.

Hosted CI: the initial builder failed before compilation because the
shared Maven download URL returns 404. Prerequisite fix:
GuicedEE/Workflows#1. Rerun CI after that
reviewed change is integrated; local tests do not establish hosted CI
success.
This PR also gates feature reviews to verification with skipDeploy=true;
feature-branch pushes no longer invoke the deployment path.
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