Files
dxdesigner-part-replacement/docs/reviews/optional-cell-release-review-20261019.md
T

3.3 KiB

Optional Cell release review — 2026-10-19

Scope

  • Reviewed commit range 81a8547..d12478e against the requirement that target Cell is optional.
  • Read the changed source, documentation, and tests, plus the surrounding command, snapshot, native transaction, restoration, saved-file verification, recovery, and BOM code.
  • Confirmed the inspected production files match d12478e. Unrelated working-tree test harness cleanup was excluded.
  • No tests, CAD sessions, original CAD/library writes, source edits, or Git mutations were performed. This report is the only review output written.

Strengths

  • Native execution treats an absent L record as no selection and skips both catalog checks. It retains ordinary native part identity validation and transaction evidence.
  • VBS treats both an absent command field and an empty command field as no selection. QPSetTargetCell and QPVerifyTargetCell return before accessing the component in that case. Generic instance restoration is restricted to Comment, Notes, and user attributes, so it does not restore an old Cell Name instance value.
  • Mixed optional/explicit queues retain their complete original command rows when publishing the current command. Cell values remain part of queue-to-input comparison, including per-row comparisons, so swapping selections invalidates the queue.
  • Optional snapshots omit L; present L records still require exactly one nonempty, valid selection. Empty, duplicate, and extra-field records remain errors in the VBS reader and Python selection parser.
  • Explicit selections retain exact project library/catalog authority, the final catalog check before native submission, partition binding, the explicit instance write and immediate readback, and verification after restoration and saved-file reopening.
  • Recovery binds queue selection, snapshot hash, project/sheet/rule/source identities, and transaction evidence before launching the worker. Unselected snapshots reject added Cell evidence and skip catalog preflight. Explicit selections retain the original complete catalog comparison and active-library check. Protection is cleared only after correlated recovery success and unchanged original evidence checks.
  • The default BOM header remains the existing 11 columns, with no Cell column.

Issues

Critical

None found.

Important

None found.

Minor

None raised within this release review scope.

Validation evidence

Read the existing XML summaries without executing tests:

Evidence Tests Failures Errors Skipped
build/optional-cell-green-20261019.xml 73 0 0 0
build/release-safety-fixes-20261019.xml 109 0 0 0

The reviewed test changes cover optional execution reaching native submission without catalog reads, empty/missing VBS selection no-ops, mixed queue binding, malformed L records, rejecting unexpected Cell transaction evidence, and optional recovery preserving protection until worker verification. Existing explicit-selection tests retain authority, write/readback, and catalog-drift checks.

Assessment

Approved for the reviewed scope. No Critical or Important findings. The change makes selection optional while preserving explicit-selection authority and verification. This is a static code review supported by the supplied test reports; live CAD behavior was not exercised.