Skip to content

Releases

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 24 Nov 12:01
9fa7738

Migrating from 0.3.0

  • Public histories are now read-only views, not lists. Examples are network.dns.asked, broker.messages, network.link_changes and board.boots. A saved reference sees records added later, which restores the behavior lost in 0.3.0. Code that appended to, cleared or replaced a public history must use the service's API instead. Take a private snapshot with list(history) or history[:] where a test needs a list that does not change, for example before writing it to JSON. Slices return lists. Iteration visits the records present when it began. Query methods such as broker.find_messages() and console.lines() still return a new list at each call. #325

Highlights

  • broker.received_packets and broker.next_received_packet(kind, client_id=...) record every complete MQTT control packet the broker reads, for example PINGREQ. Each packet carries the board time at which its last byte arrived, so a test can measure keepalive. #326
  • A Classic Bluetooth peer can hang up while it stays powered and in range: peer.disconnect() ends its ACL links with reason 0x13 and returns a condition for the end, as BleCentral.disconnect() does on LE. #330
  • The writing-tests guide now shows how to check that an event happened exactly once over an interval #324. It also says that every next_* condition starts at its call, including one made while the chip sleeps #329.

What's Changed

  • test(harness): check for repeat redials after a dropped call by @mateuszsikora in #324
  • fix(harness)!: expose live read-only history views by @mateuszsikora in #325
  • feat(harness): record received MQTT control packets by @mateuszsikora in #326
  • docs(harness): say every next_* condition starts at its call by @mateuszsikora in #329
  • feat(harness): let a Classic peer end its links with disconnect() by @mateuszsikora in #330
  • build: prepare release 0.4.0 by @github-actions[bot] in #331

Full Changelog: v0.3.0...v0.4.0

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 22 Nov 20:59
d59c773

Migrating from 0.2.0

  • Pass TCP conditions to waits as properties. For example, change conn.established() to conn.established. The same applies to closed, refused, reset and timed_out. Change network.when_leased() to network.is_leased and broker.subscribed(topic) to broker.is_subscribed(topic). With wifi.station(...), use network.leases, network.next_lease() and network.find_lease() for station leases. #312
  • Replace ESP32SIM_STATION_MAC and ESP32SIM_SOFTAP_MAC with esp32tl.emulated_macs(chip).station and .softap. Pass the chip from your board profile. The ESP32-P4 has no Wi-Fi and the lookup raises there. #313

Highlights

  • Network tests can drop traffic for a single port or the entire link, retry unanswered TCP SYNs and wait for a port.
  • Tests can inspect MQTT disconnects, DNS questions, NTP requests, link transitions, modem activity and deep sleep.
  • Tests can merge NVS keys and write between boots. Run reports identify the loaded build, and a boot returned by next_boot can be used to date timestamps.

What's Changed

  • feat(harness): record the modem's mode changes and dials by @mateuszsikora in #281
  • feat(harness): record how and when each MQTT connection ended by @mateuszsikora in #282
  • feat(harness): record each NTP request and DNS question with its time by @mateuszsikora in #283
  • feat(harness): wait for a line's next change with a described condition by @mateuszsikora in #294
  • build: re-run CI runs whose only failures are jobs no runner took by @mateuszsikora in #295
  • fix: approve the version pull request's runs in Prepare release by @mateuszsikora in #280
  • feat(harness): record when the device's link comes up and goes down by @mateuszsikora in #296
  • feat(harness): let the network path drop traffic, all or one port's by @mateuszsikora in #297
  • feat(harness): let board.nvs merge keys and write between boots by @mateuszsikora in #298
  • feat(harness): send an unanswered SYN again and wait for a port by @mateuszsikora in #300
  • fix(harness): say that a value is already a Duration by @mateuszsikora in #301
  • fix(harness): annotate the network's conditions as Condition by @mateuszsikora in #302
  • feat(harness): let a test date stamps with the boot next_boot returned by @mateuszsikora in #303
  • feat(harness): name the build a test loaded in its run report by @mateuszsikora in #304
  • fix(harness): make built SD cards repeat and check runs under load by @mateuszsikora in #305
  • docs(harness): show how one suite runs on several chips by @mateuszsikora in #306
  • feat(harness)!: shape every condition by what it waits for by @mateuszsikora in #312
  • feat(harness)!: give the emulated device's Wi-Fi MACs for every chip by @mateuszsikora in #313
  • fix(runner): keep a boot's uptime zero once its counter stops by @mateuszsikora in #314
  • docs(harness): say how the SPP peer's channel closes by @mateuszsikora in #315
  • feat(harness): record when the chip goes into deep sleep by @mateuszsikora in #316
  • feat(harness): record the modem's power changes, on as well as off by @mateuszsikora in #318
  • chore(tools): probe RTC watchdog resets during ESP32 deep sleep by @mateuszsikora in #319
  • build: prepare release 0.3.0 by @github-actions[bot] in #320

Full Changelog: v0.2.0...v0.3.0

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 19 Nov 17:36
d53939e

What's Changed

Full Changelog: v0.1.0...v0.2.0

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 16 Nov 18:14
af0faae

What's Changed

  • Implementation plan for esp32tl (issue #1) by @mateuszsikora in #3
  • Repository scaffolding: package layout, tooling, Makefile by @mateuszsikora in #42
  • Record what stage 0 found running ESP-IDF images in esp32sim by @mateuszsikora in #2
  • Pin esp32sim at the merge of the chip-revision fix by @mateuszsikora in #43
  • chore: add PR conventions and the create-pr skill by @mateuszsikora in #44
  • feat(runner): add the runner crate with a console-only run loop by @mateuszsikora in #45
  • build: fetch the pinned ROM ELF in make setup by @mateuszsikora in #46
  • feat(firmware): build validation images in the pinned ESP-IDF container by @mateuszsikora in #47
  • build: add CI with a cached firmware build and a test matrix by @mateuszsikora in #48
  • build: run the macOS CI jobs only once the repository is public by @mateuszsikora in #52
  • build: run make lint in CI by @mateuszsikora in #50
  • feat(harness): add board and console fixtures on the esp32sim backend by @mateuszsikora in #51
  • docs(plan): write the link protocol contract between runner and harness by @mateuszsikora in #53
  • build: require every behaviour change to update its documentation by @mateuszsikora in #54
  • build: run clippy as a pre-commit hook and correct the runner and build docs by @mateuszsikora in #57
  • feat(runner): add the socket board and the link protocol session by @mateuszsikora in #58
  • feat(harness): add the link codec and BoardLink, served by the backend by @mateuszsikora in #59
  • feat(firmware): add nmea_reader and the generated GNSS recordings by @mateuszsikora in #60
  • feat(harness): add board profiles and backend capability skips by @mateuszsikora in #61
  • feat(harness): add the recording format and replay through gnss by @mateuszsikora in #62
  • feat(harness): add esp32tl run and replay, and the M1 tests by @mateuszsikora in #63
  • docs(plan): decide the test's clock and the simulated network by @mateuszsikora in #64
  • docs: state findings without the product they were measured on by @mateuszsikora in #78
  • feat(runner): add gpio_out, gpio_in and release by @mateuszsikora in #79
  • feat(harness): hold the run on the test's clock from board.power_on() by @mateuszsikora in #80
  • feat(harness)!: tap a route and report the run of a failed test by @mateuszsikora in #83
  • feat(harness): add the lines fixture on the test's clock by @mateuszsikora in #84
  • feat(harness)!: add units and the GNSS receiver model by @mateuszsikora in #82
  • feat(runner): model an SD card in SPI mode, with the sd_card fixture by @mateuszsikora in #81
  • fix(harness): hold the link 30 s in the link-left-open test by @mateuszsikora in #85
  • build: check in CI that two runs of one recording are identical by @mateuszsikora in #86
  • feat(harness): give the LilyGO profile its GNSS route, flash and PSRAM by @mateuszsikora in #88
  • docs: point the TLS part of the determinism check at #30 by @mateuszsikora in #87
  • chore: make the create-pr skill available to Codex by @mateuszsikora in #89
  • feat(harness): add a Bluetooth SPP peer on Bumble's virtual link by @mateuszsikora in #90
  • feat(harness): add a modem model with AT and power control by @mateuszsikora in #91
  • feat(harness): configure NVS partitions before power-on by @mateuszsikora in #92
  • feat(harness): replay recorded AT and GNSS commands by @mateuszsikora in #93
  • feat(harness): simulate the network behind the modem by @mateuszsikora in #94
  • feat(harness): add an opt-in serial backend by @mateuszsikora in #95
  • feat: add runnable examples with a GPS alarm clock by @mateuszsikora in #96
  • feat!: add an SD logger with board interfaces and image builders by @mateuszsikora in #97
  • feat: add a cellular MQTT position tracker example by @mateuszsikora in #98
  • docs(plan): design the real source on the emulator in wall time by @mateuszsikora in #99
  • feat(harness)!: add the wifi fixture over esp32sim's station link by @mateuszsikora in #109
  • feat(harness): select existing ESP-IDF build directories by @mateuszsikora in #110
  • docs(invariants): renumber the Wi-Fi invariants that reused 111-114 by @mateuszsikora in #111
  • build: fail the documentation check on a repeated invariant number by @mateuszsikora in #114
  • fix(harness): complete the LilyGO SD slot and control lines by @mateuszsikora in #112
  • feat(harness): support project-local board profiles by @mateuszsikora in #115
  • feat(harness): add MQTT CONNECT rejection policies by @mateuszsikora in #117
  • feat(harness)!: make MQTT and TLS event scopes explicit by @mateuszsikora in #118
  • docs(invariants): renumber the MQTT CONNECT invariant that reused 123 by @mateuszsikora in #120
  • feat(harness): control MQTT PUBACK timing and disconnect clients by @mateuszsikora in #119
  • feat: reset and power-cycle the board within one run by @mateuszsikora in #122
  • docs(invariants): renumber the power invariants that reused 127-129 by @mateuszsikora in #124
  • feat(harness): take the SD card out and put one in while firmware runs by @mateuszsikora in #123
  • feat(harness)!: name HTTP and DHCP conditions and guard against bool by @mateuszsikora in #125
  • feat: inject SD card failures and I/O delays on the board's clock by @mateuszsikora in #126
  • feat: drive a route from a real device on a host serial port by @mateuszsikora in #127
  • feat(harness): let Bluetooth peers leave, and add devices without SPP by @mateuszsikora in #134
  • feat(harness): keep MQTT sessions and give the network a path by @mateuszsikora in #138
  • feat(harness): model modem failures, its clock and its operator by @mateuszsikora in #133
  • fix: give the firmware job 60 minutes for a slow full build by @mateuszsikora in #145
  • fix(harness): answer a host that rejects a page, and tell the pager why by @mateuszsikora in #147
  • fix: build firmware faster, shard test, bound the ROM download by @mateuszsikora in #146
  • feat(harness): read flash, NVS and OTA state from a test by @mateuszsikora in #148
  • test(harness): give the Bluetooth peer's tests and exampl...
Read more