Skip to content

Remove observability samples from package repository - #179

Merged
PengF (fpfp100) merged 2 commits into
mainfrom
users/pefan/removesample
Feb 3, 2026
Merged

PengF (fpfp100) merged 2 commits into
mainfrom
users/pefan/removesample

Conversation

@fpfp100

Copy link
Copy Markdown
Contributor

Remove observability samples package repository

Copilot AI review requested due to automatic review settings February 2, 2026 23:33
@fpfp100
PengF (fpfp100) requested a review from a team as a code owner February 2, 2026 23:33

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request removes two observability sample packages from the tests-agent directory:

  1. openai-agent-auto-instrument-sample - A sample demonstrating OpenAI Agents SDK instrumentation with Microsoft Agent 365 observability
  2. basic-agent-sdk-sample - A basic agent sample showcasing Agent 365 SDK observability features

Changes:

  • Complete removal of tests-agent/openai-agent-auto-instrument-sample/ directory and all its contents
  • Complete removal of tests-agent/basic-agent-sdk-sample/ directory and all its contents

Reviewed changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated no comments.

File Description
tests-agent/openai-agent-auto-instrument-sample/* Removed entire OpenAI agent auto-instrumentation sample including source code, configuration, documentation, and dependencies
tests-agent/basic-agent-sdk-sample/* Removed entire basic agent SDK sample including source code, token cache implementation, telemetry setup, and documentation
Comments suppressed due to low confidence (1)

tests-agent/openai-agent-auto-instrument-sample/package.json:1

  • This PR removes the observability sample packages, but the workspace configuration files need to be updated as well. The following files still reference the tests-agent workspace:
  1. package.json (line 26): Contains "tests-agent/*" in the workspaces array
  2. pnpm-workspace.yaml (line 3): Contains - 'tests-agent/*' in the packages array
  3. pnpm-lock.yaml: Contains entries for these deleted packages (lines 770 and 828)

If these are the only packages in the tests-agent/ directory and the entire directory is being removed, then:

  • Remove "tests-agent/*" from package.json workspaces array
  • Remove - 'tests-agent/*' from pnpm-workspace.yaml packages array
  • Run pnpm install to regenerate pnpm-lock.yaml without the deleted packages

If other packages remain in tests-agent/, then the workspace patterns can stay but you still need to run pnpm install to update the lock file.

@fpfp100
PengF (fpfp100) enabled auto-merge (squash) February 3, 2026 17:55
@fpfp100
PengF (fpfp100) merged commit 8e3070d into main Feb 3, 2026
7 checks passed
@fpfp100
PengF (fpfp100) deleted the users/pefan/removesample branch February 3, 2026 21:09
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.

7 participants