Skip to content

fix(engine): honor row policies and prepare Similar in background - #2480

Merged
Mavrick-F merged 22 commits into
opengeos:mainfrom
Mavrick-F:fix/topology-consumer-contracts
Nov 22, 2026
Merged

Mavrick-F merged 22 commits into
opengeos:mainfrom
Mavrick-F:fix/topology-consumer-contracts

Conversation

@Mavrick-F

@Mavrick-F Mavrick-F commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Summary

Topology validation reports unreadable primary-query fallback, preserving Query primary inputs and All resident covering inputs. Primary selection, display filters and time windows do not narrow that query-only input. Query evaluation, coordinate conversion and issue construction now run on its existing worker; landing checks captured metadata and map identity.

Similar ranks all resident rows, refuses an unusable reference or overflowing standardization, and counts candidates missing compared values. Output selection follows the definition query, time window and active display filters, with counted fallback/exclusion notices. Exclusion counts apply to this request’s returned matches and reference, rather than every row in the layer. Time filtering converts only result/reference rows after cancellable date-kind detection.

Explicit invalid Similar parameters are refused before selection changes: row must be a zero-based integer in the layer, and count must be an integer from 1 to 1000. Omitted/null row uses the selected reference; omitted/null count uses 10. Errors preserve selection and Undo; supplied values no longer silently fall back or clamp. Command help and the analysis guide state these bounds.

capture shared inputs + account retained rows
  → worker: rank/check + bounded output filtering
  → current request: deliver result and notices
  → newer selection: preserve it
  → stale inputs or cancellation: no result applied

Desktop Find Similar uses the existing read queue with progress/Cancel. Its final ranking reaches the requesting Workflows pane, and desktop scripts replay prepared results before their next command, including scripts that first set up topology rules. Scripts and models reserve their ordering epoch at admission; inner Similar requests retain that epoch through replay. The newer-intent guard applies to computed Similar selections. Explicit select.* steps keep their ordinary execution semantics: they apply their requested selection when the live script reaches them, including after a user selection made while the script was queued. Those steps can supply selected inputs for following tools. Similar completions preserve later queued requests and user selections in either completion order. Successful Undo/Redo restores also take precedence: a still-current ranking returns without replacing the restored selection. Failed history actions leave selection intent unchanged. Closing and reopening the same Similar section retains pending work and its ranking; changing section or layer transfers display ownership. The admitted command still completes and may apply its guarded selection; Cancel stops the computation. External clears from pop-up browsing are protected without adding an Undo step. Other background workflows, including Trend Analysis, keep pane output in their originating section. Data Engineering, Exploratory Analysis and Similar retain their documented All-resident populations. Command ids/parameters, project schema, CRS policy and row-storage APIs are unchanged.

A tool-created layer in a prepared script retains its recorded-data identity through replay, including when a later script step removes it. This reuses the output record captured when the tool installs its result; unrelated replacements still invalidate results. Current main’s source-coordinate handling and datum-grid invalidation are preserved in queued topology validation.

Desktop compatibility: Similar and topology validation in an unprepared script with a file/network setup prefix are refused on the window thread. Run setup separately, then run the prepared analysis/validation script, or use Find Similar, Error Inspector or the direct MCP command. Prepared scripts and synchronous CLI/Python remain supported. The diagnostic and analysis guide explain this restriction.

Automatic fallback after removing Similar's target layer clears the old request, ranking and error only when the chosen layer changes. Unchanged redraws preserve current output.

Successful project replacement clears cached workflow results and errors for every section, plus Similar's pending request, through both User and peer-import entry points; failed opens keep the current output. Exhausting a script's prepared prefix reaches the ordinary desktop guard or headless execution, while mismatched recorded reads still fail. Conservative selection refusals accurately name selection or data changes.

Current-main integration preserves both image-grid and Similar/topology read callbacks, scoped admission and typed script replay. Image-grid stale-input invalidation and Similar’s replay-created identity/selection/memory bookkeeping both remain active.

Testing

  • Main’s release-quality fixes are integrated at 6dd20d51f, retaining both appended test blocks and the complete background-read diagnostics. All 66 focused engine checks and five UI lifecycle/queue checks passed, along with engine/UI Clippy, strict UI wasm and guarded hooks.
  • A selection-only Undo regression reproduced a pending Similar result overwriting the restored selection. It now covers both Undo and Redo: the ranking returns, restored selection stays intact and the existing notice explains why it was not replaced. All 49 targeted Similar/script/history tests passed; the final History-effect formulation also passed the focused regression, engine Clippy and strict wasm.
  • The prepared tool-output → Similar → remove regression reproduced the stale-identity error before the fix and now passes, alongside the retained-output case and unrelated layer-instance replacement refusal. All 58 targeted Similar/script/image-grid tests pass. The actual pane/frame test confirms exactly one error notice even after its layer changes. DuckDB’s transport regression compares exact argv and stdin contents and passes under a temporary path containing its dummy fixture value. The synthetic token was shortened because its former signature matched credential scanning; these exact transport assertions retain the test’s purpose.
  • Regression coverage includes exhausted prepared prefixes, unrelated mutations and successful/refused project replacement through both app entry points. DuckDB's stdin/argv regression also passes with an explicit dummy fixture.
  • Both parameter regressions returned rankings before the fix and now refuse invalid input without changing selection or Undo; omitted/null defaults and valid limits still work. All 47 targeted Similar/script/UI tests passed. After integrating current main, the two parameter tests and actual pane lifecycle passed again, with engine/UI Clippy and strict wasm.
  • Map date-window parity/cancellation, analysis network and engine Similar/topology/script/memory regressions pass.
  • The actual Find Similar button/frame test covers final ranking, error, cancellation, worker-start refusal, superseded requests, changed layer, a competing raster completion, reopening while pending and completion while the pane is closed. UI/direct scoped MCP regressions and both cancellation sweeps pass.
  • Queued explicit-reference requests cover both completion orders, nonselecting requests and native script replay; later user selection changes and pop-up clears remain protected. Actual-frame Trend coverage checks section ownership on worker failure, project change, success and cancellation.
  • A scratch comparison verifies 2,142 finite-statistics rankings have identical row order and every distance’s f64 bits, with accurate skipped counts; 189 unusable references and 333 overflowing-standardization cases are refused. No generator/probe is included.
  • Changed-crate Clippy, strict UI wasm, formatting and guarded hooks pass. Full fork CI on 6dd20d51f passes, including workspace tests, wasm, licences, schema and Linux memory. Upstream Windows coverage is enabled.

Memory for resident feature/table rows: direct Similar capture adds 0×L full-row copies for source rows occupying L bytes. After copy-on-write, one captured old version can retain 1×L beyond the live version; the budget counts each unique allocation once across live data, history and readers.

Native script/model preparation shares a snapshot of all resident project rows, not only one input layer. Let P be the estimated bytes of unique row allocations across its maps, offline areas and tables. One such snapshot retains 1×P (or P/L times a nonempty target layer), with 0×P initial row copies. Multiple snapshots share unchanged allocations and add only distinct retained versions. Clearing history cannot evict rows a queued script still owns; edit admission counts those rows, and completion/cancellation/drop releases the reader registration.

The replay ledger holds only runtime identity metadata proportional to recorded tool outputs, including outputs removed later in the script. It reuses existing worker output records and adds no feature copies.

Topology holds the current rule’s matched-row index vector. With capacity C and primary-row storage L bytes, its allocation is size_of::<usize>() × C / L of that layer (8C/L on 64-bit targets); its length is the number of matched primary rows.

The existing Dataset::in_lonlat() conversion borrows longitude/latitude inputs (0×L extra full-row copies). For a projected input it copies every row, including attributes and geometry: 1×L extra full-row storage while converting coordinates. A projected primary and covering input coexist during a rule (1×Lp + 1×Lc beyond their shared source rows); the same source in both roles can therefore have 2×L extra copies. These pre-existing conversion copies are separate from the Undo/read-retention budget. The row-index vector and converted datasets are released before the next rule.

Metadata and ranking working memory are separate from those shared row allocations. Similar has no full timestamp/mask cache; ranking scratch and topology coordinate-conversion allocations retain their existing algorithms. Linux memory CI passes and no memory limit changes.

The stable ranking sort, one row’s query/conversion, a projected dataset’s initial full-row copy, each complete latitude-validation pass and a topology gaps union remain indivisible library steps, checked around them. Query, coordinate-conversion and geometric loops otherwise check Cancel between rows or row batches; wide numeric vectors check too.

Surfaces

Desktop UI and direct scoped MCP use the background queue and refuse inline fallback on worker-start failure. Native desktop scripts use existing read-ahead/replay; synchronous CLI/Python and browser callers retain their caller-thread contract. Shared engine policies reach phone, plugin and Assistant consumers. Selection changes only after successful current-input validation, with newer user selections preserved. No source reload, ribbon placement or saved-data change.

Merge Danger

Door: two-way

Blast Radius: analysis

Changes topology fallback reporting and Similar selection/execution/completion. Inputs with finite standardization statistics preserve ranking bits and resident populations; overflowing statistics are refused.

UI evidence

Actual headless UI using a synthetic layer; images are hosted outside this repository.

Before the request:
Find Similar before request

Running, with progress and Cancel:
Find Similar running

Completed ranking and selected rows:
Find Similar completed

The same Similar section retains the completed ranking after closing and reopening:
Find Similar ranking after reopening

Before New Project:
Similar ranking in the source project

After New Project, the old ranking is cleared:
New project without stale Similar output

Layer removal clears the old ranking

Before removing the target layer:
Ranking for values

After automatic fallback to other:
Fallback layer without stale ranking

Related issue

Continues the row-policy work from #2421 and #2458, covering topology and the remaining resident-data workflows.

Summary by CodeRabbit

  • New Features
    • Added Similarity analysis to rank comparable rows, with optional selection of eligible matches. Desktop processing shows progress and supports cancellation.
  • Bug Fixes
    • Topology validation applies primary-layer definition queries while checking all resident rows in covering layers. Unreadable queries fall back to all primary rows and generate notices.
    • Similarity skips and counts incomplete candidates, rejects references missing compared values, and refuses comparisons when statistics exceed the numeric range. Selection respects applicable map filters and preserves newer selections; stale results are discarded.
    • Similarity results remain available when reopening the same workflow section, and queued requests respect their order.
  • Documentation
    • Clarified which analysis workflows use all resident rows and how Similarity handles references, hidden matches, filters, and selection, along with Topology’s row scope and desktop processing requirements.

@coderabbitai

coderabbitai Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • Resume reviews
  • Trigger review

No actionable comments were generated in the recent review.

Walkthrough

Topology validation now applies primary-layer definition queries during worker checks. Find Similar adds cancellable rankings, queued desktop execution, replay support, and selection updates guarded by captured state and request order.

Changes: Topology Validation

Layer / File(s) Summary
Capture inputs and check topology rows
crates/engine/src/cmd/design.rs, crates/engine/src/tests.rs, crates/engine/src/tests/cancellation.rs, docs/user-guide/editing.md
Worker checks evaluate primary-layer definition queries and validate the selected primary rows. Covering-layer checks use all resident rows. Tests and documentation cover query scope, unreadable-query notices, and cancellation.
Reuse and route prepared results
crates/engine/src/cmd/design.rs, crates/engine/src/tests.rs, crates/ui-egui/src/readjob.rs, crates/assistant/src/mcp.rs
Prepared checks are reused only when captured inputs match. Desktop and archive paths use queued reads, and desktop validation reports an error if the worker cannot start.

Background Similarity Analysis

Layer / File(s) Summary
Resolve inputs and compute rankings
crates/analysis/src/network.rs, crates/engine/src/cmd/similar.rs, crates/engine/src/cmd/workflows.rs, crates/engine/src/cmd/mod.rs, crates/engine/src/cmd/reads.rs, crates/map/src/time.rs, crates/engine/src/tests.rs, crates/engine/src/tests/cancellation.rs, docs/user-guide/analysis.md
The command resolves the reference and numeric fields, computes cancellable rankings, and filters selection candidates using definition queries, time windows, and display filters. It reports skipped candidates and rejects invalid numeric inputs.
Prepare reads and guard selection updates
crates/engine/src/lib.rs, crates/engine/src/cmd/select.rs, crates/engine/src/policy/dispatch.rs, crates/engine/src/cmd/gp.rs, crates/engine/src/cmd/workflows.rs, crates/engine/src/undo_memory.rs, crates/engine/src/tests.rs, AGENTS.md
Selection ordering guards prepared results from replacing newer selections. Read preparation and policy capture admit data.similar. Script replay records typed read results, while undo-memory accounting includes allocations held by queued readers.
Queue desktop requests and route results
crates/ui-egui/src/analysispane.rs, crates/ui-egui/src/readjob.rs, crates/ui-egui/src/lib.rs, crates/ui-egui/src/mapview.rs
Desktop requests use the background queue. Completion handling checks request and captured project, map, layer, and section state. Project replacement and section changes update pending work and displayed results.

DuckDB Argument Test

Layer / File(s) Summary
Assert allowed DuckDB arguments
crates/data/src/source/duckdb.rs
The credential test checks the exact allowed Unix arguments and retains the standard-input script assertion.

Estimated code review effort: 4 (Complex) | ~60 minutes

Change: Bug fix

Sequence Diagram(s)

sequenceDiagram
  participant Pane as Similar pane
  participant Queue as readjob
  participant Command as similar::run
  Pane->>Queue: Submit data.similar request
  Queue->>Command: Run queued command
  Command-->>Queue: Return ranking result
  Queue-->>Pane: Deliver request completion
Loading

Possibly related issues

  • opengeos/RustGIS#2402: Similar and topology apply definition-query handling, but the changes do not address feature export or add a shared resolver.

Possibly related PRs

  • opengeos/RustGIS#1727: Both changes validate captured topology inputs before reusing prepared results.
  • opengeos/RustGIS#1503: Both changes affect desktop script execution on copied sessions and replay of prepared results.

Suggested reviewers: giswqs, pick2510

Merge Risk: Minimal · up to 6c46e

Find Similar now keeps a user's later selection change, or a newer Similar result's selection, when an older result lands, and still shows the ranking. Trend failures stay in their own section, and an automatic layer fallback clears the old ranking. No actionable merge-blocking risk remains after review.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "fix(engine): honor row policies and prepare Similar in background" names the two main changes in the changeset: resident-row population policies for topology and Similar, and background pre…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description follows the template's Summary, Testing, UI evidence, and Related issue sections, and it adds Surfaces and Merge Danger sections. The Summary explains the topology row-policy fallback …
Full details: Title check

Explanation

The title "fix(engine): honor row policies and prepare Similar in background" names the two main changes in the changeset: resident-row population policies for topology and Similar, and background preparation of Similar and topology validation. The raw summary confirms both are present, with Similar prepared on the read queue and topology validation moved to the worker. The title is specific and does not use vague terms. It omits some areas such as selection ordering and memory accounting, which is acceptable.

Full details: Description check

Explanation

The description follows the template's Summary, Testing, UI evidence, and Related issue sections, and it adds Surfaces and Merge Danger sections. The Summary explains the topology row-policy fallback and the Similar changes. The Testing section lists targeted tests, Clippy, strict wasm, and CI runs. The UI evidence section includes screenshots of the Find Similar workflow, the reopen behavior, project replacement, and layer fallback. The Related issue section cites the prior row-policy work (#2421 and #2458). The description is very long and dense. Some passages describe internal memory accounting in detail, and some Testing bullets are hard to follow. Even so, the required sections are present and substantively filled in, so the check passes.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

A rabbit checks the rows in view
Then ranks the matches, neat and true
Queued work returns when checks are through
Newer choices keep their place
I hop along at a careful pace

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 91644ca0-b22b-46e5-99da-3225ec37384e
Commits

Reviewing files that changed from the base of the PR and between 53ea95a and 6c46efd.

Files selected for processing: 1

  • crates/engine/src/tests.rs

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 4 remain after this review.

Comment thread crates/engine/src/cmd/design.rs Outdated
// A covering layer that is gone leaves the rule with nothing to check (its layer's
// latitudes are still checked).
// latitudes are still checked). Its whole resident dataset supplies coverage,
// independently of its selection and definition query.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Silent: a covering layer's definition query is ignored with no notice (confidence: medium).

by is taken from b.dataset with no row policy, so a covering layer hidden by its definition query or selection still counts as coverage. The map shows that layer filtered, but topology.validate reports points as covered by polygons the user has hidden, and nothing says so. The new test at tests.rs (topology_row_contracts_and_unreadable_query_notice, the cover layer with definition_query = "n > 100") asserts exactly this behaviour, so it is now codified rather than incidental.

This is not new: the old code also used b.dataset.clone(). The PR body says covering-layer policy is preserved, so this may be intended. If it is, a notice (for example "covering layer X has a definition query; coverage uses all its rows") would meet the "never silent" rule. If it is not, switch the covering side to Policy::Query.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Covering rows deliberately use the complete resident dataset. Before this change, topology_checks cloned b.dataset and check_topology passed that whole dataset to not_covered; the covering layer’s map query and selection are outside this rule’s input scope. Primary rows retain Query scope. The new command test checks that distinction, including an empty primary query. This path neither filters away covering geometry nor attempts to compile its query, so it does not use the unreadable-query fallback being reported here. Keeping the established covering contract avoids changing which primary features satisfy the rule.

@github-actions

Copy link
Copy Markdown
Contributor

Code review

Bugs

  • Covering layer's definition query ignored silently (crates/engine/src/cmd/design.rs:2190, medium confidence). A covering layer hidden by its query or selection still counts as coverage, and no notice says so. The new test codifies this. The old code behaved the same way, so this is not a regression. The PR body says covering-layer policy is preserved, so it may be intended. Posted inline.

Security

  • None found. The change adds no input parsing and no new external surface.

Performance

  • None new. visible_rows() already evaluated the definition query over every row on the caller's thread, and topology_ahead already ran that work in prepare. The doc comment in topology_checks acknowledges the missing Cancel checks. The Rows::All index vector is the same allocation as before.

Quality

  • topology_checks returns Result, and topology_ahead swallows it with .ok()?. Layer::resolve_rows only returns Err through selected_rows_in, which runs only for Policy::SelectionAndQuery. For Policy::Query with within: None, the error path is unreachable. The fallible signature implies a failure mode that does not exist. The .ok()? is not silent in practice, because topology_validate re-runs the check and surfaces the error. Confidence: high. Left for the release quality pass.
  • The TopologyInput doc still says "the layer's rows shown", which is slightly stale now that rows follow Query and not the map's visibility. Confidence: high, trivial.

AGENTS.md

  • Reviewed against the rules on never-crash, never-silent, never-hold-the-window, size, and reaching every surface. The notice is per kind with a count, the detail list is bounded to five plus a remainder, and clean input produces no notice. Both tests cover both cases, and the stale-prepared-result check covers the query_error comparison. No new background command was added, so long_commands needs no update. No new memory or storage was introduced, so no size multiple is required.
  • I could not compile or run the tests in this environment (no shell), so the test assertions are checked by reading only.

Previously raised concerns: none. prior-reviews.json has no threads, so I left nothing alone.

Change size

Compared: the whole PR against main (merge base 96da316 to PR head 43fbe5b).

Measure Value
Files changed 3 (0 added, 3 modified, 0 removed, 0 renamed)
Size before 3.36 MB
Size after 3.37 MB
Total size change +10.1 KB
File Before After Change
crates/engine/src/tests.rs 3.13 MB 3.13 MB +8.2 KB
crates/engine/src/cmd/design.rs 127.8 KB 129.6 KB +1.8 KB
crates/engine/src/cmd/workflows.rs 110.5 KB 110.8 KB +314 B

@Mavrick-F

Copy link
Copy Markdown
Member Author

The covering-layer policy is intentional and unchanged; the inline reply explains its primary Query / covering All contract and actual-command coverage. The fallible-signature and doc-wording points are left for the release quality pass.

@github-actions

github-actions Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

📖 Docs preview

Item Value
Preview https://preview.rustgis.app/pr-2480/
Web app https://preview.rustgis.app/pr-2480/app/
Commit 6dd20d5

GitHub Pages takes a minute or two to publish a new commit. Newer commits from the fork aren't published until a maintainer adds the preview label (once per commit).

@Mavrick-F
Mavrick-F added this pull request to the merge queue Nov 19, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 19, 2026
Comment thread crates/engine/src/cmd/workflows.rs Outdated

/// Compare All resident candidates. Selection supplies only the reference when row is omitted;
/// filtering candidates would also change the population used to standardize distances.
fn similar(s: &mut Session, p: &Value) -> CmdResult {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Selected results can be rows the definition query hides (confidence: medium-high).

This PR now documents and tests "All resident candidates" for data.similar. The candidate population is right, but select defaults to true, and that path ends in select::set(.., Mode::New) (crates/engine/src/cmd/select.rs:127). That function only drops out-of-range rows, so the hidden candidates are written into the layer's selection. With a valid query such as n > 5, a user who runs Embeddings on a drawn row can end up with invisible features selected. That contradicts docs/user-guide/analysis.md:14, which says a definition query "keeps [a feature] out" of selection.

The new test does not cover this. Its final data.similar call (no select key) runs after the loop, and the loop's last query is missing = 1, which is unreadable and hides nothing. So the selection assertion at tests.rs (selection == [0, 1, 2]) never sees a hidden row.

Suggested fix, pick one:

  • keep All as the candidate population, but when select is true, select only the returned rows the layer's definition query keeps (or the reference row), and add a test with a valid query that hides a candidate;
  • or keep the behaviour and say in the user guide and in the command's params text that Embeddings' selection can include hidden features.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in fc74b0b. The regression first reproduced [0,1,2] selected under n >= 2, where only [1,2] should be selected. Similar still returns the same all-resident rankings; output selection now uses the existing drawn-row mask for queries, time windows and display filters, excludes a hidden explicit reference too, and reports the excluded count once. The valid/empty/unreadable-query and display-filter matrix passes, as do Clippy, strict wasm, hooks and full fork CI.

@github-actions

Copy link
Copy Markdown
Contributor

Code review

Bugs

  • data.similar (crates/engine/src/cmd/workflows.rs:1930), posted inline: with the default select: true, Embeddings selects its results via select::set, which only drops out-of-range rows. Candidates now come from All rows, so a valid definition query can leave hidden features selected. The new test misses this, because its final selection check runs under an unreadable query that hides nothing. Confidence: medium-high.
  • No other concrete bug found. I checked resolve_rows (Policy::Query never returns Err), the notice counting (5 details plus a remainder, deduplicated by layer), staleness via query_error in same_topology, and the empty-subset case. The primary-row scope matches the old visible_rows (query-only, no selection), so the only behaviour change is the notice.

Security

  • None found.

Performance

  • topology_checks materialises (0..n).collect() for each unfiltered primary layer, and same_topology compares those vectors on every validate. Before the change, visible_rows plus the collect did about the same work when all rows were visible, so this is not a regression. Confidence: high that it is not new.

Quality (left for the release quality pass)

  • The unreadable-query notice is now written out three times: design.rs (topology), workflows.rs neighborhood (around lines 1747–1809), and gp.rs (around lines 1311–1334). A shared helper would remove the copies.
  • topology_checks returns Result, but its only ? is unreachable under Policy::Query. topology_ahead also discards the error with .ok()?. Both are harmless today, but they would hide an error if the policy changed.

AGENTS.md

  • The PR body says it documents the All-resident exceptions, but the only additions are Rust doc comments. docs/user-guide/analysis.md (lines 1481–1483, the Data Engineering, Exploratory Analysis and Embeddings rows) says nothing about map filters or selection being ignored. Confidence: medium.
  • "Size for real data": the PR does not state the memory multiple for the per-row index vectors in TopologyInput and TopologyAhead, which AGENTS asks for when a change stores or compares layer data. This is the same storage as before, so the impact is low. Confidence: low-medium.

Already raised, left alone: 1 concern. The covering layer's definition query is ignored without a notice (design.rs, the thread from github-actions). The author replied that covering coverage is deliberate and does not use the unreadable-query fallback, which answers the notice question as well.

Change size

Compared with the base branch: the whole PR, merge base efd48ea to PR head 20bd5cd.

Measure Value
Files changed 3 (0 added, 3 modified, 0 removed, 0 renamed)
Size before 3.36 MB
Size after 3.38 MB
Total size change +10.1 KB
Path Before After Change
crates/engine/src/tests.rs 3.13 MB 3.13 MB +8.2 KB
crates/engine/src/cmd/design.rs 135.5 KB 137.4 KB +1.8 KB
crates/engine/src/cmd/workflows.rs 110.5 KB 110.8 KB +307 B

@Mavrick-F

Copy link
Copy Markdown
Member Author

The hidden-selection bug is fixed and covered by the reproduced regression in fc74b0b. The guide now explains the all-resident diagnostic/ranking populations and drawn-only Similar output selection. The PR body states the retained index storage and temporary visibility-mask sizes; no feature/geometry copy is added. The shared-notice-helper and fallible-signature refactor points are left for the release quality pass.

Comment thread crates/engine/src/cmd/workflows.rs Outdated
if b(p, "select").unwrap_or(true) {
let mut sel: Vec<usize> = found.iter().map(|x| x.0).collect();
sel.push(row);
let drawn = l.drawn_rows(s.scale());

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Silent query fallback on the select path (confidence: medium).

drawn_rows falls back silently when the definition query doesn't compile (query_rows_with(...).unwrap_or_else(|| vec![true; ..])), and it skips an unparseable display filter with if let Ok(e). So with select on, an unreadable query such as missing = 1 selects every candidate, and nothing is said. The new test resident_data_diagnostics_keep_all_rows_despite_map_filters enshrines that: its loop asserts notices.len() == usize::from(excluded > 0), which is 0 for missing = 1.

This PR now reports the same fallback for topology.validate ("reading without that query"), so the two commands disagree. Under the "Never silent" rule, the selection path should say the same thing: when Query::compile fails for the layer's definition query (or a display filter fails to parse), add one notice with the count and layer, and extend the test so missing = 1 expects that notice while clean queries expect none.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 7a2e61c. The regression first failed with zero notices for missing = 1. Selection now reports unreadable definition queries and active display filters in one notice, counting all failed settings but retaining only the first literal parser error. The existing selection fallback and rankings remain unchanged; select: false stays quiet. The matrix also checks two failed display filters counted in one notice. Regression, Clippy, strict wasm, hooks and full fork CI passed.

@github-actions

Copy link
Copy Markdown
Contributor

Code review

Bugs

  • No new bugs found in the topology row policy, the fallback notice, or the prepared-result equality check. Policy::Query cannot return Err, so the new Result plumbing is never exercised (see Quality).

Security

  • None found. The notice carries parser text and layer names as literal data through NoticeText.

Performance

  • topology_checks now runs the definition-query pass on the UI thread, in topology_ahead and again in topology_validate on every run. The old visible_rows() did the same work, so this is not a regression. The doc comment acknowledges that it has no Cancel check. Confidence: high that it is pre-existing and documented.
  • The Rows::All path still materialises (0..len).collect() per rule. The old code did the same. The PR body says "one usize per checked primary row per rule", which is per-row, not the multiple of the layer that AGENTS asks for. Confidence: low.

Quality

  • topology_checks returns Result, but resolve_rows with Policy::Query never errs. topology_ahead swallows the error with .ok()?, so if an error ever appears, the background check silently drops out. Confidence: low.
  • The TopologyInput doc at design.rs:2292 still says "the layer's rows shown". Policy::Query ignores time windows and display filters, so "shown" overstates it. Confidence: high (nit).

AGENTS.md

  • The similar selection path silently applies an unreadable definition query. This breaks the "Never silent" rule and differs from the topology notice in this same PR. Posted inline at crates/engine/src/cmd/workflows.rs:1951. Confidence: medium.

Earlier concerns

  • Two threads were already on this PR. The similar hidden-row selection thread is addressed by the new drawn filter. I checked it, and network::similar excludes the reference row, so the selection cannot duplicate. I did not re-raise it.
  • The covering-layer silence thread (design.rs, topology_checks) was answered by the author as deliberate. That answer covers intent, not the "Never silent" notice requirement, so the concern stays open. I left it alone and did not re-post it.
  • In total: 2 earlier concerns were left alone, 1 was addressed by the new code, and 0 were re-posted.

Change size

Compared with the base branch (merge base efd48ea to PR head fc74b0b).

Files changed Added Modified Removed Renamed Size before Size after Total change
4 0 4 0 0 3.53 MB 3.55 MB +13.0 KB
Path Before After Change
crates/engine/src/tests.rs 3,200.5 KB 3,210.1 KB +9.6 KB
crates/engine/src/cmd/design.rs 135.5 KB 137.4 KB +1.8 KB
crates/engine/src/cmd/workflows.rs 110.5 KB 111.5 KB +0.9 KB
docs/user-guide/analysis.md 172.2 KB 172.8 KB +0.6 KB

@Mavrick-F

Copy link
Copy Markdown
Member Author

The Similar selection fallback is now reported and covered in 7a2e61c. Both definition-query and active-display-filter failures are counted, with a single literal diagnostic rather than an unbounded detail list. The PR body gives index/visibility-buffer sizes as multiples of resident layer bytes and records zero additional full feature/geometry copies. The fallible-signature and TopologyInput doc wording points remain left for the release quality pass.

Comment thread crates/engine/src/cmd/workflows.rs Outdated
/// Compare All resident candidates. Selection supplies only the reference when row is omitted;
/// filtering candidates would also change the population used to standardize distances.
/// Output selection keeps only drawn rows, reporting candidates/reference excluded by map filters.
fn similar(s: &mut Session, p: &Value) -> CmdResult {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AGENTS.md: UI-thread work without a stated reason (confidence: medium-low).

data.similar is a synchronous command (Effects::NONE, no reads, gp::tool_start or workflows::runs_in_background path). Its work already grows with the layer: network::similar scans every resident row. This change adds a second all-row pass, l.drawn_rows(scale), which evaluates the definition query and applicable display filters over every row, and it runs on the UI thread too. The new doc comment doesn't say why the command stays on the UI thread or that the pass has no Cancel check.

The "never hold the window" rule asks for either an off-thread path or a doc comment saying why it must run on the UI thread. The first half was already missing before this PR, so this is not a regression on its own. The fix here is either to add that doc comment, or to route the command through a background path.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 827e68f. Desktop UI and direct scoped MCP compute Similar through the read queue with progress/Cancel, sharing input rows; only current successful completion applies selection and notices. Stale input and failed worker creation refuse instead of rerunning on the window thread. Ranking loops check cancellation, and selection predicates now examine only at most 1,001 result/reference rows. The stable sort and detached time-mask fill are documented indivisible steps. Actual UI/relay tests, both cancellation sweeps, 2,664 bitwise ranking comparisons and full exact-head fork CI passed.

@github-actions

Copy link
Copy Markdown
Contributor

Code review

Bugs

  • No correctness bugs found. I checked resolve_rows, drawn_rows, query_rows, and the topology and Similar paths against the diff. The new tests match the code's behaviour, including the hidden-reference, display-filter, unreadable-query, and bounded-details cases. Confidence: high.

Security

  • None found in the changed lines. Parser error text and layer names go into notices as literal data. Confidence: high.

Performance

  • data.similar is synchronous and now adds a full query and display-filter scan (drawn_rows) over all resident rows, on top of the existing network::similar scan. This is an AGENTS rule issue (see below), not a new regression. Confidence: medium.

Quality

  • crates/engine/src/cmd/design.rs:2310: topology_checks now returns Result, but its only possible Err comes from resolve_rows with Policy::Query, and that branch can't fail. topology_ahead uses .ok()?, which would hide an error at prepare time if one ever appeared. Simplify, or propagate the error. Confidence: medium-high.
  • crates/engine/src/cmd/design.rs:96: "{layers}; {count} more layers" reads "1 more layers" when one layer is left over. The same wording exists in workflows.rs:1807. This is a wording point, so it can wait for the release quality pass. Confidence: high.
  • The PR body's CI link is to a fork run, and I can't tie it to head 7a2e61c, the commit that added the display-filter notice. Confidence: low.

AGENTS.md

  • Inline comment posted on crates/engine/src/cmd/workflows.rs:1931: data.similar stays on the UI thread without a doc comment giving the reason, and the new pass has no Cancel check. The rule asks for an off-thread path or a stated reason. Confidence: medium-low. This is mostly pre-existing.
  • Otherwise the diff follows the rules: the notices are counted once per kind, the new tests cover both clean and lossy input, no non-test unwrap/expect/panic was added, and the docs match the code.

Prior threads: I left 3 earlier concerns alone:

  • Covering-layer definition query: the PR author answered it as intentional, and a test codifies it.
  • Similar selecting hidden rows: fixed in fc74b0b, and the current code uses the drawn mask.
  • Silent select-path fallback: now reported, including display filters.

I did not run the tests or the build, because I had no shell. My review is by reading the code.

Change size

Compared with the base branch (merge base efd48ea to head 7a2e61c).

Measure Value
Files changed 4 (0 added, 4 modified, 0 removed, 0 renamed)
Size before 3.53 MB
Size after 3.55 MB
Total size change +14.8 KB
Path Before After Change
crates/engine/src/tests.rs 3.13 MB 3.14 MB +10.6 KB
crates/engine/src/cmd/workflows.rs 110.5 KB 112.5 KB +1.9 KB
crates/engine/src/cmd/design.rs 135.5 KB 137.4 KB +1.8 KB
docs/user-guide/analysis.md 172.2 KB 173.0 KB +795 B

@Mavrick-F Mavrick-F added the ci:windows Run the Windows CI jobs on this pull request label Nov 20, 2026
@Mavrick-F Mavrick-F changed the title fix(engine): report topology query fallbacks and preserve row contracts fix(engine): honor row policies and prepare Similar in background Nov 20, 2026
@Mavrick-F

Copy link
Copy Markdown
Member Author

The UI-thread work is fixed by 827e68f, with prepared-input validation, progress/Cancel and no synchronous worker-start fallback. The passing fork run names that exact head; the PR description and memory accounting now reflect the bounded result filtering and shared snapshot. The topology signature and plural-wording quality points remain left for the release quality pass.

.filter(|r| *r != row)
.filter_map(|r| vec_of(r).map(|v| (r, v.iter().zip(&target).map(|(a, b)| (a - b).powi(2)).sum::<f64>().sqrt())))
.collect();
let Some(target) = vec_of(row)? else {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Silent unusable result: a reference row with a missing value returns an empty ranking (confidence: high).

When the reference row has a null or non-finite value in any compared field, this returns Ok(Vec::new()) with no notice. Embeddings then answers {"similar": []} and, with the default select: true, selects only the reference row. AGENTS.md says unusable results are errors, so this should refuse.

The same applies to candidates: rows with a missing value in any field are dropped silently at line 821 (if r != row && let Some(v) = vec_of(r)?), and they also drop out of the standardization statistics at line ~771. The "features skipped" rule asks for a count. This predates the PR, but the PR rewrites this function and the rule says existing silent losses are bugs.

Minimal fix for the reference case:

Suggested change
let Some(target) = vec_of(row)? else {
let Some(target) = vec_of(row)? else {
return Err("the reference row has no finite value in every compared field".into());
};

For candidates, count the skipped rows and return the count to similar.rs so gather can emit one notice.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2f5047aff refuses a reference missing a finite compared value and counts skipped incomplete candidates, including with select: false. Null/NaN/infinite reference and candidate regressions pass. The comparison probe verifies 2,475 valid rankings retain identical row order and distance bits, and 189 unusable references are refused. Focused checks and full fork CI pass.

Comment thread crates/engine/src/cmd/similar.rs Outdated
if let Some((field, Some(window))) = &v.time {
let mut time = rustgis_map::time::TimeBinding::new(field);
time.window = Some(*window);
let mask = time.keeps(&input.data);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The time-window path allocates more than the PR body's memory account says (confidence: medium-high).

Visibility captures only the field and window, then TimeBinding::new(field) is a fresh binding with an empty cache. keeps therefore calls rows_in → dated, which builds a Vec<Option<f64>> of one 16-byte entry per row, plus the Vec<bool> mask, and runs time::detect again. The peak is about 17 bytes per resident row, not the "one byte per row" in the PR body. Per AGENTS.md "Size for real data", the PR body should state this multiple.

It also ignores the layer's already-cached time mask (l.time), so each run recomputes the moments. Cloning the layer's TimeBinding into Visibility would reuse its Arc cache. The code comment says a detached cache avoids locking the live window's cache, so that trade-off should be stated either way.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2f5047aff removes the fresh layer-wide time binding. Date-kind detection preserves the existing 500-nonempty-value sample, with Cancel during sparse scans; only the at-most-1,001 result/reference rows are converted and tested. No timestamp/mask vectors are allocated. Parity/cancellation regressions and full fork CI pass; the PR memory account is updated.

Comment thread crates/engine/src/cmd/design.rs Outdated
// independently of its selection and definition query.
// Both in longitude/latitude: a copy only of a layer in another system.
let lonlat = |d: &rustgis_data::Dataset| d.in_lonlat().map(std::borrow::Cow::into_owned);
let (by, by_unreadable) = match &rule {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Follow-up on the covering-layer thread (confidence: medium). The author's reply explains that the covering contract is intentional, and I agree it is not a regression. It doesn't address the "Never silent" requirement, though: coverage here counts rows the layer's definition query hides and the map doesn't draw, and no notice says so. Either add one notice per run when a covering layer has a readable definition query or an active time window (count and layer name, clean input silent), or state in the PR why that exception is exempt from the rule.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For must-be-covered-by, every resident covering feature supplies the reference coverage. Its map query, selection, time and display filters do not narrow that declared All input. All covering geometry is consumed, so this path has no query fallback or dropped geometry to report. The guide now states that scope explicitly. Primary inputs keep their separate Query policy and counted parser-error fallback notice.

@github-actions

Copy link
Copy Markdown
Contributor

Code review

I read the full 2,267-line diff, the staged metadata and the 35 existing review threads, and checked the source they point at. I found one new concern. I did not run cargo or the test suite, because this environment has no build access.

Bugs

  • No new correctness bugs found. I checked the Undo budget (Readers uses Weak keys, so the dead-key concern in the existing thread does not hold), the wasm gating of the new desktop-only paths, the From<Cancelled> for String conversion, the spinner's not_run path, and the readjob desktop-only module gating. All hold.

Security

  • None found. The one test change (the DuckDB secret) now asserts exact argv and stdin, which is stronger than before.

Performance

  • Nothing new. The distance loop is still single-threaded and network::similar still keeps one (usize, f64) per candidate. Both are already raised in an existing thread, and the author deferred them.

Quality

  • Selection changes silently after the pane releases the request (confidence: medium). Posted inline at crates/engine/src/cmd/similar.rs:242. A Find Similar that completes after a section or layer change still applies Mode::New, which clears every layer's selection. The pane has no notice for this. This re-raises the analysis-pane thread on switching section or layer, which the author answered only for display ownership.
  • Not re-raised: the notice wording "{n} features aren't drawn" and the progress reset per phase. Both are deferred as quality points.

AGENTS.md

  • The rules I checked are met: the long_commands entries for data.similar and topology.validate, the data.similar entry in the read-ahead example, Cancel checks in the long loops, the tl! strings, and the PR-body multiples for the memory the change holds.
  • Not checked: xtask/row-uses.txt and xtask/memory-limits.txt are not in the changed files. Whether the row-access and memory gates pass depends on CI, so I could not confirm them.
  • Not checked: cargo fmt for the long added lines. The only long lines I found are string literals that rustfmt can't split, so I did not flag them.

Already raised (left alone)

I left 34 of the 35 existing threads alone, because each is either answered by the author, already fixed, or deferred to the quality pass. I re-raised one (analysis-pane thread on switching section or layer), and only for its unaddressed selection side effect.

Change size

Compared: the whole PR against main (merge base b034f51 to PR head 53ea95a).

Measure Value
Files changed 24 (added 1, modified 23, removed 0, renamed 0)
Size before 5.77 MB
Size after 5.88 MB
Total size change +105.4 KB
Path Before After Change
crates/engine/src/tests.rs 3.22 MB 3.26 MB +38.8 KB
crates/ui-egui/src/readjob.rs 129.6 KB 144.2 KB +14.6 KB
crates/engine/src/cmd/similar.rs 0 B 10.7 KB +10.7 KB
crates/ui-egui/src/analysispane.rs 149.4 KB 157.6 KB +8.2 KB
crates/map/src/time.rs 13.8 KB 18.8 KB +5.0 KB
crates/engine/src/cmd/design.rs 137.8 KB 142.6 KB +4.8 KB
crates/engine/src/undo_memory.rs 43.8 KB 48.5 KB +4.7 KB
crates/engine/src/cmd/gp.rs 298.2 KB 301.5 KB +3.3 KB
crates/ui-egui/src/mapview.rs 328.6 KB 331.8 KB +3.2 KB
crates/analysis/src/network.rs 84.6 KB 87.2 KB +2.6 KB
docs/user-guide/analysis.md 174.4 KB 176.7 KB +2.3 KB
crates/ui-egui/src/lib.rs 499.3 KB 501.1 KB +1.8 KB
crates/engine/src/lib.rs 191.7 KB 193.3 KB +1.6 KB
crates/engine/src/policy/dispatch.rs 65.5 KB 66.7 KB +1.2 KB
crates/engine/src/tests/cancellation.rs 33.2 KB 34.0 KB +0.7 KB
crates/engine/src/cmd/select.rs 41.5 KB 42.2 KB +0.7 KB
docs/user-guide/editing.md 44.6 KB 44.9 KB +0.4 KB
crates/engine/src/cmd/reads.rs 17.2 KB 17.6 KB +0.4 KB
crates/engine/src/cmd/workflows.rs 113.3 KB 113.5 KB +0.2 KB
crates/assistant/src/mcp.rs 31.7 KB 31.8 KB +0.1 KB

format!("{}: {e}", i.layer)
}
};
let data = i.data.in_lonlat().map_err(named)?;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AGENTS.md, size rule (confidence: medium-high). Dataset::in_lonlat() starts with self.clone() and then calls iter_mut(), which goes through Arc::make_mut (crates/data/src/lib.rs, DerefMut for Features). For a projected layer that copies every Feature, geometry and attributes included. So each topology check holds one extra full copy of each projected primary layer, plus one for each projected covering layer, for the length of the check. It is not counted by make_room, held or the undo budget. The copy predates this PR, but the PR's memory section says topology "holds only the current rule's matched-row index vector" and does not give the multiple. AGENTS asks for that multiple in the PR description. A layer already in lon/lat returns Borrowed, so this only applies to projected layers.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected the PR’s memory account. in_lonlat() borrows longitude/latitude inputs (0×L extra full-row copies) and makes one extra full-row copy for each projected input, including its attributes. Projected primary and covering copies coexist during the rule (1×Lp + 1×Lc); using the same projected source in both roles can therefore add 2×L. The description now states that these existing conversion copies are separate from Undo/read-retention accounting and are released between rules. Allocation and coordinate-conversion behavior are unchanged.

(TopologyRule::MustNotSelfIntersect { .. }, _) => t::self_intersections(&data, &i.rows),
(TopologyRule::MustNotHaveDangles { .. }, _) => t::dangles(&data, &i.rows, tol),
rustgis_data::progress::check().map_err(|_| cancelled())?;
rustgis_analysis::validate_latitudes(&data, rows.iter().copied())?;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AGENTS.md, cancel rule (confidence: medium). The doc comment above check_topology calls "one row's ... latitude validation" an indivisible step. That is not what this call does. rustgis_analysis::validate_latitudes (crates/analysis/src/lib.rs:756) is one pass over every matched row, with no Cancel check, and the covering-layer call validate_latitudes(by, 0..by.features.len()) is the same. The checks on either side of it only bound the pass, so on a large layer Cancel waits for the whole pass. Either add a check inside that loop (progress::check every N rows) or say in its doc comment that it is one whole-layer step.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected in b12e8a55d. The doc comment now names each complete latitude-validation pass and the initial projected full-row copy as indivisible steps. It no longer describes latitude validation as one row’s work. The PR description states the same cancellation boundary; the existing checks around those passes remain unchanged. Full fork CI passed.

@github-actions

Copy link
Copy Markdown
Contributor

Code review

Bugs: No new correctness defect found. I traced the Similar and topology landing paths, the copy/replay ordering, the budget's dead-key handling, the run_presented error callbacks, the reads_off_frame guard against recursion, and the wasm cfg gates. Each held up. The PR's Weak-key argument for dead budget keys is correct.

Security: None found. The new MCP batch admissions only reach Effects::NONE commands, and the DuckDB test now asserts exact argv.

Performance: Nothing new beyond the earlier threads. Topology's per-rule query evaluation matches the old visible_rows() cost, so it is not a regression.

Quality (nits, grouped; these can wait for the release quality pass):

  • crates/analysis/src/network.rs:803: "lacking a finite value in every compared field" reads as "missing in all fields". The code skips rows missing a value in any field. Confidence: high.
  • crates/engine/src/cmd/design.rs:2374: progress::begin runs per rule, so topology progress goes back to 0 for each rule. Confidence: medium.

AGENTS.md:

  • crates/engine/src/cmd/design.rs:2391: in_lonlat() copies every row of a projected layer (Arc::make_mut via iter_mut). That is one extra full copy per projected primary or covering layer during each check. The PR's memory section does not give this multiple. Pre-existing code, but the PR's account omits it. Confidence: medium-high.
  • crates/engine/src/cmd/design.rs:2394: the doc calls latitude validation "one row's" indivisible step. validate_latitudes is one uncancelled pass over all matched rows, including the covering layer's. Confidence: medium.

Earlier review threads: 36 were already on this PR. I left all of them alone and re-raised none.

Change size

Compared: the whole PR against main (merge base 33d03c0 to PR head 6c46efd).

Measure Value
Files changed 24 (1 added, 23 modified, 0 removed, 0 renamed)
Size before 5.8 MB
Size after 5.9 MB
Total size change +105.4 KB

Largest changes by file:

Path Before After Change
crates/engine/src/tests.rs 3.24 MB 3.28 MB +38.8 KB
crates/ui-egui/src/readjob.rs 129.6 KB 144.2 KB +14.6 KB
crates/engine/src/cmd/similar.rs 0 B 10.7 KB +10.7 KB
crates/ui-egui/src/analysispane.rs 149.4 KB 157.6 KB +8.2 KB
crates/map/src/time.rs 13.8 KB 18.8 KB +5.0 KB
crates/engine/src/cmd/design.rs 137.8 KB 142.6 KB +4.8 KB
crates/engine/src/undo_memory.rs 43.8 KB 48.5 KB +4.7 KB
crates/engine/src/cmd/gp.rs 298.2 KB 301.5 KB +3.3 KB
crates/ui-egui/src/mapview.rs 328.6 KB 331.8 KB +3.2 KB
crates/analysis/src/network.rs 84.6 KB 87.2 KB +2.6 KB
docs/user-guide/analysis.md 174.4 KB 176.7 KB +2.3 KB
crates/ui-egui/src/lib.rs 499.3 KB 501.1 KB +1.8 KB
crates/engine/src/lib.rs 191.7 KB 193.3 KB +1.6 KB
crates/engine/src/policy/dispatch.rs 65.5 KB 66.7 KB +1.2 KB
crates/engine/src/tests/cancellation.rs 33.2 KB 34.0 KB +0.7 KB
crates/engine/src/cmd/select.rs 41.5 KB 42.2 KB +0.7 KB
docs/user-guide/editing.md 44.6 KB 44.9 KB +0.4 KB
crates/engine/src/cmd/reads.rs 17.2 KB 17.6 KB +0.4 KB
crates/engine/src/cmd/workflows.rs 113.3 KB 113.5 KB +0.2 KB
crates/assistant/src/mcp.rs 31.7 KB 31.8 KB +0.1 KB

@Mavrick-F

Copy link
Copy Markdown
Member Author

The conversion-memory account and latitude-validation cancellation comment are corrected. b12e8a55d also fixes “every compared field” to “at least one” and clarifies that changing pane context does not cancel an admitted Similar command. Executable behavior is unchanged; formatting, guards, private preflight and full fork CI passed.

Topology’s progress remains scoped to each rule. A unified progress display across rules and their library phases is left for the release quality pass.

Comment thread crates/engine/src/cmd/similar.rs Outdated
fn resolve(s: &Session, p: &Value) -> Result<Self, String> {
let id = s.layer_id(p)?;
let l = s.map().layer(id).ok_or("no such layer")?;
let row = match p.get("row").and_then(Value::as_u64) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug (medium confidence): an explicit but invalid row is silently replaced by the selected feature.

p.get("row").and_then(Value::as_u64) returns None for -1, "5" or 1.5, so the code falls back to the layer's first selected row. With the default select: true, that replaces the user's selection with neighbours of a feature they did not ask for, and nothing is said. AGENTS.md ("Never silent") and the hostile-input rule both point against this. The same pattern was already here before this PR, but the PR moves this code and rewrites the surrounding command, so it is a reasonable place to fix it.

Suggested change: only an absent or null row falls back to the selection; a supplied value must be a whole number, or it is an error.

Suggested change
let row = match p.get("row").and_then(Value::as_u64) {
let row = match p.get("row") {
None | Some(Value::Null) => *l.selection.first().ok_or("select a feature (or give row)")?,
Some(v) => v.as_u64().ok_or("row must be a whole number")? as usize,
};

Add a regression test: row: -1 and row: "1" should return an error and leave the selection unchanged.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 62cc4cbe1, included at head 66f21b7b1. Only missing/null row falls back to the selected reference. A supplied row must be a non-negative integer, fit usize and be within the layer; invalid values return an error before selection changes.

The regression reproduced the old row: -1 fallback. It now checks negative/string/fractional/oversized references, unchanged selection and Undo on refusal, and retained null/omitted/valid-reference behavior. Targeted tests, strict wasm and full fork CI passed.

Comment thread crates/engine/src/cmd/similar.rs Outdated
if fields.is_empty() {
return Err("the layer has no numeric fields to compare".into());
}
let count = p.get("count").and_then(Value::as_u64).unwrap_or(10).clamp(1, 1000) as usize;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Silent clamp (low-medium confidence): count is clamped to 1…1000 with no notice.

count: 5000 silently returns 1000 rows, count: 0 silently returns 1, and a non-numeric count silently becomes 10. The caller is not told that the answer was truncated. AGENTS.md says a command that truncates results must say what, how much and where, so this should be an error for out-of-range values or a notice when the clamp takes effect. The same clamp existed before this PR; it is kept here because the line is part of the code this PR moves.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 62cc4cbe1. Missing/null count keeps the default of 10; a supplied value must be an integer from 1 to 1000. Invalid values are refused before selection changes, rather than defaulted or clamped. Help and the guide now state the limit.

The regression failed on the old count: 0 clamp and now covers invalid types/range, valid bounds, unchanged selection/Undo and retained defaults. All 47 targeted tests passed; the parameter and actual-pane checks also passed after the base update. Full fork CI passed on the published head.

@github-actions

Copy link
Copy Markdown
Contributor

Code review

I read the full diff (24 files), the 42 prior threads, and the source around the riskiest changes. I found no confirmed crash, data-loss, or wasm break in the new code. Two parameter-handling issues are posted inline. Several earlier concerns were already answered and I did not repeat them.

Bugs

  • Invalid row silently replaced by the selection (similar.rs:47, medium). row: -1, row: "1" or row: 1.5 fall back to the selected feature, and with select: true the user's selection is replaced without notice. Posted with a suggested fix. Pre-existing, but this code is moved by the PR.
  • count silently clamped to 1…1000 (similar.rs:58, low-medium). Out-of-range or non-numeric values are changed without any notice. Posted. Also pre-existing.

Security

  • None found. The DuckDB test change is a test-fixture edit. The assertion is now an exact argument-list match, which is stricter than before.

Performance

  • Nothing new beyond the prior thread on the full sort and the per-candidate Vec in network::similar. That is pre-existing, and the author deferred it to the release quality pass.

Quality

  • Nits, for the release quality pass:
    • analysispane.rs (*id != "similar" || app.workflow.section != *id) is hard to read. The guard can be simplified.
    • AGENTS.md line 10 is wider than the surrounding wrap.
    • Some editing.md lines in the topology paragraph are over-wide.

AGENTS.md

  • Checked and consistent: data.similar and topology.validate are added to long_commands, the scoped-read and archive-batch lists, and the cancellation and memory accounting. Topology's old visible_rows() was already Query-only, so the new primary scope matches the old behaviour. The unreadable-query fallback is now reported.
  • Verified: begin/finish are thread-local progress counters, so the early ? returns in network::similar leave no state behind. The data.similar route in RustGisApp::run is guarded by reads_off_frame, so run_presented cannot recurse. ahead_on_copy already uses the desktop-only gp::Ahead, so the new selection_admission use is gated the same way. The removed topology Control::new() override was only reached on the spawn-failure fallback, which now refuses topology, so removing it is safe.

Already raised and left alone

I left 42 earlier threads alone, because they are answered or already raised. That count includes the memory multiples, the dead keys budget question, the topology refusal in desktop scripts, the Similar notice wording, the covering-layer scope, and the per-phase progress reset.

Change size

Compared: the whole PR against main (merge base 33d03c0 to PR head b12e8a5).

Files changed Added Modified Removed Renamed Size before Size after Total change
24 1 23 0 0 5.8 MB 5.9 MB +108.2 KB
Path Before After Change
crates/engine/src/tests.rs 3.2 MB 3.3 MB +38.8 KB
crates/ui-egui/src/readjob.rs 129.6 KB 144.2 KB +14.6 KB
crates/engine/src/cmd/similar.rs 0 B 10.7 KB +10.7 KB
crates/ui-egui/src/analysispane.rs 149.4 KB 157.6 KB +8.2 KB
crates/map/src/time.rs 13.8 KB 18.8 KB +5.0 KB
crates/engine/src/cmd/design.rs 137.8 KB 142.6 KB +4.8 KB
crates/engine/src/undo_memory.rs 43.8 KB 48.5 KB +4.7 KB
crates/engine/src/cmd/gp.rs 298.2 KB 301.3 KB +3.3 KB
crates/ui-egui/src/mapview.rs 328.6 KB 331.8 KB +3.2 KB
crates/analysis/src/network.rs 84.6 KB 87.1 KB +2.6 KB
docs/user-guide/analysis.md 174.4 KB 176.9 KB +2.5 KB
crates/ui-egui/src/lib.rs 499.3 KB 501.1 KB +1.8 KB
crates/engine/src/lib.rs 191.7 KB 193.3 KB +1.6 KB
crates/engine/src/policy/dispatch.rs 65.5 KB 66.7 KB +1.2 KB
crates/engine/src/tests/cancellation.rs 33.2 KB 34.0 KB +765 B
crates/engine/src/cmd/select.rs 41.5 KB 42.2 KB +752 B
docs/user-guide/editing.md 44.6 KB 44.9 KB +375 B
crates/engine/src/cmd/reads.rs 17.2 KB 17.6 KB +374 B
crates/engine/src/cmd/workflows.rs 113.3 KB 113.5 KB +163 B
crates/assistant/src/mcp.rs 31.7 KB 31.8 KB +103 B

@Mavrick-F

Copy link
Copy Markdown
Member Author

Both parameter findings are fixed in 62cc4cbe1, included at 66f21b7b1. Explicit invalid row/count values now return errors without changing selection or Undo; omitted/null defaults remain supported. The same batch simplifies the equivalent Similar reselection guard and wraps the two documentation lines without changing their text.

The two regressions failed before the fix. Targeted tests, independent review, Clippy, strict wasm, guards and full fork CI passed.

@github-actions

Copy link
Copy Markdown
Contributor

Code review

Inline comments could not be posted: GitHub rejected both with "pull_request_review_thread.path could not be resolved", so the two findings below appear here only.

Bugs

  • crates/engine/src/cmd/select.rs:355 (also :325 in apply_hits): clearing the selection to nothing does not advance selection_intent. select.atPoint is Effects::NONE, so dispatch never bumps intent for it, and mapview.rs:3325 and vertexedit.rs:340 both reach this branch with mode: "new". A Find Similar still pending when the user clicks empty map space to deselect will land and re-select its neighbours, with no notice. Fix: call clear(s) (already pub, bumps intent) in both places and add a regression. Confidence ~0.6.
  • crates/engine/src/lib.rs:3485 (undo, and redo near line 3525): both replace the whole project, selections included, without advancing selection_intent. A Similar admitted before an Undo can overwrite the restored selection silently. It needs an Undo that changes selection but not row data, so the impact is narrow. Fix: add self.selection_intent = self.selection_intent.max(self.selection_epoch()); to both. Confidence ~0.4.

I checked and found no problems with the wasm gating, the Weak-key allocation accounting, the trim reader seeding, the ahead_on_copy cfg, the take_read ordering, the Assistant path, or the begin/finish progress state.

Security

None found.

Performance

None new. The single-threaded distance pass and the full-candidate sort are already raised in earlier threads.

Quality

Nothing new worth raising beyond the earlier threads, which are the release-quality-pass items.

AGENTS.md

No new violations found. The read-ahead list and the long_commands additions match the rule.

I left about 50 earlier review threads alone: they are already answered or already raised, and the code they point at has not changed in a way that reopens them.

Change size

Compared: the whole PR against main (merge base e55b20d to PR head 66f21b7).

Measure Value
Files changed 24 (1 added, 23 modified, 0 removed, 0 renamed)
Size before 5.83 MB
Size after 5.94 MB
Total size change +108.3 KB
Path Before After Change
crates/engine/src/tests.rs 3.28 MB 3.32 MB +40.9 KB
crates/ui-egui/src/readjob.rs 129.6 KB 144.2 KB +14.6 KB
crates/engine/src/cmd/similar.rs 0 B 11.1 KB +11.1 KB
crates/ui-egui/src/analysispane.rs 149.4 KB 157.6 KB +8.2 KB
crates/map/src/time.rs 13.8 KB 18.8 KB +5.0 KB
crates/engine/src/cmd/design.rs 137.8 KB 142.7 KB +4.8 KB
crates/engine/src/undo_memory.rs 43.8 KB 48.5 KB +4.7 KB
crates/engine/src/cmd/gp.rs 298.2 KB 301.5 KB +3.3 KB
crates/ui-egui/src/mapview.rs 328.6 KB 331.7 KB +3.2 KB
docs/user-guide/analysis.md 177.0 KB 179.6 KB +2.7 KB
crates/analysis/src/network.rs 84.6 KB 87.2 KB +2.6 KB
crates/ui-egui/src/lib.rs 502.1 KB 503.9 KB +1.8 KB
crates/engine/src/lib.rs 192.0 KB 193.6 KB +1.6 KB
crates/engine/src/policy/dispatch.rs 65.5 KB 66.7 KB +1.2 KB
crates/engine/src/tests/cancellation.rs 33.2 KB 34.0 KB +0.7 KB
crates/engine/src/cmd/select.rs 41.5 KB 42.2 KB +0.7 KB
docs/user-guide/editing.md 44.6 KB 44.9 KB +0.4 KB
crates/engine/src/cmd/reads.rs 17.2 KB 17.6 KB +0.4 KB
crates/engine/src/cmd/workflows.rs 113.3 KB 113.5 KB +0.2 KB
crates/assistant/src/mcp.rs 31.7 KB 31.8 KB +0.1 KB

@Mavrick-F

Copy link
Copy Markdown
Member Author

The history finding reproduced: Undo restored [0], then a pending Similar result overwrote it with [0, 1]. 2e1b38c43 records successful History commands in the existing dispatch intent guard. This preserves script/model admission ordering and leaves failed commands and lower-level history restoration unchanged. The regression covers Undo and Redo, returned rankings, preserved restored selections and the existing refusal notice. Targeted tests, independent review, Clippy, strict wasm, guards and full fork CI passed.

The empty-hit selection paths are already covered. CommandSpec::new sets mutates: true; .effects() changes only effects. select.atPoint, byRect, byPolygon and byRadius do not call .view(), so successful dispatch advances selection intent even when they return no hits. Effects::NONE does not bypass that guard. No source change is needed for that finding.

}

/// Applies a selection to one layer (New clears the others too, like desktop GIS).
pub fn set(s: &mut Session, id: u32, rows: Vec<usize>, m: Mode) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question (confidence ~0.4): does a script's own selection line still overtake a newer user selection?

set records intent as max(selection_intent, selection_epoch()) and then applies unconditionally. Inside a replayed script, selection_epoch() returns the script's admission epoch E. So a script admitted at E that reaches a select.* line after the user has made a selection at F > E will overwrite that selection, and nothing refuses it. The PR body says an older script "cannot overtake a later request or user selection at completion". As written, that guarantee covers only inner Similar results (set_similar_result is gated, this path is not).

Scenario: admit a script whose last step is select.rows [5], click row 3 while it runs, then let the script finish. The final selection is row 5 and the user's later click is lost, with no notice.

This may be intended: a script's explicit selection is "last write wins". If so, please say that in the PR body, since it is the opposite of the newer-intent rule described for Similar. If not, the replay path would need the same epoch comparison as similar::run.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That explicit selection step still applies when the live script reaches it. The ordering guard protects computed data.similar selections, including results prepared inside a script/model; it does not cancel the script’s explicit select.* commands. Those commands also establish selected inputs for later tool steps, so skipping them would change the script’s requested execution.

I clarified this boundary in the PR description, including the case where the user selects something after the script was queued. Ordinary script selection behavior is retained; no source change or new test is needed for this clarification.

@github-actions

Copy link
Copy Markdown
Contributor

Code review

Reviewed statically from the staged diff, with reads into the surrounding source. I did not build or run the tests. Of the 21 earlier review threads, I left all of them alone: 15 were answered or fixed, and 6 were deferred to the release quality pass.

Bugs

  • Possible: a script admitted before a user selection can overwrite that newer selection when its own select.* step replays, because select::set applies unconditionally. The PR body's ordering claim covers only Similar results. Inline comment posted on crates/engine/src/cmd/select.rs:138. Confidence ~0.4. It may be intended as "last write wins", but the PR should say so.

Security

  • Nothing new found.

Performance

  • Nothing new beyond the earlier top-k/parallel thread, which the author deferred.

Quality

  • check_topology (crates/engine/src/cmd/design.rs:2375) calls progress::begin once per rule, so progress resets between rules. This is the same non-monotonic progress issue as the earlier Similar thread. Not re-posted. Confidence high. Low severity.

AGENTS.md

  • Nothing new found. The long_commands additions for data.similar and topology.validate are in place, and the data.similar read-ahead wording is updated. The dispatch.rs exclusion of data.similar from the selection-intent bump is needed, because CommandSpec defaults to mutates: true.

Coverage gaps: I read most of the diff but skimmed the middle of the new engine tests in tests.rs and did not run them.

Change size

Compared: the whole PR against main (merge base e55b20d to PR head 2e1b38c).

Metric Value
Files changed 24 (1 added, 23 modified, 0 removed, 0 renamed)
Size before 5.83 MB
Size after 5.94 MB
Total size change +109.8 KB
Path Before After Change
crates/engine/src/tests.rs 3.28 MB 3.32 MB +42.2 KB
crates/ui-egui/src/readjob.rs 129.6 KB 144.2 KB +14.6 KB
crates/engine/src/cmd/similar.rs 0 B 11.1 KB +11.1 KB
crates/ui-egui/src/analysispane.rs 149.4 KB 157.5 KB +8.2 KB
crates/map/src/time.rs 13.8 KB 18.8 KB +5.0 KB
crates/engine/src/cmd/design.rs 137.8 KB 142.7 KB +4.8 KB
crates/engine/src/undo_memory.rs 43.8 KB 48.5 KB +4.7 KB
crates/engine/src/cmd/gp.rs 298.2 KB 301.5 KB +3.3 KB
crates/ui-egui/src/mapview.rs 328.6 KB 331.8 KB +3.2 KB
docs/user-guide/analysis.md 177.0 KB 179.7 KB +2.7 KB
crates/analysis/src/network.rs 84.6 KB 87.2 KB +2.6 KB
crates/ui-egui/src/lib.rs 502.1 KB 503.9 KB +1.8 KB
crates/engine/src/lib.rs 192.0 KB 193.6 KB +1.6 KB
crates/engine/src/policy/dispatch.rs 65.5 KB 66.9 KB +1.4 KB
crates/engine/src/tests/cancellation.rs 33.2 KB 34.0 KB +0.7 KB
crates/engine/src/cmd/select.rs 41.5 KB 42.2 KB +0.7 KB
docs/user-guide/editing.md 44.6 KB 44.9 KB +0.4 KB
crates/engine/src/cmd/reads.rs 17.2 KB 17.6 KB +0.4 KB
crates/engine/src/cmd/workflows.rs 113.3 KB 113.5 KB +0.2 KB
crates/assistant/src/mcp.rs 31.7 KB 31.8 KB +0.1 KB

The table lists the 20 largest changes from the stats file. Sizes are file sizes, not line counts.

@Mavrick-F
Mavrick-F added this pull request to the merge queue Nov 22, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 22, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Code review

No new inline comments: I found no defect that the existing threads haven't already raised, so I posted none. I checked all 41 earlier threads and left every one alone. Some are answered and some were fixed in later commits. Reading the diff, I found one minor new nit and nothing confirmed as a bug.

Bugs

  • None new. I traced the desktop Find Similar admission path (run_presented → complete_here → NotRun), so a refused or failed admission reaches the pane and the spinner clears. control::Pace::stop returns true only on cancellation, not on a work cap, so a headless similar run can't report a false "cancelled". Budget accounting in trim/held matches the new tests. Project-replacement resets run only after a successful replacement. (Confidence: high that these hold.)

Security

  • None. The DuckDB test change is test-only, the synthetic value is "dummy", and the exact argument-list assertion covers it. That was already raised and answered.

Performance

  • None new. The full-N candidate vector and sort in network::similar (16 bytes per row before truncating to at most 1,000) were raised and deferred to the release quality pass. I did not repeat them.

Quality

  • crates/engine/src/cmd/similar.rs (Input::resolve): a row or count given as a JSON float such as 1.0 is refused, because as_u64() returns None. The new parameter text says "whole number", so a client sending 1.0 gets an error it may not expect. Low confidence (~0.3). Accepting integral floats, or stating the integer requirement in the param help, would close the gap.

AGENTS.md

  • Non-test additions contain no unwrap/expect/panic!, and no indexing outside tests. data.similar and topology.validate are in long_commands. Desktop-only code is gated for wasm. The PR states the surfaces it reaches.
  • Low confidence (~0.3): topology.validate's command help and the Assistant tool description are unchanged, though primary-row scope changed (Query only, ignoring display filters and time windows). docs/user-guide/editing.md documents this, so the gap is only in the tool description.

Change size

Compared: the whole PR against main (merge base 76a6cd2 to PR head 6dd20d5). Trees not truncated.

Measure Value
Files changed 24 (added 1, modified 23, removed 0, renamed 0)
Size before 5.9 MB
Size after 6.0 MB
Total size change +109.8 KB
Path Before After Change
crates/engine/src/tests.rs 3.3 MB 3.3 MB +42.2 KB
crates/ui-egui/src/readjob.rs 129.6 KB 144.2 KB +14.6 KB
crates/engine/src/cmd/similar.rs 0 B 11.1 KB +11.1 KB
crates/ui-egui/src/analysispane.rs 149.4 KB 157.6 KB +8.2 KB
crates/map/src/time.rs 13.8 KB 18.8 KB +5.0 KB
crates/engine/src/cmd/design.rs 137.8 KB 142.6 KB +4.8 KB
crates/engine/src/undo_memory.rs 43.8 KB 48.5 KB +4.7 KB
crates/engine/src/cmd/gp.rs 313.9 KB 317.1 KB +3.3 KB
crates/ui-egui/src/mapview.rs 328.6 KB 331.8 KB +3.2 KB
docs/user-guide/analysis.md 177.7 KB 180.3 KB +2.7 KB
crates/analysis/src/network.rs 84.6 KB 87.2 KB +2.6 KB
crates/ui-egui/src/lib.rs 503.6 KB 505.3 KB +1.8 KB
crates/engine/src/lib.rs 196.2 KB 197.8 KB +1.6 KB
crates/engine/src/policy/dispatch.rs 65.6 KB 67.0 KB +1.4 KB
crates/engine/src/tests/cancellation.rs 33.2 KB 34.0 KB +0.7 KB
crates/engine/src/cmd/select.rs 41.5 KB 42.2 KB +0.7 KB
docs/user-guide/editing.md 44.6 KB 44.9 KB +0.4 KB
crates/engine/src/cmd/reads.rs 17.3 KB 17.6 KB +0.4 KB
crates/engine/src/cmd/workflows.rs 115.5 KB 115.7 KB +0.2 KB
crates/assistant/src/mcp.rs 31.9 KB 32.0 KB +0.1 KB

@Mavrick-F

Copy link
Copy Markdown
Member Author

row and count intentionally accept JSON integers; integral floating-point values such as 1.0 are refused. The supplied-value validation and omitted/null defaults are covered by the current regressions. Making the parameter help explicitly say “JSON integer” is left for the release quality pass.

Topology’s primary Query / covering All scope is preserved: the earlier topology_checks used visible_rows(), which evaluates the definition query only. The current editing guide and command tests spell out that contract. A scope reminder in command/Assistant help is also left for the release quality pass.

@Mavrick-F
Mavrick-F added this pull request to the merge queue Nov 22, 2026
Merged via the queue into opengeos:main with commit 35abb81 Nov 22, 2026
31 checks passed
@Mavrick-F
Mavrick-F deleted the fix/topology-consumer-contracts branch November 22, 2026 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:windows Run the Windows CI jobs on this pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant