Hub initialization marked FAILED when a shutdown lands mid-init at the StampedFields.LoadDeclaration buildup action, despite the documented shutdown-recognition fix
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Read the MessageHub initialization failure handler and the shutdown recognition logic added by the 2026-08-10 fix, then compare them with MeshWeaver.Graph.Security.StampedFields.LoadDeclaration and the cancellation token path. Check sibling issue #5592 and the older probe-dispose incident fingerprints to distinguish a coverage gap from a regression. Done means shutdown during initialization is recognized as normal, without a fail-level log or FAILED state, with a test covering disposal during LoadDeclaration.
Written by the indexing model from the issue text.
Description
Observed
While the node hub for Admin/Purchases/plan-AgenticBusiness-lehmannmartin77 (memex-cloud) was initializing, its buildup action 2 of 3 — StampedFields.LoadDeclaration, the per-activation read of the node type's stamped-fields declaration (Stamped Fields, "What it costs / per activation") — was cancelled with System.OperationCanceledException: the hub was told to shut down before its initialization completed. The MeshWeaver.Messaging.MessageHub failure path then put the hub in FAILED state and logged at fail level.
This is precisely the outcome the platform documented as fixed on 2026-08-10 (Hub shutdown during initialization no longer reported as failure): initialization that ends because the hub (or its parent) is shutting down is meant to be recognized as a normal shutdown — no error log, no FAILED-state residue. The fail-level line and the FAILED state reappeared here.
Where and when
A single occurrence on one portal pod. The incident falls within the hub's own init window being interrupted by a teardown — the exception text is the recognized-shutdown message, not a genuine data or configuration fault. Nothing at the pod level points to a process shutdown or roll at that instant in the Ops log; a per-hub dispose (a recycle, a DisposeRequest, or a parent-space teardown) is the likely trigger, but the source of the shutdown instruction is not on the incident.
Impact
The hub was being torn down regardless of the fault, and the next access to its address would activate a fresh hub, so no user-visible path is blocked by the failure itself. The impact is the documented guarantee being broken: fail-level noise and FAILED-state residue for a routine shutdown race, i.e. exactly the residue the 2026-08-10 fix removed.
Not established
- Why the shutdown was requested — an operator recycle, a
DisposeRequest, a parent-space teardown, or a hub-idle disposal. Not on the incident. - Whether the hub's FAILED state left live residue after the log line (the hub was being disposed; whether the disposal completed cleanly is not recorded here).
- Where exactly the
OperationCanceledExceptionwas thrown and caught — the incident carries no stack frames, so the path between the cancellation and thefaillog in theMessageHubinitialization failure handler was not read. - Whether the same shape has occurred on other pods or at other hub paths under this fingerprint's masking; only one sample is recorded.
Candidate causes and the reading that separates them
- The shutdown recognition from the 2026-08-10 fix does not cover this buildup action or this exception type. The fix targeted probe hubs racing teardown;
StampedFields.LoadDeclarationis a newer buildup action (the Stamped Fields architecture was last rewritten the day before this occurrence), and anOperationCanceledExceptionfrom the shutdown token may not be classified the same way as theHubDisposingExceptionthe fix handled. Predicts: the failure appears only on hubs whose init includesLoadDeclarationand only when a shutdown lands between buildup actions 1 and 3. Discriminating reading: the version history / diff of the recognition logic in theMessageHubinitialization failure path versus the introduction ofLoadDeclaration; a test that posts aDisposeRequestduringLoadDeclarationon a fresh node hub would show whether the OCE reaches the fail log. - Same classification gap as the filed sibling #5592, one more surface. Systemorph/MeshWeaver#5592 recorded
DataExtensions.StartDataSourcesAndOpenGatefaulting withHubDisposingExceptionduring a parent teardown race and being marked FAILED; this is the same gap (a shutdown-during-init exception treated as a hard initialization failure) atStampedFields.LoadDeclarationwithOperationCanceledException. Predicts: other buildup actions also surface this under a teardown race, each with its own exception type. Discriminating reading: whether #5592's resolution, once landed, also covers theOperationCanceledExceptionpath — if it was resolved narrowly forHubDisposingException, this ticket names the second surface; if broadly, this may be a duplicate to close against it. - A genuine regression of the 2026-08-10 fix. Predicts: the older probe-hub races (which the fix demonstrably quieted) would also reappear in the error logs around the same deployment. Discriminating reading: the Admin log-incidents at the older
ObjectDisposedException/probe-dispose fingerprints (Admin/_LogIncident/4e86cd5956ddddaf) since the current deployment's date — recurrence there would point at a regression, silence there would point at a gap specific to the newer path.
Where to look
- The
MessageHubinitialization failure handler that logs "Hub {path} initialization failed … Hub is now in FAILED state" and the shutdown-recognition logic installed with the 2026-08-10 fix. MeshWeaver.Graph.Security.StampedFields— theLoadDeclarationbuildup action andStampedFieldDeclarationHolder(Stamped Fields, "Where it lives").- The cancellation token path between a hub shutdown instruction and buildup actions in flight.
- Sibling evidence: incident
Admin/_LogIncident/6f9895a929bc8b1b(filed as #5592), same category and same FAILED-state outcome at a different buildup action.
The evidence is consistent with all three candidates; the reading that separates 1/2 from 3 is whether the older fingerprints have recurred since this deployment.
Evidence
| Fingerprint | f7ce6330a2525f2a |
| Category | MeshWeaver.Messaging.MessageHub |
| Severity | Error |
| Exception | System.OperationCanceledException |
| Namespace | memex-cloud |
| Pods | memex-portal-deployment-54856649cb-m2jn9 |
| Occurrences | 1 |
| First seen | 2026-10-13 00:08:12Z |
| Last seen | 2026-10-13 00:08:12Z |
| Routing | not determined — no configured route matches the category MeshWeaver.Messaging.MessageHub. This repository is the configured fallback, not a finding about who owns the fault; the category names the LOGGER, which may not be the subject. |
Recent log lines
2026-10-13 00:08:12Z memex-portal-deployment-54856649cb-m2jn9 fail: MeshWeaver.Messaging.MessageHub[0]
Hub Admin/Purchases/plan-AgenticBusiness-lehmannmartin77 initialization failed — BuildupAction 2 of 3 (StampedFields.LoadDeclaration) faulted (OperationCanceledException: Hub Admin/Purchases/plan-AgenticBusiness-lehmannmartin77 was told to shut down before its initialization completed). Hub is now in FAILED state.
System.OperationCanceledException: Hub Admin/Purchases/plan-AgenticBusiness-lehmannmartin77 was told to shut down before its initialization completed
Opened automatically from Admin/_LogIncident/f7ce6330a2525f2a. Recurrences are folded into this issue rather than opening new ones.
It also stands for the whole log site c4f0569689300af8: other fingerprints of this site fold in here as comments rather than opening tickets of their own.
- Dominant language
- C#
- Stars
- 12
- Forks
- 5
- Avg merge
- 4h 19m
- Merged PRs (30d)
- 932
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Systemorph/MeshWeaver
-
bug sev:M
Difficulty 4/5 3-5 days Newbie friendliness 42/100
Systemorph/MeshWeaver#6647 ·
Maintainers usually reply within 1 day
-
bug sev:M
Difficulty 4/5 3-5 days Newbie friendliness 42/100
Systemorph/MeshWeaver#6646 · 2 comments ·
Maintainers usually reply within 1 day
-
bug sev:M
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Systemorph/MeshWeaver#6645 · 2 comments ·
Maintainers usually reply within 1 day
-
bug sev:M
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Systemorph/MeshWeaver#6644 · 2 comments ·
Maintainers usually reply within 1 day
-
bug sev:M
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Systemorph/MeshWeaver#6643 · 2 comments ·
Maintainers usually reply within 1 day
All issues in Systemorph/MeshWeaver
Similar issues
-
python triage
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
microsoft/semantic-kernel#14590 ·
Maintainers usually reply within 3 days
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
nkdAgility/azure-devops-migration-tools#3226 ·
Maintainers usually reply within 1 day
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
dotnet/maui#39362 · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day