Repository navigation
Log telemetry when the closed-chat promo pip is armed - #337997
Merged
Dmitriy Vasyura (dmitrivMS) merged 2 commits intoOct 26, 2026
Merged
Dmitriy Vasyura (dmitrivMS) merged 2 commits into
Dmitriy Vasyura (dmitrivMS) merged 2 commits into
Conversation
Contributor
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The implementation matches the described behavior and existing tests cover repeated updates and event ordering.
Review effort: Balanced
Findings: None
What changed in this PR
Adds telemetry for the closed-chat promo funnel when its status-bar pip first appears.
Changes:
- Emits
chatPromoWidgetArmedonce per promo ID per session. - Updates promo tests to verify telemetry ordering.
| File | Description |
|---|---|
chatStatusPromo.ts |
Tracks armed promos and emits the new event. |
chatStatusPromo.test.ts |
Updates expected telemetry sequences. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Ralph Feltis (rfeltis)
marked this pull request as ready for review
October 16, 2026 22:58
Ralph Feltis (rfeltis)
force-pushed
the
rfeltis-promo-pip-armed-telemetry
branch
from
October 17, 2026 01:19
c2a5ec9 to
4ee5b5b
Compare
Adds a chatPromoWidgetArmed event the first time a promo's status-bar pip is shown, alongside the existing chatPromoWidgetShown and chatPromoWidgetAction events. Co-authored-by: Copilot App <[email protected]>
Ralph Feltis (rfeltis)
force-pushed
the
rfeltis-promo-pip-armed-telemetry
branch
from
October 19, 2026 15:11
4ee5b5b to
053a354
Compare
Logan Ramos (lramos15)
approved these changes
Oct 19, 2026
Justin Chen (justschen)
approved these changes
Oct 20, 2026
Anthony Kim (anthonykim1)
approved these changes
Oct 20, 2026
Dmitriy Vasyura (dmitrivMS)
merged commit Oct 26, 2026
0af6701
into
microsoft:main
55 of 73 checks passed
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.
Adds a
chatPromoWidgetArmedevent the first time a promo's status-bar pip is shown. Together with the existing events, this gives a funnel for the closed-chat promo:tasClientReadTreatmentCompleteforconfig.chat.closedPromoNotificationchatPromoWidgetArmed(new)chatPromoWidgetShownchatPromoWidgetActionwithaction: "tryModel"The event fires once per promo id per session. It doesn't fire if the promo was already seen, because the pip isn't shown then.
Proof: real ExP assignment
I ran Code OSS from this branch against the real TAS endpoint. For each arm, I started a temporary one-device stage on the existing Copilot closed-chat promo progression. The sale metadata was faked by a localhost proxy in front of the real Copilot API. Both stages are now stopped.
Treatment (
closed-promo-popup:31590781): the pip shows, the card opens, and Try GPT-5.3-Codex opens Chat. Event counts: armed, shown and action each fired exactly once.treatment-exp-proof.mp4
Control (
closed-promo-control:31590798): no pip, and the Copilot status hover has no offer. The cohort event showstreatmentValue: "none", and no promo events fired.control-exp-proof.mp4
Tests
chatStatusPromo.test.ts: 37 passing. I updated the two expectations for the emitted event sequence.