Uh oh!
There was an error while loading. Please reload this page.
chore: normalize otel auth - #32864
Conversation
mnkiefer
commented
May 17, 2026
@copilot Recompile workflows |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
🧪 Test Quality Sentinel ReportTest Quality Score: 100/100✅ Excellent — all new tests enforce behavioral contracts with error/edge case coverage.
Test Classification DetailsView all 5 tests
Language SupportTests analyzed:
Verdict
📖 Understanding Test ClassificationsDesign Tests (High Value) verify what the system does:
Implementation Tests (Low Value) verify how the system does it:
Goal: Shift toward tests that describe the system's behavioral contract — the promises it makes to its users and collaborators.
|
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
There was a problem hiding this comment.
🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · ● 4.8M
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Pull request overview
This PR normalizes OTLP auth handling so Sentry endpoints use x-sentry-auth while other backends continue using Authorization.
Changes:
- Adds endpoint-aware OTLP header normalization and Sentry header rewriting.
- Updates OTLP tests and workflow documentation for the new auth secret names.
- Removes direct
shared/otel.mdimports in favor ofshared/otlp.md.
Show a summary per file
| File | Description |
|---|---|
pkg/workflow/observability_otlp.go | Adds endpoint-aware OTLP header normalization and Sentry rewrite detection. |
pkg/workflow/observability_otlp_test.go | Adds tests for Sentry/Grafana header behavior and multi-endpoint injection. |
.github/workflows/smoke-otel-backends.md | Updates required OTEL secret names. |
.github/workflows/shared/otlp.md | Documents Sentry/Grafana auth secret usage. |
.github/workflows/shared/otel.md | Removes the legacy wrapper import. |
.github/workflows/daily-skill-optimizer.md | Removes redundant shared/otel.md import. |
.github/workflows/daily-model-inventory.md | Removes redundant shared/otel.md import. |
.github/workflows/daily-hippo-learn.md | Removes redundant shared/otel.md import. |
.github/workflows/daily-caveman-optimizer.md | Removes redundant shared/otel.md import. |
.github/workflows/daily-cache-strategy-analyzer.md | Removes redundant shared/otel.md import. |
.github/workflows/daily-aw-cross-repo-compile-check.md | Removes redundant shared/otel.md import. |
.github/workflows/daily-astrostylelite-markdown-spellcheck.md | Removes redundant shared/otel.md import. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comments suppressed due to low confidence (1)
.github/workflows/shared/otel.md:1
- Deleting this runtime import target leaves several checked-in lock workflows still referencing
.github/workflows/shared/otel.md(for exampledaily-skill-optimizer.lock.yml:251anddaily-model-inventory.lock.yml:254). Runtime imports are non-optional andprocessRuntimeImportthrows when the file is missing, so those workflows will fail until the corresponding.lock.ymlfiles are regenerated or the compatibility shim is kept.
- Files reviewed: 241/241 changed files
- Comments generated: 4
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…n header rewrite Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Commit pushed:
|
🏗️ Design Decision Gate — ADR RequiredThis PR makes significant changes to core business logic (+124 net additions in AI has analyzed the PR diff and generated a draft ADR to help you get started: 📄 Draft ADR: The decision identified from the diff is: endpoint-aware rewrite of the What to do next
Once an ADR is linked in the PR body, this gate will re-run and verify the implementation matches the decision. Why ADRs Matter
ADRs create a searchable, permanent record of why the codebase looks the way it does. Future contributors (and your future self) will thank you. 📋 Michael Nygard ADR Format ReferenceAn ADR must contain these four sections to be considered complete:
All ADRs are stored in References:
|
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
mnkiefer
commented
May 17, 2026
@copilot Address github-actions review comments. |
|
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
mnkiefer
commented
May 17, 2026
@copilot Recompile workflows |
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
This comment has been minimized.
This comment has been minimized.
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Re-ran |
✅ smoke-ci: safeoutputs CLI comment + comment-memory run (25999340882)
|
Authorizationheader tox-sentry-authfor Sentry endpoints, ensuring correct authentication, while leaving the header unchanged for Grafana and other backends.shared/otel.mdimport and update documentation and tests to reflect the new behavior.