Repository navigation
Conversation
Co-authored-by: Derek Cofausper <256792747+decofe@users.noreply.github.com>
decofe
marked this pull request as ready for review
September 9, 2026 16:52
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fix the default archive query path when TIDX uses a dedicated PostgreSQL API login. Tiered bootstrap currently creates a ClickHouse FDW mapping only for the sync owner; the API login can fail with
user mapping not found for user "tidx_mainnet_api", server "tidx_clickhouse" (42704).Validation
cargo check --all-targets --lockedpasses.cargo +nightly fmt --all -- --checkpasses.cargo test --lib --bins --lockedpasses: 438 tests.cargo +nightly clippy --lib --bins --test tiered_api_role_test --locked -- -D warningspasses. All-target nightly Clippy reports pre-existingassert_is_emptylints in unrelated tests; the repository's pinned-toolchain Clippy job passes in CI.This is the upstream TIDX fix, separate from the explorer's native-ClickHouse workaround in tempoxyz/tempo-apps#1241. Production requires deployment/restart after merge; no production database changes have been made here.
Prompted by: @snario