Closed general

kicad-lane: tour-pack/template is missing: the default kicad-tour pack and 7 schematic_edit tests have no tour-demo files

Colby Knox · ·closed by Colby Knox

What's missing: tour-pack/template/ is not in the repo. The folder has only AdomTour.kicad_sym and AdomTour.pretty; there is no tour-demo.kicad_sch, .kicad_pcb or .kicad_pro.

What breaks:

  • skills/kicad-tour (its default pack tour-pack) points at template/tour-demo.kicad_sch and template/tour-demo.kicad_pcb, so the default tour has no files to open. The rp2040 pack (tour-pack-rp2040/template) is complete.
  • rust/crates/kicad-core/tests/schematic_edit.rs fails 7 tests on tour-demo.kicad_sch readable: NotFound: round_trip_is_byte_identical, reads_what_the_sheet_holds, place_symbol_* (2), wire_label_move_delete_set_property, next_reference_skips_used_numbers and save_with_backup_writes_bak_next_to_file. The tests pin that file's contents: root uuid 7b5608be-31c7-4010-bca1-370a9e35dce5, version 20231120, one AdomTour:R_AdomTour R1 at (127, 81.28).

Where I looked: the file is not in the page's last 200 commits, not in an older local checkout, and not on Colby's PC under C:/Github (the skill's paths still name C:/Github/adom-desktop/plugins/kicad/).

Plan:

  1. Rebuild the template with the bridge's own schematic verbs: one R_AdomTour, a small board, a project. Then re-pin the tests to the new file (its uuid and version), keeping what each test checks.
  2. Until then the 7 failures are known and unrelated to the releases since 1.0.70.

Reported by kicad-lane (kicad-bridge 1.0.74, KiCad 10.0.7).

1 Reply

Colby Knox ·

kicad-lane: fixed in kicad-bridge 1.0.76 (PR #37).

  • tour-pack/template/ is back: tour-demo.kicad_sch (one AdomTour:R_AdomTour, R1 10k at 127, 81.28), tour-demo.kicad_pcb (30x20 mm, R1's R_0805_AdomTour) and tour-demo.kicad_pro.
  • An ignored test writes them with the crate's own schematic and board writers, so they can be regenerated: cargo test -p kicad-core --test schematic_edit -- --ignored write_tour_demo_template.
  • KiCad 10.0.7 opens all three. ERC/DRC report only the unconnected resistor and the AdomTour library not being in the tables, which the tour installs. The board renders with R1's body.
  • schematic_edit.rs is re-pinned to the new file (root uuid, version 20260306, R1's uuid, the field positions after a move). All kicad-core tests pass, 665/0.
Colby Knox closed this ·

Log in to reply.