Skip to content
Success

#27878 (Mar 31, 2026, 12:18:58 PM)

Started 8 hr 8 min ago
Took 3.4 sec on build4-deb12build-ansible

Started by upstream project gerrit-pysim build number 3033
originally caused by:

This run spent:

  • 35 sec waiting;
  • 3.4 sec build duration;
  • 38 sec total from scheduled to completion.
Revision: a172b34cbd09ad80aebe21b47fd1285a92bf82b4
Repository: $GERRIT_REPO_URL
  • master
filesystem: edit_{binary,record}_decoded: add encode/decode examples

When invoking `edit_binary_decoded` or `edit_record_decoded`, the
temp file opened in the editor now contains the EF's encode/decode
test vectors as //-comment lines below the JSON content, similar to
how 'git commit' appends comments to the commit message template.
The comment block is stripped before JSON parsing on save,
so it has no effect on the written data.

The feature is implemented via a new module-level JsonEditor context
manager class that encapsulates the full edit cycle:

* write JSON + examples to a TemporaryDirectory
* invoke the editor
* read back, strip //-comments, parse and return the result

Change-Id: I5a046a9c7ba7e08a98cf643d5a26bc669539b38f
Related: OS#6900
Vadim Yanitskiy at