Skip to content

tools/asahi: cover the new RTKit buffers in the OSLog test - #620

Merged
RyanTheTide merged 1 commit into
integration/aurorafrom
hostfix/rtkit-oslog
Oct 30, 2026
Merged

RyanTheTide merged 1 commit into
integration/aurorafrom
hostfix/rtkit-oslog

Conversation

@RyanTheTide

Copy link
Copy Markdown
Contributor

apple_rtkit_reinit() now also frees the CoreAnalytics and PMP aux buffers and resets the CoreAnalytics completion. The OSLog test's struct lacked those fields and stopped compiling. It now fills every buffer before reinit and checks each is freed (instead of counting six frees), adds a --mutate buffer control that keeps the OSLog buffer across reinit, and rejects a mutation that no longer changes the source.

Before: no member named 'coreanalytics_buffer' in 'struct apple_rtkit'
After: 859 controls pass; mutations admission, channel, counter, reset, buffer each fail at an assertion.

Evidence (buildbox, python3 -I, logs in aurora-ctl/reports/hostfail-20261030/) on integration/aurora 71b3fdb. The same change passes on aurora-wip 6a42fae, where tools/asahi is identical. Test-only change, no driver code touched.

🤖 Generated with Claude Code

apple_rtkit_reinit() now also frees the CoreAnalytics and PMP aux
buffers and resets the CoreAnalytics completion. The OSLog host test's
struct lacked those fields and stopped compiling.

Add them, fill every buffer before reinit and check each one is freed,
rather than counting six frees. Add a control that keeps the OSLog
buffer across reinit, and refuse a mutation that no longer changes the
source.

Assisted-by: LLM
Signed-off-by: Ryan Murray <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@RyanTheTide
RyanTheTide merged commit 0b76ae0 into integration/aurora Oct 30, 2026
@RyanTheTide
RyanTheTide deleted the hostfix/rtkit-oslog branch October 30, 2026 06:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant