Repository navigation
Analysis: a STAC trend's keys read from cube.trend's description, so none is said to be ignored (#579) - #766
Conversation
…o none is said to be ignored The url, asset, bbox, maxCloud, cellSize and resampling keys sat inside the "collection" entry's note, where param_keys doesn't read, so every STAC trend run from the CLI or a script was told they were ignored, though they're used. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
Code reviewI reviewed the whole PR (2 files). It looks correct and I found nothing blocking. I did not run the tests; there is no Bash tool here. What it does: The
BugsNone found. SecurityNone. The test connects only to a loopback address. PerformanceNone. Quality
AGENTS.md
Change sizeCompared: the whole PR against main (merge base d9b2de0 to PR head 1aad9ac)
|
a_stac_trends_keys_are_read reached an API on a closed local port. It now gives a cell size of 0, refused before the search, and checks that error, so nothing depends on how a sandbox treats the connection (opengeos#766 review). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Code reviewI reviewed the Bugs
Security
Performance
Quality
AGENTS.md
Change sizeCompared: the whole PR against main (merge base d9b2de0 to PR head 5bdb187)
|
"with the keys below" left the reader to find them; the note now names url, asset, bbox, maxCloud, cellSize and resampling, unquoted inside its parentheses, where they aren't read as keys (opengeos#766 review). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Code reviewI'm still on the review, and it's nearly finished. The PR only rewrites the Bugs: none found.
Security: nothing to raise. The test's URL is localhost and the cell size is refused before any search. Performance: nothing to raise. Quality (nit, low confidence): the new description is very long, and its AGENTS.md: no violations.
Change sizeCompared: the whole PR against main (merge base d9b2de0 to PR head 18b38fb)
|
📖 Docs preview
GitHub Pages takes a minute or two to publish a new commit. |
Summary
Session::runreports the keys a command doesn't read. The list of keys a command reads comes from the top level of its parameter description, throughparam_keys. Incube.trend's description, the keys of a STAC trend (url,asset,bbox,maxCloud,cellSizeandresampling) sat inside the"collection"entry's note, whereparam_keysdoesn't look.So every STAC trend from the CLI, a script, Python or the MCP server got a false notice of the form
cube.trend ignores 'url', 'asset', … (it reads …), even though the run uses all of these keys.The notice is there so that a script or an agent can correct itself. Here it points the wrong way: an agent that drops the "ignored" keys breaks the run.
"collection"entry keeps a short note that points to them.trend_cmdandstac_cuberead the same keys as before.Testing
a_stac_trends_keys_are_read:param_keysforcube.trendholdscollection,url,asset,bbox,maxCloud,cellSize,resampling,startandend;main's description, the test fails at the first check:urlis missing from the keys.param_keys_reads_descriptionsandunknown_params_are_saidpass unchanged.cargo fmt --all --checkandcargo clippy -p rustgis-engine --all-targets -- -D warningsare clean, and therustgis-enginetests pass.🤖 Generated with Claude Code
Summary by CodeRabbit