Repository navigation
fix(release): the re-cut's failure carries its reason — a bound that faults, not one that substitutes #5152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
meshweaver-cloud
merged 3 commits into
main
from
fix/5011-5057-instruments-that-cannot-report-failure
Sep 21, 2026
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
251 changes: 196 additions & 55 deletions
251
src/MeshWeaver.Compiler.Pipeline/NodeTypeBuildState.cs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Accepted. I checked the premise rather than taking it, and it holds on both halves:
src/MeshWeaver.Data.Contract/LogMessage.cssays it in its own words — an activity transcript is a RENDERED surface,Messagealone cannot be localized (ActivityLog messages are persisted English strings — a rendered surface that cannot be localized (53 sites, 0 localizable) #3236), a localizable entry carriesMessageKey+MessageArgsand is resolved at render time off the viewer locale, withMessageas the English fallback.new LogMessage($"Release created: {newReleasePath}", …).WithKey("activity.compile.releaseCreated", ("path", newReleasePath)). So the keyed pattern is established on this very transcript and the post-condition line is the one that skipped it.It is pre-existing — the unkeyed
new LogMessage(diagnosis, …)came in with #781, not with this diff — but that is not a defence: my diff makes that string longer and richer, which is precisely when the rule applies. Fixing it here.What I am adding:
activity.compile.releasePostCondition.restoredandactivity.compile.releasePostCondition.violatedin bothstrings.en.jsonandstrings.de.json, with the composed parts passed as named arguments, and the existing English sentence kept as the fallback so old persisted rows and any future catalog drift still render as they do today.One thing I want to be explicit about rather than overclaim: the frame becomes localizable, the detail stays English. The arguments are a node path, a release path, a store version, and an exception type plus its message — none of which is translatable, and inventing German for an exception message would be worse than leaving it. A German viewer gets a German sentence around English identifiers, which is what the keyed pattern gives everywhere else on this transcript.
This adds catalog keys, so the PR body now carries the
Mirror-sync:statement the i18n mirror gate wants — the mirror inMeshWeaver.Plugins/clients/react/src/i18n/pins a core commit and reds nothing when a key is added here, so handing the sync over explicitly is the only thing that keeps it from going stale silently.