Skip to content

fix(overture): resolve STAC release dynamically via /catalog.json#1063

Merged
louis-e merged 1 commit into
mainfrom
fix/overture-stac-dynamic-release
May 24, 2026
Merged

fix(overture): resolve STAC release dynamically via /catalog.json#1063
louis-e merged 1 commit into
mainfrom
fix/overture-stac-dynamic-release

Conversation

@louis-e
Copy link
Copy Markdown
Owner

@louis-e louis-e commented May 24, 2026

The hardcoded 2026-03-18.0 release has been retired (HTTP 404). Resolve the current release from /catalog.json's latest field at fetch time, with a hardcoded fallback (2026-05-20.0) for offline/discovery-failure cases. This stops Overture from breaking on every monthly release rotation.

The hardcoded 2026-03-18.0 release has been retired (HTTP 404). Resolve
the current release from /catalog.json's `latest` field at fetch time, with
a hardcoded fallback (2026-05-20.0) for offline/discovery-failure cases.
This stops Overture from breaking on every monthly release rotation.
Copilot AI review requested due to automatic review settings May 24, 2026 00:13
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 prevents Overture STAC downloads from breaking when older monthly releases are retired by dynamically resolving the current release from https://stac.overturemaps.org/catalog.json (latest field) at fetch time, with a pinned fallback release for discovery/offline failure cases.

Changes:

  • Replaces the previously hardcoded collections.parquet URL with a STAC root + fallback release constant.
  • Adds resolve_stac_url() to discover the current release via /catalog.json and fall back when discovery fails.
  • Improves the STAC download failure message to include the resolved URL for easier debugging.

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

Comment thread src/overture.rs
@github-actions
Copy link
Copy Markdown

⏱️ Benchmark run finished in 0m 58s
🏗️ Generation time: 29s (excl. data fetching)
🧠 Peak memory usage: 890 MB

📈 Compared against baseline: 27s time, 900 MB memory
🧮 Delta: 31s time, -10 MB memory
🔢 Commit: 44e80eb

🟢 Generation time is unchanged.
🟢 Peak memory is unchanged.

📅 Last benchmark: 2026-05-24 00:16:20 UTC

You can retrigger the benchmark by commenting retrigger-benchmark.

@louis-e louis-e merged commit 6131367 into main May 24, 2026
7 checks passed
@louis-e louis-e deleted the fix/overture-stac-dynamic-release branch May 24, 2026 00:17
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