Skip to content

test: redact internal endpoint fixtures#688

Merged
7Sageer merged 1 commit into
MoonshotAI:mainfrom
7Sageer:fix/redact-test-endpoint-fixtures
Jun 12, 2026
Merged

test: redact internal endpoint fixtures#688
7Sageer merged 1 commit into
MoonshotAI:mainfrom
7Sageer:fix/redact-test-endpoint-fixtures

Conversation

@7Sageer

@7Sageer 7Sageer commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

Related Issue

No linked issue. This addresses internal environment endpoints being present in test fixtures.

Problem

Some tests used real internal/dev endpoint hosts as fixture base URLs, which unnecessarily exposes environment details in the repository.

What changed

Replaced those fixture hosts with .example.test placeholders while preserving OAuth scoping, runtime auth, plugin environment propagation, and config round-trip coverage.

Validation run:

  • pnpm vitest run test/utils/kimi-datasource-plugin.test.ts from apps/kimi-code
  • pnpm vitest run test/auth-facade.test.ts from packages/node-sdk
  • pnpm vitest run test/managed-kimi-code.test.ts test/toolkit.test.ts from packages/oauth
  • pnpm vitest run test/rpc/plugins-rpc.test.ts test/config/configs.test.ts from packages/agent-core
  • git diff --check

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue, or explained the problem above.
  • I have added tests that prove my feature works.
  • Ran gen-changesets skill, or this PR needs no changeset.
  • Ran gen-docs skill, or this PR needs no doc update.

@changeset-bot

changeset-bot Bot commented Jun 12, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: ebf29d4

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

@pkg-pr-new

pkg-pr-new Bot commented Jun 12, 2026

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

commit: ebf29d4

@7Sageer 7Sageer merged commit c1191f5 into MoonshotAI:main Jun 12, 2026
9 checks passed
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.

1 participant