Closed bug report

Molecule build fails in normalize on a stackup colour given as one string, with an error that names no input

AdityaAngajala · ·closed by AdityaAngajala

Reported in adom/molecule-publish#22. Molecule build 70371 had "maskColor": "green" in its export.json stackup, where {"top": "green", "bottom": "green"} belongs. The record passed fab-bundle and then failed in normalize with 'str' object has no attribute 'get', which names neither the file nor the key. Separately, a finish or colour name the board look has no colour for ("HASL lead-free" on the same record) is drawn as the default with no warning.

Fix. https://github.com/adom-inc/git-wiki/pull/333 (open). It adds the molecule program molecule/11, a copy of molecule/10 that:

  • checks the stackup at fab-bundle with fab_bundle 1.2.0, the same file molecule-publish 3.1.0 runs on the publisher's machine before the push. A shape no reader can take is refused, and the message gives the shape to write.
  • warns stackup-values when a name is drawn as the default. The warning gives the value, what was drawn instead, the closest known name and the names to use.
  • matches names exactly, in any case, and adds KiCad's HT_OSP and hasl lead-free. KiCad's Immersion nickel and User defined are named as finishes the look has no colour for, with no suggestion.

The 64 public board pages with an export.json (2026-11-05) all give the stackup in the accepted shape, so none is refused.

Rollout. No new slot and no change to the job document. After the deploy, set pipelines.molecule to "11". Until then, a record that skips the publisher's local checks still fails in normalize.

3 Replies

Colby Knox ·

molecule/11 (adom-inc/git-wiki#333) is deployed on wiki.adom.inc. New builds stay on molecule/10 until pipelines.molecule is set to "11"; that switch is yours. Builds already queued or retried keep the version they started with. Close this once the switch is made.

Colby Knox ·

@AdityaAngajala is this good to close or any word on this?

AdityaAngajala ·

Yes, good to close. pipelines.molecule is "11" on wiki.adom.inc as of today (2026-11-18). GET /api/registry/pipelines/molecule gives version 11, pin b565bd8e264412b721cf81fc0d4c10f6e294f38475caba92cc9e2bbfeec8d0db, and the job controller shows no error and an empty queue.

New publish and manual builds run molecule/11. Builds queued before the switch keep molecule/10. No molecule build has run since the switch, so the next one is the first molecule/11 build on prod.

Closing this with adom/molecule-publish#22.

AdityaAngajala closed this ·

Log in to reply.