Skip to content

Collect autoharness metadata from both Cargo layouts - #814

Open
fromtaoyuanhsinchuuuu wants to merge 1 commit into
model-checking:mainfrom
fromtaoyuanhsinchuuuu:fix/autoharness-metadata-layout
Open

fromtaoyuanhsinchuuuu wants to merge 1 commit into
model-checking:mainfrom
fromtaoyuanhsinchuuuu:fix/autoharness-metadata-layout

Conversation

@fromtaoyuanhsinchuuuu

Copy link
Copy Markdown

Gather metadata from both the legacy debug/deps and per-package debug/build directories. Stage symlinks for the analyzer, skip the generated dummy crate during collection, and clean up the staging directory on exit. This also handles builds where the dummy artifact is absent and leaves the original Kani output intact.

Validation

  • Ran bash -n scripts/run-kani.sh and the three analyzer unit tests.
  • Exercised the script with fixture builds for the legacy, per-package, and mixed layouts. Verified both analyzer invocations, dummy filtering, failure on an empty selection, and staging cleanup on success and failure.

Resolves #707

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

@fromtaoyuanhsinchuuuu
fromtaoyuanhsinchuuuu requested a review from a team as a code owner December 2, 2026 20:06

This branch has not been deployed

No deployments
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.

CI scripts assume Kani's old debug/deps/ output layout

1 participant