Repository navigation
feat(events): english and french task notifications, events queue always started - #99
Merged
Merged
Conversation
…ays started
- the task, review-unavailable and injection-suspected events send { en, fr } titles,
written next to the function that builds each event
- the events queue starts unconditionally (inactive without the events url), pushTaskEvent
no longer checks the config
- unit tests read the title through a small titleOf() helper
- docs/architecture/planned-tasks.md follows
- topic keys unchanged
The events UI reads internalProcess.title: with a name only, the task, tripwire and review events showed a generic "Internal process". The unit test that compared the originator literal is dropped, it only repeated the constant. describeSource takes the language, so the French title of the injection event no longer rewrites it.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
{ en, fr }titles, written next to the function that builds each event. Bodies (the run's error, the agent's summary) stay as is.pushTaskEventno longer checks the config.originator.internalProcess.title(it wasname, which the events UI does not show).describeSourcetakes the language.docs/architecture/planned-tasks.mdfollows.Part of the platform-wide fr/en pass of the events (catalogs data-fair/catalogs#46, portals, processings, data-fair, simple-directory, customers, agents), following the standard of the
data-fair-serviceskill (references/events.mdin data-fair/lib). Topic keys are unchanged, so users' subscriptions keep working. No release order: the events service already accepts{ en, fr }titles, and the inactive queue without events url is in @data-fair/lib-node since 2.17.0.