Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Consolidate event log names for better user experience #583

Merged
merged 5 commits into from
Apr 25, 2023

Conversation

VDubber
Copy link
Contributor

@VDubber VDubber commented Apr 17, 2023

  • prettier

@VDubber VDubber requested a review from a team as a code owner April 17, 2023 21:26
@VDubber VDubber added minor Increment the minor version when merged release Create a release when this pr is merged labels Apr 17, 2023
logger.publishInfoEvent({
name: '[service_disabled]' as IntegrationInfoEventName,
logger.publishWarnEvent({
name: 'step_skip' as IntegrationWarnEventName,
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this outside of the allowed values for IntegrationWarnEventName? What's the reason for type casting it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, currently that is true.
My focus is to first get the new job status out the door. Follow on work will include adding all used eventNames to the sdk. Most event names are currently strings scattered throughout integrations and even the sdk.

src/utils/events.ts Outdated Show resolved Hide resolved
publishEvent -> publishWarnEvent

Co-authored-by: Nick Dowmon <[email protected]>
@VDubber VDubber requested review from ndowmon and zemberdotnet April 19, 2023 21:05
@VDubber VDubber merged commit 27bbada into main Apr 25, 2023
@VDubber VDubber deleted the INT-7753-consolidate-event-names branch April 25, 2023 19:26
@j1-internal-automation
Copy link
Collaborator

🚀 PR was released in v2.25.0 🚀

@j1-internal-automation j1-internal-automation added the released This issue/pull request has been released. label Apr 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
minor Increment the minor version when merged release Create a release when this pr is merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants