Skip to content

i18n: name the three reconnect states the card could not tell apart - #4241

Merged
meshweaver-cloud[bot] merged 1 commit into
mainfrom
i18n/1808-reconnect-states
Sep 13, 2026
Merged

meshweaver-cloud[bot] merged 1 commit into
mainfrom
i18n/1808-reconnect-states

Conversation

@rbuergi

@rbuergi rbuergi commented Sep 13, 2026

Copy link
Copy Markdown
Contributor

What this is

Three localization keys, English and German, for the portal's Blazor reconnect card. Nothing in
this repository consumes them
; the card that does is Systemorph/MeshWeaver.Plugins#1808, and it
lands after this so that no viewer ever sees a raw key.

Why

The card has ONE detail line and Blazor puts it up in FOUR states — components-reconnect-show
(attempting), -retrying (retry in flight), -failed (retries exhausted) and -rejected (the
server does not know this circuit, which is what a deploy leaves behind). The catalog held a
sentence for the last of those only, error.serverUpdated, so the portal told every one of the four
the rejected story.

That is not a cosmetic problem. MeshWeaver.Education's install e2e captured the card in its failure
snapshot (run 34746374529):

- text: Reconnecting… The server was updated. Reloading the page to pick up the latest version.
- 'button "Version: 3.0.0-ci.8457 · Instance: b61a392210de Last deployed 09-13 08:21."'

The server had not been updated — the same snapshot names the running set and the deploy time, the
container reported RestartCount=0 ExitCode=0 OOMKilled=false, and the portal log shows one
uninterrupted process from 08:21:01. A reader handed "the server was updated" in the evidence has
to disprove it before they can start.

The keys

key en de
error.reconnectInterrupted The connection to the server was interrupted. Trying to restore it… Die Verbindung zum Server wurde unterbrochen. Sie wird wiederhergestellt…
error.reconnectRetrying Trying again… Neuer Versuch…
error.reconnectFailed The connection could not be restored. Reloading the page… Die Verbindung konnte nicht wiederhergestellt werden. Die Seite wird neu geladen…

The first says nothing about WHY, on purpose: at that point nothing is known, and a card that
guesses is the defect being fixed. error.serverUpdated is untouched and keeps its one honest home,
rejected.

Verification

dotnet build src/MeshWeaver.Messaging.Hub -c Release -warnaserror → 0 Warning(s) 0 Error(s).
MeshWeaver.Messaging.Hub.Test → Passed! Failed: 0, Passed: 58 — which includes LocalizationTest,
the completeness check that fails when a shipped language misses an English key.

Mirror-sync: npm run sync:i18n -- --ref <this PR's merged core sha> is owed on
MeshWeaver.Plugins/clients/react/src/i18n/ and is carried by Systemorph/MeshWeaver.Plugins#1808,
the PR that consumes these keys — it moves catalog-source.json in the same change set. Three added
keys, zero value changes to existing ones, so the mirror's value-drift guard is not red today and
this is debt being tracked, not a break.

🤖 Generated with Claude Code

The portal's reconnect card has one detail line and four states behind it
(`show`, `retrying`, `failed`, `rejected`). The catalog only had a sentence
for the last of them — `error.serverUpdated` — so a card that wanted to say
what had actually happened had nothing to say it with, and the portal told
every state the `rejected` story.

Three keys, en + de:

* `error.reconnectInterrupted` — the connection dropped and is being
  restored. Deliberately says nothing about WHY: at this point nothing is
  known, and a card that guesses is what MeshWeaver.Plugins#1808 is about.
* `error.reconnectRetrying` — a retry is in flight.
* `error.reconnectFailed` — the retries are exhausted and the page reloads.

`error.serverUpdated` stays exactly as it is and keeps its one honest home,
`rejected` (the server does not know this circuit — what a deploy leaves
behind). Nothing consumes the new keys in this repo; the portal card that
does is MeshWeaver.Plugins#1808, and it lands after this.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 13, 2026 21:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No unresolved review issues were identified.

Pull request overview

Adds English and German localization keys for three Blazor reconnect states.

Changes:

  • Added three English reconnect messages.
  • Added matching German translations.
  • Preserved error.serverUpdated.
File summaries
File Description
src/MeshWeaver.Messaging.Hub/Localization/strings.en.json Adds English reconnect-state translations.
src/MeshWeaver.Messaging.Hub/Localization/strings.de.json Adds corresponding German translations.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results (shard 0)

262 tests  ±0   262 ✅ ±0   2m 23s ⏱️ +11s
  1 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit 2fdff6b. ± Comparison against base commit e0e4aef.

@github-actions

github-actions Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Test Results (shard 1)

1 443 tests  ±0   1 443 ✅ ±0   2m 14s ⏱️ -5s
    2 suites ±0       0 💤 ±0 
    2 files   ±0       0 ❌ ±0 

Results for commit 2fdff6b. ± Comparison against base commit e0e4aef.

♻️ This comment has been updated with latest results.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results (shard 2)

898 tests  ±0   898 ✅ ±0   3m 27s ⏱️ +7s
  2 suites ±0     0 💤 ±0 
  2 files   ±0     0 ❌ ±0 

Results for commit 2fdff6b. ± Comparison against base commit e0e4aef.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results (shard 5)

    6 files  ±0      6 suites  ±0   4m 23s ⏱️ -14s
2 097 tests ±0  2 097 ✅ ±0  0 💤 ±0  0 ❌ ±0 
2 101 runs  ±0  2 101 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 2fdff6b. ± Comparison against base commit e0e4aef.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results (shard 4)

1 831 tests  ±0   1 639 ✅ ±0   4m 45s ⏱️ -5s
    4 suites ±0     192 💤 ±0 
    4 files   ±0       0 ❌ ±0 

Results for commit 2fdff6b. ± Comparison against base commit e0e4aef.

@github-actions

Copy link
Copy Markdown
Contributor

Test Results (shard 3)

1 047 tests  ±0   1 045 ✅ ±0   6m 3s ⏱️ -18s
    3 suites ±0       2 💤 ±0 
    3 files   ±0       0 ❌ ±0 

Results for commit 2fdff6b. ± Comparison against base commit e0e4aef.

@github-actions

github-actions Bot commented Sep 13, 2026 •

Copy link
Copy Markdown
Contributor

Test Results

   18 files  ±0     18 suites  ±0   23m 18s ⏱️ -24s
7 578 tests ±0  7 384 ✅ ±0  194 💤 ±0  0 ❌ ±0 
7 582 runs  ±0  7 388 ✅ ±0  194 💤 ±0  0 ❌ ±0 

Results for commit 2fdff6b. ± Comparison against base commit e0e4aef.

♻️ This comment has been updated with latest results.

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