• v0.1.0-dev.25 227cd7fcfc

    v0.1.0-dev.25 Pre-release

    john released this 2026-11-16 02:16:12 +00:00 | 165 commits to main since this release

    v0.1.0-dev.25 — Deterministic browser place picker & release artifact integrity (pre-release)

    Fixes intermittent browser CI failures (TimeoutError waiting for Parramatta Station · stop
    options) and hardens release image reuse/verification across CI and Corn Release.

    • Place picker pre-hydration fix (src/corn/web/static/app.js): Wait until picker.dataset.ready
      is set after all listeners are bound, and replay lookup() if the user typed before
      the deferred script arrived or edited a restored value. Also clears stale hidden tokens
      before re-running lookup rather than submitting stale selections.
    • Deterministic browser tests (tests/browser_web.py, tests/browser_picker.py,
      tests/browser_support.py)
      : Wait for [data-picker][data-ready="1"] before filling
      enhanced fields; exercise delayed-script input across stop/origin/destination, restored
      selections, stale out-of-order responses, Escape dismissal and 503 error reporting.
      Capture allowlisted state-only diagnostics on failure (no DOM, cookies or tokens) and
      retain them as workflow artifacts in both ci.yml and release.yml. Pin Playwright to
      1.65.0 in pyproject.toml.
    • Immutable release image checks & multiarch promotion (scripts/release_image.py,
      scripts/image_channels.py, .gitea/workflows/release.yml)
      :
      • release_image.py prepare inspects any pre-existing full-version image before building,
        reusing it (build=false) only if both linux/amd64 and linux/arm64 platform
        manifests/configs and OCI source/revision/version labels match exact provenance;
        otherwise fails closed without overwriting.
      • release_image.py verify validates the exact built or reused digest before Gitea release
        or channel promotion.
      • image_channels.py validates the chosen candidate manifest index for linux/amd64 and
        linux/arm64 before taking the already-current shortcut.
    • Tests (tests/test_release_pipeline.py, tests/test_release_image.py,
      tests/test_image_channels.py)
      : Remove hardcoded 0.1.0-dev.24 from
      test_validate_emits_metadata_only_after_guards and add coverage for version mismatches,
      immutable image reuse, label/platform/digest failures and manifest validation.

    No API, OpenAPI, authentication, Compose or database changes. Update when ready:

    docker compose -f compose.local.yaml up -d --pull always --no-build --no-deps corn
    
    Downloads