Kyron Release Note#

Kyron Release Note
status: valid
security: YES
safety: QM
version: 2
Module Name: Kyron
Release Tag: v0.2.1
Origin Release Tag: v0.2.0
Release Date: the date of the GitHub release

Overview#

This document lists the changes in Kyron v0.2.1 compared with the origin release v0.2.0. It is a bug fix release for the scheduler: work stealing, the safety worker, task re-queueing and worker shutdown. It also adds the executor component requirements with their linked tests, the QM classification of the module, unit tests on QNX and Miri in the Bazel build. The public API is unchanged. Updating is recommended for all users.

Disclaimer#

This release note does not “release for production”, as it does not come with a safety argumentation and a performed safety assessment. The work products are created with care according to a process satisfying standards, but the project, being a non-profit and open source organization, cannot take over any liability for their content.

Changes to the Module#

New Features#

None.

Improvements#

  • Executor requirements: component requirements for the executor core, scheduling and worker threads (worker priority and affinity, FIFO task queue, queue size and overflow, yield_now), derived from the orchestration feature requirements and linked to the architecture and the component integration tests (#189, #190).

  • Component integration tests: stronger checks for engine isolation, dedicated worker locality and tasks that yield. Test cases linked to requirements go from 83 to 103 (#202, #206).

  • Coverage gate: the unit test line coverage gate is raised from 44% to 72% (#206).

  • QNX unit tests: the unit tests of kyron, kyron-foundation and kyron-testing run on QNX 8 (x86_64, aarch64) in a QEMU microVM, in CI and in the release verification (#111).

  • Miri: Miri runs in the Bazel build. The internal waker detects Miri at compile time instead of reading an environment variable on every pipe creation (#79).

  • Process documentation: Kyron is classified as a QM element in the module safety and security plans, with the tailoring of the safety work products until ASIL B qualification (#186). The user manual is written (#187).

  • Safety API documentation: the safety::spawn* functions state that the SafetyWorker wake-up applies when the JoinHandle is awaited with a waker of the runtime.

Bug Fixes#

  • Work stealing: when a worker refills its local queue from the global queue, the free space is measured from the steal cursor, so slots that a concurrent steal is still copying are not reused (#211).

  • Safety worker: when a safety task finishes with an error and its JoinHandle is awaited through a waker not created by the runtime (for example FuturesUnordered, join_all over more than 30 handles, or another executor), that waker is woken through its own implementation and a warning with the task id is logged.

  • Task re-queueing: the safety worker and the dedicated workers report a full task queue with a non-recoverable error when re-queueing a woken task. Before, the task was dropped and its JoinHandle never resolved (#205).

  • Worker shutdown: waking a worker no longer overwrites its shutdown state, so a stopped worker does not run one more task (#203).

  • Bazel integration: Kyron loads as a dependency module when it is not the root module. The product SBOM moves to //tools/sbom:sbom_product; //:sbom_product stays as an alias (#201).

Other changes by Label#

  • ci: the QNX workflow runs the unit tests for both QNX configurations (#111).

  • ci: the Miri run is part of the Bazel test workflow (#79).

  • dependencies: score_qnx_unit_tests 0.3.0 and score_rules_imagefs 0.0.3 are new development dependencies for the QNX unit tests (#111).

Compatibility#

  • Public API: unchanged since v0.2.0.

  • Behaviour:

    • A full task queue when the safety worker or a dedicated worker re-queues a woken task is a non-recoverable error, as for the other spawn paths (#205).

    • The SafetyWorker wake-up for a safety task error applies only when the JoinHandle is awaited with a waker of the runtime. Otherwise the error reaches the awaiting task through the regular wake-up.

  • Dependencies: no change to the product dependencies since v0.2.0. Rust 1.90.0 for Cargo builds and for Bazel builds without a platform configuration; the platform configurations use the Ferrocene toolchains.

Performed Verification#

This release note is based on the verification documented in the module verification report Kyron Module Verification R... (doc__kyron_verification_report). The release run also runs the unit tests on QNX 8 (x86_64, aarch64). Its results are attached to the GitHub release: coverage archive with the unit test results, component integration test results, Miri report, static analysis report, vulnerability scan results, SBOM and the documentation.

Known Issues#

  • Safety wake-up through foreign wakers: a JoinHandle of a safety task that is awaited through a waker not created by the runtime does not get the SafetyWorker wake-up on an error. Await such handles directly from a task.

Other known issues are tracked in the Kyron issue tracker.

Known Vulnerabilities#

  • RUSTSEC-2026-0574 to RUSTSEC-2026-0582 (heapless 0.7.17): heapless reaches the product only through score_crates iceoryx2-cal-qnx8 and the default features of postcard 1.1.3. iceoryx2-cal calls only postcard::to_allocvec and postcard::from_bytes, which use none of the affected heapless types, and Kyron does not use heapless. The advisories are ignored with this justification in osv-scanner.toml until 2027-02-28; the fix is requested in score_crates.

Upgrade Instructions#

  1. Bazel users: update bazel_dep(name = "score_kyron", ...). No code changes are needed. If you build the SBOM of Kyron, //:sbom_product still works; the target is defined in //tools/sbom.

  2. Cargo users: no change to the dependencies. Kyron needs Rust 1.87.0 or newer; it is tested with 1.90.0.

  3. Safety API users: if you await safety JoinHandle values through combinators such as FuturesUnordered or join_all, await them directly from a task to keep the SafetyWorker wake-up on errors.

For any questions or support, please contact the Project lead or raise an issue/discussion.