Skip to content

lore-aws: remove legacy ENABLE_QUERY_PAGINATION tech debt#55

Open
subbareddypalagiri wants to merge 1 commit into
EpicGames:mainfrom
subbareddypalagiri:refactor-pagination-v3
Open

lore-aws: remove legacy ENABLE_QUERY_PAGINATION tech debt#55
subbareddypalagiri wants to merge 1 commit into
EpicGames:mainfrom
subbareddypalagiri:refactor-pagination-v3

Conversation

@subbareddypalagiri

Copy link
Copy Markdown

Cleaned up legacy pagination flag and hardcoded the pagination logic since it is stable.

Signed-off-by: Palagiri Subba Reddy subbareddy123sub@gmail.com

@mjansson mjansson changed the title refactor: remove legacy ENABLE_QUERY_PAGINATION tech debt lore-aws: remove legacy ENABLE_QUERY_PAGINATION tech debt Jul 7, 2026
@mjansson

mjansson commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

I think this makes sense, @peter-lockhart-pub wdyt?

@subbareddypalagiri subbareddypalagiri force-pushed the refactor-pagination-v3 branch 2 times, most recently from 83d99cd to 829796f Compare July 7, 2026 17:36
Copilot AI review requested due to automatic review settings July 7, 2026 17:36

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR removes the legacy LORE_ENABLE_QUERY_PAGINATION feature flag and makes DynamoDB query pagination behavior unconditional, reflecting that the pagination logic is now considered stable.

Changes:

  • Removed the ENABLE_QUERY_PAGINATION LazyLock env-var flag plumbing.
  • Hardcoded the pagination follow-up query to always occur when last_evaluated_key indicates more pages (subject to existing limit/count conditions).

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

Comment thread lore-aws/src/dynamodb.rs
Comment on lines 70 to 72
pub const METRICS_ACCUMULATION_OPERATION_LATENCY_METRIC_NAME: &str =
"accumulation_operation_duration";

Signed-off-by: Palagiri Subba Reddy <subbareddy123sub@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants