Skip to content

feat: add daily-otel-instrumentation-advisor workflow#24655

Merged
pelikhan merged 3 commits intomainfrom
copilot/review-open-telemetry-js-instrumentation
Apr 5, 2026
Merged

feat: add daily-otel-instrumentation-advisor workflow#24655
pelikhan merged 3 commits intomainfrom
copilot/review-open-telemetry-js-instrumentation

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 5, 2026

  • Add Sentry MCP server configuration to daily-otel-instrumentation-advisor.md
  • Recompile the workflow

Copilot AI and others added 2 commits April 5, 2026 03:36
@pelikhan pelikhan marked this pull request as ready for review April 5, 2026 03:54
Copilot AI review requested due to automatic review settings April 5, 2026 03:54
@pelikhan pelikhan merged commit 389ba1e into main Apr 5, 2026
1 check failed
@pelikhan pelikhan deleted the copilot/review-open-telemetry-js-instrumentation branch April 5, 2026 03:54
Copilot stopped work on behalf of pelikhan due to an error April 5, 2026 03:55
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new daily agentic workflow that reviews repository JavaScript OpenTelemetry instrumentation and files a single actionable GitHub issue (or no-ops), with the workflow compiled into the generated lockfile.

Changes:

  • Introduces daily-otel-instrumentation-advisor workflow manifest with prompt/instructions and Safe Outputs issue-creation configuration.
  • Adds Sentry MCP server configuration to the workflow manifest.
  • Adds the compiled workflow output (*.lock.yml) reflecting the new workflow.
Show a summary per file
File Description
.github/workflows/daily-otel-instrumentation-advisor.md New workflow manifest/prompt for daily OTel instrumentation review, including Sentry MCP config and issue-creation Safe Outputs.
.github/workflows/daily-otel-instrumentation-advisor.lock.yml Generated compiled GitHub Actions workflow corresponding to the new manifest.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 2/2 changed files
  • Comments generated: 2

sentry:
url: "https://mcp.sentry.dev/mcp/gh-aw-test.sentry.io/gh-aw/"
headers:
Authorization: "Bearer ${{ secrets.SENTRY_API_KEY }}"
Copy link

Copilot AI Apr 5, 2026

Choose a reason for hiding this comment

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

mcp-servers.sentry doesn’t declare an allowed tool list. In this repo, MCP servers are typically constrained via allowed (e.g. .github/workflows/shared/mcp/tavily.md:8, .github/workflows/shared/mcp/datadog.md:9-13). With no allowlist, the compiled lock config ends up permissive (write-sink accepts *), which increases blast radius if the server exposes more tools than intended. Add an explicit allowed: list (preferably the minimal set of Sentry tools this workflow needs).

Suggested change
Authorization: "Bearer ${{ secrets.SENTRY_API_KEY }}"
Authorization: "Bearer ${{ secrets.SENTRY_API_KEY }}"
allowed: []

Copilot uses AI. Check for mistakes.
Comment on lines +11 to +17
tracker-id: daily-otel-instrumentation-advisor
engine: claude
mcp-servers:
sentry:
url: "https://mcp.sentry.dev/mcp/gh-aw-test.sentry.io/gh-aw/"
headers:
Authorization: "Bearer ${{ secrets.SENTRY_API_KEY }}"
Copy link

Copilot AI Apr 5, 2026

Choose a reason for hiding this comment

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

The Sentry MCP auth header is set using a GitHub expression (Authorization: "Bearer ${{ secrets.SENTRY_API_KEY }}"). Because this gets embedded into the compiled workflow script/config, it’s easier to accidentally persist or print the secret (e.g., if the generated MCP config is ever echoed for debugging). Prefer passing SENTRY_API_KEY via environment and referencing it from the MCP config (similar to how the workflow handles GH_AW_SAFE_OUTPUTS_API_KEY), then recompile the lock file.

Suggested change
tracker-id: daily-otel-instrumentation-advisor
engine: claude
mcp-servers:
sentry:
url: "https://mcp.sentry.dev/mcp/gh-aw-test.sentry.io/gh-aw/"
headers:
Authorization: "Bearer ${{ secrets.SENTRY_API_KEY }}"
env:
SENTRY_API_KEY: ${{ secrets.SENTRY_API_KEY }}
tracker-id: daily-otel-instrumentation-advisor
engine: claude
mcp-servers:
sentry:
url: "https://mcp.sentry.dev/mcp/gh-aw-test.sentry.io/gh-aw/"
headers:
Authorization: "Bearer ${SENTRY_API_KEY}"

Copilot uses AI. Check for mistakes.
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.

3 participants