Skip to content

[P5.20] Port the gurka suites for access, restrictions, time-dependence and closures #136

Closed

Description

@chrisbbreuer

P5 Motor vehicle costing and restrictions · key P5.20 · size L

Goal

The upstream gurka integration suites for access, restrictions, time-dependence and closures run against our engine on the ASCII-map DSL and pass.

Upstream reference (Valhalla 3.9.3)

  • test/gurka/

Scope

  • Inventory the gurka test files in these areas and list them in the issue as a checklist.
  • Port each onto the Zig ASCII-map DSL from P1.18, keeping test names traceable to the upstream file.
  • Where a test asserts upstream's pruned (suboptimal) behaviour, assert the exact result instead and note the reason beside the test.
  • Record any test that cannot be ported yet with the blocking issue key.

Pinned Gurka inventory

The Valhalla 3.9.3 tree at 5c7f918e61306521d79cc4496d40c19c5305fa4b contains 136 Gurka test files. The checklist covers their access, turn restrictions, time dependence, and closure cases. The Zig integration tests use ASCII maps and assembled native bundles. Source comments name the matching files. Checked entries have green local coverage. Open entries name the issue responsible for the remaining cases.

Out of scope

  • Narrative assertions inside these tests (Phase 6).

Design notes

  • Upstream has 136 gurka files; this batch is the routing-behaviour subset. See docs/upstream/valhalla-architecture.md, section 7.

Acceptance criteria

  • Checklist of ported files in this issue, each green or linked to a blocking issue.
  • No Gurka case is silently skipped.
  • zig build test green.

Verification

Landed in 92b40d6 on main. The fresh pinned-toolchain build passed 433 tests, including all 84 Gurka tests, with two existing skips outside Gurka. Linux x86_64 test binaries cross-compiled, and Linux CI will execute them. The issue graph tests also passed. CI run

Blocked by


Rules for working on this repository are in AGENTS.md. The plan is in docs/PLAN.md.

Activity

  1. added
    blocked
    phase:5
    area:infra
    type:test
    size:L
    on Nov 17, 2026
  2. added
    ready
    and removed
    blocked
    on Nov 20, 2026
  3. chrisbbreuer commented on Nov 20, 2026

    @chrisbbreuer
    MemberAuthor

    All ten jobs passed on CI run 44712640840, including macOS and Ubuntu tests, the binary size budget and all four release targets. The issue graph run passed as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:infraphase:5readysize:Ltype:test

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions