Skip to content

fix(collaboration): bound Resource work-list scans with latest integrated read fixes - #182

Merged
LIghtJUNction merged 14 commits into
integrate/all-open-20260929from
fix/collaboration-list-bounds-20260929
Sep 29, 2026
Merged

LIghtJUNction merged 14 commits into
integrate/all-open-20260929from
fix/collaboration-list-bounds-20260929

Conversation

@LIghtJUNction

Copy link
Copy Markdown
Contributor

Scope

Refs #81 #85; preserves #78/#82 read acceptance work. Follow-up to #176 with both #180 f304bcf and #181 70d46ce retained as ancestors. Neither source branch nor the shared integration branch was overwritten. The final tree keeps the new dual-locale integration gate and does not restore its superseded standalone pagination workflow/test.

Head bf1a166, tree 21050e744acc62bd3d10992a5019ab9ff7cadddb.

New runtime fix

The shared request/offer/checkpoint/proposal list reader previously materialized all owned Resource IDs before applying limit. It now uses 128-row keyset batches with the actual last-scanned ID, a4096-candidate budget and the real monotonic execution deadline. Current Resource permissions, Revision reads, individually filtered relations, existing result shape and transitions remain unchanged. No schema/DDL/short-code or authorization expansion.

Tests create real signed work records on PostgreSQL, including129 immutable checkpoints, require bounded SQL, check exact current-database ordering and nonoverlapping continuations, exclude another owner's records and verify final empty pages. Eight additional deadline cases cover all four kinds before SQL and after the first batch but before content projection. Full authoritative row-value and no-outbound-effect evidence remains required.

Independently verified RED

Test-only commit dd441ea, tree a11375291937aab95531a3a7a8d9fa8a1e067c1a. Cloud run 36576545310, artifact 11038236899, ZIP SHA256 71adea8a6611c11fe1fd82f13900e0e48b224038b610ed66530bde3129198c12. Downloaded provider digest, source.json and actual JUnit checked independently: 15 cases / exactly5 missing-LIMIT failures /0 errors /0 skips; remaining10 existing collaboration/proposal cases pass. Failures retain exact observed SQL outside executor error redaction.

New runtime source blob edad323acf6e1014c55beb7a3355ea4a4475523b, SHA256 9e73a31f4c35017d9a32acca19b3ba077cdb7ae78d63e1b0522e6716087d5bd8, independently matched to reviewed text. Only the time import and list-record scan change in that file.

Integration state

New-head focused/full gates are triggered, not yet claimed GREEN. Historical #180 f304 dual-locale gate36575194515 has89/89 passing in each independently verified locale; #18170d lease gate36574831343 has14/14 passing. Those are not a substitute for this final combined tree's four-shard exact node-ID, conformance/tokenizer, package-build and applicable specialist checks.

Live scope/progress: #81 comment5891421418. Main integration record: #176 comment5890775291 and #83. Do not close broad or field-evidence issues from these narrow fixes. All project execution is cloud CI. No production deployment, Root/PIN, money movement, real external delivery, backup destruction or recovery promotion.

…ery effect guards

Use no seek predicate for the initial page and actual cursor keys for continuations. Keep runtime-generation checks real in effect-order regression coverage, with explicit stale-generation rejection. Add PostgreSQL ordering/Unicode pagination and cloud-only regression evidence.

Refs #78 #82 #83 #85
Correct the focused workflow diagnostic without bypassing failures or changing runtime source/test assertions. Preserve verified prior RED evidence and active run references in the existing progress note.
… on real PostgreSQL

Cover 129 hidden leases across a batch boundary, visible/expired/released records, precise bounded SQL, continuous pagination and full read-only evidence. Runtime repair follows cloud RED evidence.

Refs #81 #85
…on fixes

Preserve both regression-first and PR #180 histories. Scan at most 128 rows per query, apply current target visibility per row, enforce a 4096-row/monotonic deadline budget, and return continuation only from a visible lease. Preserve existing v1 output and v2 Resource contracts.

Cloud RED 36573737687: 13 cases, exactly two explicit unbounded SQL failures, no errors/skips. Runtime source SHA256 ac4247f5629403942506a80c895e4018db4ec56d3a2e279a11a6fedbbef3b74d; no unrelated handoff changes.

Refs #81 #85
…igned PostgreSQL reads

Exercise request/offer/checkpoint/proposal list pagination, separate-owner isolation, final empty pages, 129 real immutable checkpoints and complete read-only evidence. Runtime remains unchanged for cloud RED.

Refs #81 #85
…atest read integration

Retain #180 f304bcf and #181 70d46ce histories without changing either branch. Work request/offer/checkpoint/proposal readers use bounded 128-row keyset scans, current row authorization/projection, 4096-candidate and monotonic-deadline budgets. Preserve their existing output/schema/state transitions.

Cloud RED 36576545310 at dd441ea: 15 real PostgreSQL/signed cases, exactly five unbounded-SQL failures, no errors/skips. Artifact11038236899 ZIP SHA256 71adea8a6611c11fe1fd82f13900e0e48b224038b610ed66530bde3129198c12 independently checked with source/JUnit. Add pre-query and mid-scan deadline regressions for each work kind.

Refs #78 #81 #82 #83 #85
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