Fix otel_trace_summaries schema: explicit platform prefix + repair migration #2972
No reviewers
Labels
No labels
1week
2weeks
Failed compliance check
IP cameras
NATS
Possible security concern
Review effort 1/5
Review effort 2/5
Review effort 3/5
Review effort 4/5
Review effort 5/5
UI
aardvark
accessibility
amd64
api
arm64
auth
back-end
bgp
blog
bug
build
checkers
ci-cd
cleanup
cnpg
codex
core
dependencies
device-management
documentation
duplicate
dusk
ebpf
enhancement
eta 1d
eta 1hr
eta 3d
eta 3hr
feature
fieldsurvey
github_actions
go
good first issue
help wanted
invalid
javascript
k8s
log-collector
mapper
mtr
needs-triage
netflow
network-sweep
observability
oracle
otel
plug-in
proton
python
question
reddit
redhat
research
rperf
rperf-checker
rust
sdk
security
serviceradar-agent
serviceradar-agent-gateway
serviceradar-web
serviceradar-web-ng
siem
snmp
sysmon
topology
ubiquiti
wasm
wontfix
zen-engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
carverauto/serviceradar!2972
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "refs/pull/2972/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from GitHub pull request.
Original GitHub pull request: #2923
Original author: @mfreeman451
Original URL: https://github.com/carverauto/serviceradar/pull/2923
Original created: 2026-02-26T23:37:09Z
Original updated: 2026-02-26T23:38:34Z
Original head: carverauto/serviceradar:bug/missing-field-trace-sum
Original base: staging
Original merged: 2026-02-26T23:38:33Z by @mfreeman451
Summary
20260210120000to use explicitplatform.schema prefix instead of relying onsearch_path, which caused the table to land inpublicon some deployments20260226230000that handles all broken states:publicschema (table or materialized view)platform.otel_trace_summariesfrom materialized view to table if still a MVrefreshed_atcolumn if missing from existing tableRoot cause: The
CREATE TABLE IF NOT EXISTS otel_trace_summariesin the original migration had no schema prefix. Depending on thesearch_pathat migration time, this could create the table inpublicinstead ofplatform, which then triggered the startup migration's "public schema has ServiceRadar tables" guard.Test plan
otel_trace_summariestable exists inplatformschema with all 15 columns includingrefreshed_atRefreshTraceSummariesWorkerruns without errors🤖 Generated with Claude Code