You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Part of the v11 internal-foundation workstream. See docs/roadmap.md and milestone #6.
Goal
The IBuildExtension lifecycle hooks (IOnBuildCreated, IOnBuildInitialized, IOnTargetRunning, IOnTargetSucceeded, IOnTargetFailed, IOnBuildFinished) are attribute-discovered via reflection. Reimplement them on the new middleware pipeline (#93) so they become DI-registered handlers internally, while the consumer-facing interfaces stay identical for back-compat.
Scope
Internally, lifecycle hooks become ITargetLifecycleListener (internal in v11) — multiple implementations resolved via IEnumerable<ITargetLifecycleListener> from the container.
The orchestrator invokes registered listeners at the right phase transitions.
Existing IOnXyz attribute hooks keep working — scanned at startup, registered as listener instances.
Re-register every CI host integration (TeamCity, Azure Pipelines, GitHub Actions, Jenkins, Bitrise, etc. — ~12) through the new mechanism. Verify each still emits its expected metadata.
Verification
All Fallout.Common.CI.* integrations still emit their CI-specific output. Smoke-test via ./build.ps1 Compile under act or similar for at least one provider.
ITargetLifecycleListener is internal, not exposed to consumers in v11.
Existing extension-hook tests in tests/Fallout.Build.Tests/ pass.
Superseded by the [Foundation] FT-* series (epic #315), which re-decomposes this engine-foundation work with file:line findings and an explicitly backwards-compatible, facade-preserving scope (vs. the obsolete v11 "breaking" framing here). Tracked going forward by: #312 (#FT-7: extension hooks onto the formalized pipeline). Closing to avoid double-counting milestone #6.
Activity
ChrisonSimtian commentedon Jun 16, 2026
Superseded by the [Foundation] FT-* series (epic #315), which re-decomposes this engine-foundation work with file:line findings and an explicitly backwards-compatible, facade-preserving scope (vs. the obsolete v11 "breaking" framing here). Tracked going forward by: #312 (#FT-7: extension hooks onto the formalized pipeline). Closing to avoid double-counting milestone #6.