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

chore: include extension version in telemetry #6858

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

deboer-tim
Copy link
Collaborator

What does this PR do?

The loadExtension and activateExtension telemetry events include the ids of extensions but not the versions. It would be handy if we have them here both for general debugging/fleet understanding, but also to stop each new extension from wanting to add a startup event.

Extensions should not get to either path without a valid manifest + version, just being slightly paranoid and consistent with prior code using ?.

Screenshot / video of UI

N/A

What issues does this PR fix or reference?

Fixes #6857.

How to test this PR?

  • Tests are covering the bug fix or the new feature

There was no basic loadExtension test so I started one; also updated the activateExtension test to check for telemetry.

The loadExtension and activateExtension telemetry events include the ids of
extensions but not the versions. It would be handy if we have them here both
for general debugging/fleet understanding, but also to stop each new
extension from wanting to add a startup event.

Extensions should not get to either path without a valid manifest + version,
just being slightly paranoid and consistent with prior code using ?.

There was no basic loadExtension test so I started one; also updated the
activateExtension test to check for telemetry.

Signed-off-by: Tim deBoer <git@tdeboer.ca>
@deboer-tim deboer-tim requested review from benoitf and a team as code owners April 22, 2024 19:27
@deboer-tim deboer-tim requested review from cdrage and feloy and removed request for a team April 22, 2024 19:27
@benoitf benoitf merged commit 1e21c88 into containers:main Apr 23, 2024
8 checks passed
@podman-desktop-bot podman-desktop-bot added this to the 1.10.0 milestone Apr 23, 2024
@deboer-tim deboer-tim deleted the track-version branch April 23, 2024 13:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extension load/activate telemetry should include the version
4 participants