Skip to content
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

fix: add missing awaits on events #8320

Merged
merged 1 commit into from
Oct 1, 2024
Merged

Conversation

FredrikOseberg
Copy link
Contributor

This PR adds missing awaits on the call to eventStore which were revealed to be fire and forget when we added transactional support for these methods.

Copy link

vercel bot commented Oct 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Oct 1, 2024 0:29am
unleash-monorepo-frontend ⬜️ Ignored (Inspect) Visit Preview Oct 1, 2024 0:29am

Copy link
Contributor

github-actions bot commented Oct 1, 2024

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

Copy link
Contributor

@gastonfournier gastonfournier left a comment

Choose a reason for hiding this comment

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

LGTM! Is this everywhere in the code? Maybe enterprise as well

@FredrikOseberg
Copy link
Contributor Author

FredrikOseberg commented Oct 1, 2024

LGTM! Is this everywhere in the code? Maybe enterprise as well

There may be more places. I did not investigate the extent of the problem. Found these when adding transactions around the role mutations.

Upon further investigation it looks like this was the only place they were missing.

@FredrikOseberg FredrikOseberg merged commit 4d97f59 into main Oct 1, 2024
9 checks passed
@FredrikOseberg FredrikOseberg deleted the fix/missing-awaits-on-events branch October 1, 2024 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants