Skip to content

Fail startup reliably and order terminal process cleanup - #4

Merged
GedMarc merged 2 commits into
masterfrom
fix/runtime-lifecycle-ownership
Sep 14, 2026
Merged

GedMarc merged 2 commits into
masterfrom
fix/runtime-lifecycle-ownership

Conversation

@GedMarc

@GedMarc GedMarc commented Sep 14, 2026

Copy link
Copy Markdown
Member

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: 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.
This PR also gates feature reviews to verification with skipDeploy=true; feature-branch pushes no longer invoke the deployment path.

if: >-
github.event_name == 'push' ||
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true)
@GedMarc
GedMarc marked this pull request as ready for review September 14, 2026 15:38
@GedMarc
GedMarc merged commit e4574fe into master Sep 14, 2026
6 of 7 checks passed
@GedMarc
GedMarc deleted the fix/runtime-lifecycle-ownership branch September 14, 2026 15:38
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.

2 participants