Validate DAML map keys and values#428
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Note Reviews pausedUse the following commands to manage reviews:
Use the checkboxes below for quick actions:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
…t-daml-map-decoding
…aders' into codex/strict-daml-map-decoding
|
@coderabbitai pause |
✅ Action performedReviews paused. |
…rict-daml-map-decoding
…rict-daml-map-decoding
…rict-daml-map-decoding
|
Prepared and independently audited exact head |
|
@copilot review Please perform a formal review of exact current head |
Formal review completed on exact head |
|
cursor review Copilot completed a no-findings formal review of exact current head |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 22905e3. Configure here.
…rict-daml-map-decoding
|
@copilot review Please review exact current head |
Formal review completed on exact head |
|
@cursor review Please review exact current head |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 4c42bad. Configure here.
Formal review completed on exact head |
|
@cursor review Please review exact head |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 1d90f56. Configure here.
…rict-daml-map-decoding
|
Material parent propagation complete at exact head 5394ea3, incorporating #427 at 818053e. Source typecheck passed on canton-node-sdk 0.0.227, preserving strict DAML-map decoding, the dependency-aware sorter, exhaustive relationships, and symmetric vesting-graph validation. The PR remains draft and unassigned while CI runs. |
|
Fresh GenMap audit hardening is pushed at exact head The prior lossless decoder compared generated maps positionally, so valid unsorted GenMap tuples were rejected after the DAML codec re-encoded them in key order. Configured GenMap paths are now compared semantically by collision-free structural key identity, while all ordinary arrays remain order-sensitive. Valid arbitrary tuple order is accepted and public insertion order is preserved; duplicate keys, malformed tuples/keys/values, dangerous string keys, proxies/accessors, and actual loss/coercion still reject with structured paths. Coverage derives all 51 CapTable map fields, permutes them independently, exercises Validation: focused 4 suites / 127 tests; full 90 suites / 4,626 tests; build; typecheck; declarations; exact public-config checks; lint; format; diff check. The PR remains draft/unassigned; no parent merge or reviews were requested. |
…rict-daml-map-decoding
|
Corrected propagation is pushed at Exact-head validation:
The PR remains draft and unassigned while fresh CI runs. No reviewer requests were made. |
|
@copilot review Please review exact current head |
Formal exact-head review completed for |
|
@copilot review Retrying the required exact-head gate for |
Formal exact-head review completed for I found no current-head actionable correctness or security issues in strict DAML map key/value decoding, duplicate detection, issuer-context correlation, safe preflight, hostile-input bounds, or diagnostics. |
|
@cursor review Please review exact current head |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 7ab9993. Configure here.
…rict-daml-map-decoding
|
Parent propagation is complete at exact head c45265e. This is a normal conflict-free merge of audited #427 c448a7e; both stack layers remain byte-identical to their pre-merge blobs with zero overlapping changed files. Validation passes: 12 focused suites / 890 tests, full 94 suites / 5,428 tests, typecheck, lint, formatting, declarations, exact-public/cardinality, and package-consumer gates. Independent inspection found no issue. Keeping this PR in draft until fresh remote CI is green. |
…aders' into codex/strict-daml-map-decoding
|
Audit remediation and the refreshed #427 parent are now pushed at exact head |
Summary
representativePackageId,acsDelta, andcontractKeyHash)Validation
npm run test:ci— 96 suites / 5,510 tests passednpm run test:declarationsnpm run test:package-consumernpm run test:exact-public-confignpm run typechecknpm run buildnpm run lintnpm run format1a54bcb2fd62bfbeb8d449622f4d56242762ac36Stack