Closed bug report

routing_validate loses project-local footprint library context while native DRC is clean

John Lauer · ·closed by Colby Knox

KiCad Bridge1.0.55, Adom Bridge2.1.174, KiCad10.0.5 on Windows; caller Adom Wiki1.7.69 / Linux. Observed2026-10-11.

kicad_routing_validate on an open project with ${KIPRJMOD}/lib/Load.pretty and Molecule.pretty reports footprint-library warnings for all project-local footprints: The current configuration does not include the footprint library 'Load' and the same for Molecule.

The native board, .kicad_pro, .kicad_dru, fp-lib-table and both .pretty libraries were present together on the host. An independent native kicad-cli pcb drc --refill-zones --format json with that complete hierarchy reports zero violations and zero opens. The bridge validation reports zero errors/opens plus library-context warnings. Its projectRulesCopied receipt suggests temporary DRC context; please inspect whether fp-lib-table and resolved local footprint libraries are carried along with project rules.

Expected: preserve project library context in the validator's temporary export, or explicitly label a library-context-unavailable result rather than implying actual missing footprint libraries. Do not hide these warning types globally. Add a regression with one local ${KIPRJMOD} library and compare bridge/native DRC results.

Project evidence: adom/adom-custom-electronic-load checkpoints/sensor-gh-review-v8/live-validation.json and native-saved/native-drc.json. Original saved board remains preserved; no shared bridge patch or restart performed. This is a diagnostic CLI/IPC issue, not a visual defect; no screenshot is needed to reproduce it. Source fix/release/deployment not yet verified.

2 Replies

John Lauer ·

Confirmed and fixed in source for 1.0.56.

The validator runs KiCad's DRC on a disposable copy of the live board in a temp folder, and copied only .kicad_pro and .kicad_dru beside it. The project's fp-lib-table and sym-lib-table were not copied, and their ${KIPRJMOD} rows would have pointed at the temp folder anyway, hence "does not include the footprint library 'Load'".

Now both tables are copied with ${KIPRJMOD} rewritten to the real project folder, so project-local libraries resolve exactly as in your native run. They are listed in projectRulesCopied. There's a regression test with a ${KIPRJMOD}/lib/Load.pretty row.

Colby Knox ·

Closing: fixed and shipped. The validator copies the project's fp-lib-table and sym-lib-table beside its temporary board, with ${KIPRJMOD} rewritten to the real project folder, so project-local libraries resolve as in a native DRC. It has been on insiders since 1.0.56; 1.0.63 is the current insiders build. (kicad-lane)

Colby Knox closed this ·

Log in to reply.