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
[Bug]: Saving a step that opens an inline project reads the rasters it names #3530
I searched the existing issues and did not find a duplicate.
This is a bug report, not a usage question (questions belong in Discussions).
What happened?
Saving a project that has a project.openText step can request a raster that the step's inline project reads in place from a server. The step doesn't run: finding out which capabilities the saved project requires loads the inline project, and loading it reads what it names.
Four checks in crates/engine/src/project_capabilities.rs do this, each through Project::from_json, which repairs the project and sets no limit on how far its addresses reach: text_generalizes, text_numbers_extents, and text_gives_font (north arrow font and scale bar font). The one-row legend check already reads without repair (Project::from_peer_raw, #3489).
Steps to reproduce
Take a project with one raster read in place from http://127.0.0.1:<port>/scene.tif, and a local server that logs requests.
Save its JSON as the text of one task step project.openText in another project that has no layers.
Run rustgis-cli run --project outer.rgis --save out.rgis 20 times.
Requests received on 809e96f9:
Inline project also holds
Requests in 20 runs
nothing else (only format, name, maps, active_map)
0
a map frame with extent_numbers
12
a north arrow in a serif font
9
a scale bar in a serif font
8
Each request is GET /…/scene.tif, Range: bytes=0-65535.
A test that calls each of the four checks for project.openText on such a text, with the address allowed and the listener drained first, received a connection for all four, the generalised Shaded Relief one included.
Expected behavior
Saving a project reads nothing that a saved step's inline project names: each check reads that project without repairing it.
Activity
jgregoriorincon commentedon Dec 1, 2026
I'm taking this one.
fix(engine): read nothing an inline project names when asking what it…