Skip to content

fix(oauth): restore global telemetry endpoint - #4523

Merged
sailist merged 2 commits into
mainfrom
bug-318-10-29-global-telemetry-endpoint
Oct 29, 2026
Merged

sailist merged 2 commits into
mainfrom
bug-318-10-29-global-telemetry-endpoint

Conversation

@sailist

@sailist sailist commented Oct 29, 2026

Copy link
Copy Markdown
Collaborator

Requirement or Bug

Restore telemetry delivery for global users now that the global collector is available.

Bug Reproduction Steps

  1. Use a client resolved to the global region with telemetry enabled.
  2. Observe that the global region profile has no telemetry endpoint, so events are not uploaded.

Root Cause

The global collector address was removed while the service was unavailable and remained absent after the service became available. This is a configuration fix; transport and request-failure behavior are unchanged.

Code Changes

  • Restore the global telemetry collector endpoint in the shared region profile.
  • Update the existing region-profile assertion without adding test cases.

Behavior Changes and Affected Users

Behavior Before After Who relies on the old behavior Escape hatch
Global telemetry delivery Events were not uploaded because the global profile had no collector endpoint. Global users with telemetry enabled upload events to the global collector. Global users who require telemetry to remain disabled Set telemetry = false or KIMI_DISABLE_TELEMETRY=1.

Affected modules: CLI, VS Code, and web/server telemetry consumers of the shared region profile.

Coverage: the existing OAuth region test passes locally and remotely (19 tests), and the OAuth package typecheck passes. Request retry, disk persistence, shutdown, and Remote Control behavior are untouched.

Checklist

  • I have read the CONTRIBUTING document.
  • The related requirement is described above; there is no external issue.
  • I have updated existing tests that prove the restored configuration works.
  • The behavior-change table above is complete, and the previous no-upload behavior has an escape hatch.
  • Add the required changeset (omitted by explicit request).
  • Ran gen-changesets skill.
  • This endpoint restoration needs no documentation update.

@changeset-bot

changeset-bot Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: c7194fe

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-29T11:32:20.049514Z dc654d2 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@pkg-pr-new

pkg-pr-new Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
pnpm dlx https://pkg.pr.new/@moonshot-ai/kimi-code@c7194fe
npx https://pkg.pr.new/@moonshot-ai/kimi-code@c7194fe

commit: c7194fe

@sailist
sailist merged commit da4e2f5 into main Oct 29, 2026
27 of 28 checks passed
@sailist
sailist deleted the bug-318-10-29-global-telemetry-endpoint branch October 29, 2026 12:07
7723qqq pushed a commit to 7723qqq/kimi-code that referenced this pull request Nov 4, 2026
The behaviour of MoonshotAI#4421 has been in the requester since 94397aa, but its
suite still asserted only that the lowered system message lost its
`tools` field, which a message kept in place would also satisfy. Assert
instead that no system message survives and the history keeps its
length, and rename the case after what it protects.

Also settle ten ledger rows that were already implemented here: MoonshotAI#3733,
MoonshotAI#4413, MoonshotAI#4418, MoonshotAI#4421, MoonshotAI#4435, MoonshotAI#4460, MoonshotAI#4465, MoonshotAI#4516, MoonshotAI#4523, MoonshotAI#4532 and the
MoonshotAI#4558 test calibration, each with a probe over the suite that pins it.
Two rows carried a probe without a test-name selector (MoonshotAI#4557, MoonshotAI#4558),
which aborted `--verify` for every other row; MoonshotAI#4557 is a changelog sync
and now carries a manual probe.
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.

2 participants