Skip to content

Optimize ingestion and metadata search lifecycle#441

Merged
bitner merged 34 commits into
mainfrom
v010-pr2-sync-metadata-and-search-lifecycle
May 18, 2026
Merged

Optimize ingestion and metadata search lifecycle#441
bitner merged 34 commits into
mainfrom
v010-pr2-sync-metadata-and-search-lifecycle

Conversation

@bitner
Copy link
Copy Markdown
Collaborator

@bitner bitner commented May 13, 2026

Adding tracking to tables to enable synchronization tracking between pgstac and external sources. This includes adding a hash of each item to be able to diff between local sources and pgstac to limit the bandwidth when running updates.

Add deletion table with garbage collection to be able to track what records have been removed for use in synchronization.

bitner and others added 30 commits May 5, 2026 17:00
Co-authored-by: Pete Gadomski <pete.gadomski@gmail.com>
Co-authored-by: Pete Gadomski <pete.gadomski@gmail.com>
…ions

- Update pgstac-migrate pyproject.toml to require pgpkg>=0.1.1 (includes routine body-change detection)
- Regenerate migrations with pgpkg 0.1.1 which correctly includes search/search_query replacements
- Suppress unsafe DROP FUNCTION statements for routines that exist in target schema
- Fix PGTap test 116 to check column names in alphabetical order (migration adds columns at end)
- Update test plan count from 229 to 248 (tests added for GC, context_count, statslastupdated)
- Validate migration chain end-to-end with all tests passing
- All precommit hooks passing (migrations, pgtap, pypgstac)
- expand pgstac-migrate README with full CLI/API/env var docs and troubleshooting
- make psycopg[binary] mandatory in pgstac-migrate and pypgstac
- make psycopg-pool mandatory in pypgstac
- remove redundant psycopg optional/group wiring and update test script flags
- remove pgstac-migrate upper bound in pypgstac dependency
- update release workflow paths and uv setup/build step
- refresh docs/changelog references for pgpkg>=0.1.1
- regenerate uv lockfiles
…ash-and-dead-code-rerun

# Conflicts:
#	src/pgstac-migrate/pyproject.toml
#	src/pgstac-migrate/uv.lock
…d-code-rerun

# Conflicts:
#	.github/instructions/scripts.instructions.md
#	.gitignore
#	AGENTS.md
#	CLAUDE.md
#	src/pgstac/migrations/pgstac--0.9.11--unreleased.sql
@bitner bitner changed the title PR2: Sync metadata + tombstones Sync metadata + tombstones May 13, 2026
@bitner bitner changed the title Sync metadata + tombstones Optimize ingestion and metadata search lifecycle May 13, 2026
@bitner bitner marked this pull request as ready for review May 18, 2026 15:55
@bitner bitner requested review from gadomski and hrodmn May 18, 2026 15:55
Copy link
Copy Markdown
Member

@gadomski gadomski left a comment

Choose a reason for hiding this comment

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

Makes sense to me!

@bitner bitner merged commit 10d1493 into main May 18, 2026
13 checks passed
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.

2 participants