You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A JSON-LD graph pattern naming a graph source without its branch panics in debug builds #2362
P3Backlog: valid, low payoff-per-effortarea:queryQuery execution, planning, fast paths, overlay, result formattingbugSomething isn't working as expected
A JSON-LD graph pattern that names an R2RML graph source without its branch panics in debug builds. Release builds apply the default branch instead of panicking.
Repro
With a native ledger native-people:main and an R2RML graph source registered as local-people (so its id is local-people:main):
content_store builds a path from the id and asserts (debug only) that it is canonical name:branch. Nothing on that route normalizes a bare name.
Expected
The name is normalized (default branch applied) before it reaches the provider, or the query is refused with a 400, the same in debug and release builds. A debug-only assertion should not be the thing that distinguishes the two.
Notes
Found while reviewing #2314 and reproduced on main at the time, so it predates that PR. Not re-run since #2314's later changes; with those, a source outside the dataset is refused before it is read, so the case to re-check first is the one with the source in from-named.
P3Backlog: valid, low payoff-per-effortarea:queryQuery execution, planning, fast paths, overlay, result formattingbugSomething isn't working as expected
Activity