Skip to content

fix CI: isdefined -> isassigned and add Dependabot#120

Merged
asinghvi17 merged 2 commits intomasterfrom
as/fix-ci
May 2, 2026
Merged

fix CI: isdefined -> isassigned and add Dependabot#120
asinghvi17 merged 2 commits intomasterfrom
as/fix-ci

Conversation

@asinghvi17
Copy link
Copy Markdown
Member

Summary

  • Fix: osm_subgraph and the Subgraph testset relied on isdefined(::Vector, i) to detect populated dijkstra slots. Julia 1.11+ changed that to a bounds-only check (Vectors back onto Memory{T} now), so it always returns true for valid indices. Switched to isassigned, which preserves the original semantics. Without this, the Subgraph tests have been failing on Julia 1 (stable) since the runner-level "Set up job" failures were fixed in CI: Update some external GitHub Actions #118.
  • Dependabot: weekly grouped updates for github-actions so future action-version drift gets caught before it bites CI.

Verified

  • Subgraph testset locally on Julia 1.12.6: 24/24 (was 24 + 2 errored on master)
  • Other offline testsets unaffected

Out of scope

  • Separate Windows-only failure at test/download.jl:47 (SystemError: opening file "map.json": Invalid argument). Not addressed here — file-path/locking on Windows, unrelated to the Julia regression. Will pop out on its own once stable Julia 1 turns green.

Test plan

  • CI matrix (Julia 1 + nightly × ubuntu + windows) green for the dijkstra_states fix
  • Confirm Windows download test status

🤖 Generated with Claude Code

asinghvi17 added 2 commits May 2, 2026 14:29
Julia 1.11+ changed isdefined(::Vector, i) to only check bounds, not
element initialization (Vectors now back onto Memory{T}). Use isassigned
to preserve the original "is this slot populated?" semantics. Without
this, osm_subgraph populated osg.dijkstra_states even when g had all
undef entries, causing UndefRefError when comparing in tests.
Weekly grouped updates so all action bumps land in one PR.
@asinghvi17 asinghvi17 changed the title fix: Julia 1.11+ isdefined regression in osm_subgraph + dependabot fix CI: isdefined -> isassigned and add Dependabot May 2, 2026
@asinghvi17 asinghvi17 merged commit d1950a3 into master May 2, 2026
5 checks passed
@asinghvi17 asinghvi17 deleted the as/fix-ci branch May 2, 2026 18:38
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.

1 participant