Repository navigation
[codex] Fix desktop realtime health telemetry - #8953
Merged
Merged
Conversation
There was a problem hiding this comment.
1 issue found across 6 files
Confidence score: 5/5
- In
desktop/macos/changelog/unreleased/issue-8950-realtime-health.json, the trailing period is a formatting mismatch with changelog conventions; merging as-is won’t affect runtime behavior but can create avoidable inconsistency in release notes — remove the final period before merging (or in a quick follow-up).
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="desktop/macos/changelog/unreleased/issue-8950-realtime-health.json">
<violation number="1" location="desktop/macos/changelog/unreleased/issue-8950-realtime-health.json:1">
P3: The changelog entry ends with a period, but the project conventions specify "One sentence, no period at the end". Removing the trailing period keeps entries consistent with the documented format.</violation>
</file>
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
| @@ -0,0 +1,3 @@ | |||
| { | |||
There was a problem hiding this comment.
P3: The changelog entry ends with a period, but the project conventions specify "One sentence, no period at the end". Removing the trailing period keeps entries consistent with the documented format.
Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At desktop/macos/changelog/unreleased/issue-8950-realtime-health.json:
<comment>The changelog entry ends with a period, but the project conventions specify "One sentence, no period at the end". Removing the trailing period keeps entries consistent with the documented format.</comment>
<file context>
@@ -0,0 +1,3 @@
+{
+ "change": "Fixed Gemini realtime token minting and separated expected realtime idle closes from failure analytics."
+}
</file context>
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.
Closes #8950.
Summary
authTokenrequest wrapper instead of top-level token fieldsrealtime_provider_session_errorbucket intorealtime_provider_expected_idle_teardownRecently merged coverage
/v2/realtime/sessionGemini ephemeral-token mint path, which are fixed here.Root cause
The Gemini realtime mint route posted
uses,expireTime, andnewSessionExpireTimeat the top level. Google's current Live APICreateAuthTokenRequestrequires those settings underauthToken, so managed Gemini realtime users could fail before opening the provider session. Separately, expected Gemini idle closes were correctly classified locally but still emitted into the failure-like health event stream.Testing
git diff --checkcargo test --manifest-path desktop/macos/Backend-Rust/Cargo.toml gemini_auth_token_body_wraps_settings_under_auth_tokenxcrun swift test --package-path desktop/macos/Desktop --filter 'DesktopDiagnosticsManagerTests|RealtimeHubCloseClassifierTests'scripts/pre-push