Skip to content

[Idea] Graph-build preflight validation + progress watchdog #52

@sfc-gh-obielov

Description

@sfc-gh-obielov

Triage note (2026-04-23): This ticket absorbs #55 (document memory / JVM sizing per region and switch large extracts to MMAP). Sizing guidance from #55 is exactly the input a preflight validator needs to warn users before a 3-day hang on a continental extract. One implementation satisfies both.

Consolidated scope:

  1. Preflight validator (original scope): pre-check borders/countries flags against PBF size, required RAM, required disk; refuse or warn with actionable output.
  2. Progress watchdog (original scope): emit a heartbeat during long graph builds; surface stalls.
  3. Sizing table (absorbed from [Idea] Document memory / JVM sizing per region and switch large extracts to MMAP #55): ship a ## Sizing section in build-routing-solution/SKILL.md mapping city → PBF size → RAM → -Xmx recommendation, plus graphs_data_access: MMAP guidance for continental extracts.
  4. Deploy-time validation (absorbed from [Idea] Document memory / JVM sizing per region and switch large extracts to MMAP #55): validate configured SPCS resources vs. selected PBF before starting the graph build — fail fast with a clear error if under-provisioned.

Close #55 as absorbed-by this ticket.


Context

Users report graph builds hanging for 3+ days with no error when borders are enabled. Forum's most-viewed config thread (Users report graph builds hanging for 3+ days with no error when borders are enabled. Forum's most-viewed config thread (Users report graph builds hanging for 3+ days with no error when borders are enabled. Forum's most-viewed config thread (Users report graph builds hanging for 3+ days with no error when borders are enabled. Forum's most-viewed config thread ([Users report graph builds hanging for 3+ days with no error](https://ask.openrouteservice.org/t/ors-stuck-when-how-to-use-the-docker-config-file-ors-config-yml/

Metadata

Metadata

Labels

ideaProposed improvement or exploration

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions