Skip to content

LBA REQ 051

github-actions[bot] edited this page Nov 19, 2026 · 2 revisions

LBA-REQ-051: Icon-editor Packed Library build benchmark

Status

Proven

Area

Deployment / benchmark (ADR-0033 -- the 2-actor icon-editor grid, builder actor)

Statement

The system shall build the ni/labview-icon-editor Editor Packed Library inside the NI LabVIEW container as a benchmark, so a fail-closed gate proves the committed build result is correctly derived and cross-plane comparable.

Rationale

The operator-directed 2-actor icon-editor grid reproduces the project's real CI -- one actor builds the Packed Project Library (PPL), one runs the LUnit tests. The builder is the icon-editor's own "Editor Packed Library" build spec, which native LabVIEWCLI ExecuteBuildSpec runs in the NI LabVIEW container (nationalinstruments/labview:2026q1-linux) where LabVIEW is licensed + headless (RunVI known-answer confirmed) -- no g-cli required for the build.

Acceptance Criteria

  • LabVIEWCLI -OperationName ExecuteBuildSpec builds the "Editor Packed Library" spec of lv_icon_editor.lvproj in the NI container and emits lv_icon.lvlibp.
  • pplBuildBenchmark.mjs records the machine-independent build identity (project + target + build spec + generated artifact + success) plus the build time (and byte size).
  • validatePplReceipt fails closed unless the resultHash re-derives, the verdict matches the rule, and the digest is intact.
  • Live evidence: the NI container built lv_icon.lvlibp (2.9 MB) from the pinned icon-editor (9545c483) in ~59s, ExecuteBuildSpec operation succeeded.

Verification

Historical statement (no longer implemented)

Supersession

Change Guidance

The builder experiments/ppl-build/pplBuildBenchmark.mjs plus its self-test are gated by ppl-build-benchmark in verify-local-gates and mapped in the RTM. The companion TESTER actor (LUnit via g-cli) is the next slice per ADR-0033. Authored under the singular-requirement directive (one shall).

TestID

T-051

CodeRef

experiments/ppl-build/pplBuildBenchmark.mjs; experiments/ppl-build/verify-ppl-build-benchmark.selftest.mjs; experiments/ppl-build/fixtures/ppl-build-benchmark-receipt.json; experiments/verify-local-gates.mjs

RTM Status

Proven

Clone this wiki locally