Skip to content

fix(perf): replace query rewrite with graph-indexed header#1178

Merged
Theodus merged 1 commit intomainfrom
theodus/rewrite
Apr 15, 2026
Merged

fix(perf): replace query rewrite with graph-indexed header#1178
Theodus merged 1 commit intomainfrom
theodus/rewrite

Conversation

@Theodus
Copy link
Copy Markdown
Member

@Theodus Theodus commented Apr 14, 2026

This remove rewrites that insert an additional _meta query to probe indexing progress on every query. Assuming sufficient indexer support for the graph-indexed header, then this should be a safe removal.

Resolves #900

@Theodus Theodus requested a review from tmigone April 14, 2026 23:21
@Theodus Theodus added the DO NOT MERGE (needs decision) Awaiting decision from other groups label Apr 14, 2026
Comment thread src/indexer_client.rs Outdated
#[derive(Clone, Debug)]
pub struct IndexerResponse {
pub original_response: String,
pub indexer_response: String,
Copy link
Copy Markdown
Member

@tmigone tmigone Apr 15, 2026

Choose a reason for hiding this comment

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

I think we no longer need to have both indexer_response and client_response, this was needed before when one of them had the gateway probe meta query response, but now these two are the same.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We should probably remove client_response

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Good catch. Fixed in ae5e271

@Theodus Theodus requested a review from tmigone April 15, 2026 18:30
@Theodus Theodus removed the DO NOT MERGE (needs decision) Awaiting decision from other groups label Apr 15, 2026
@Theodus Theodus force-pushed the theodus/rewrite branch 2 times, most recently from 3f533fc to 61baee2 Compare April 15, 2026 20:21
@Theodus Theodus merged commit 29fa296 into main Apr 15, 2026
2 checks passed
@Theodus Theodus deleted the theodus/rewrite branch April 15, 2026 20:25
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.

remove query rewrites

2 participants