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

Cleaning up stale flag: addonUsageMetrics and event emitting from addons #8381

Merged
merged 17 commits into from
Oct 14, 2024

Conversation

gitar-bot[bot]
Copy link
Contributor

@gitar-bot gitar-bot bot commented Oct 7, 2024

Former Gitar PR cleaning up a flag, ran into some unit test issues where the eventBus was undefined assumedly due to inheritance issues.

Instead of building on the technical debt of the solution by fixing the issue I opted to reduce it and move the event emitting outside of the individual addons

Copy link

vercel bot commented Oct 7, 2024

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

Name Status Preview Comments Updated (UTC)
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 11, 2024 9:41pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Visit Preview Oct 11, 2024 9:41pm

Copy link
Contributor

github-actions bot commented Oct 7, 2024

Dependency Review

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

OpenSSF Scorecard

PackageVersionScoreDetails

Scanned Manifest Files

Copy link
Contributor

@daveleek daveleek left a comment

Choose a reason for hiding this comment

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

LGTM!

@gastonfournier
Copy link
Contributor

@daveleek I think there are some tests that you need to help fix cause Guitar won't be able to fix

@daveleek daveleek changed the title [Gitar] Cleaning up stale flag: addonUsageMetrics with value true Cleaning up stale flag: addonUsageMetrics and event emitting from addons Oct 10, 2024
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.

Can we review these comments before merging?

src/lib/addons/slack-app.ts Outdated Show resolved Hide resolved
src/lib/addons/slack-app.ts Outdated Show resolved Hide resolved
src/lib/types/experimental.ts Show resolved Hide resolved
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.

Looks fine, I'm still wondering if we should add a flag, probably not needed as the code was tested, it's only the this.name so it won't break

@daveleek daveleek merged commit d8ddb57 into main Oct 14, 2024
12 checks passed
@daveleek daveleek deleted the gitar_addonUsageMetrics_true branch October 14, 2024 07:20
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.

2 participants