Skip to content

docs: Rust port testing policy - #2

Merged
zackees merged 1 commit into
masterfrom
docs/rust-testing-policy
Oct 8, 2026
Merged

zackees merged 1 commit into
masterfrom
docs/rust-testing-policy

Conversation

@zackees

@zackees zackees commented Oct 8, 2026

Copy link
Copy Markdown
Member

Adds docs/rust-port/testing-policy.md (mandatory four-tier testing policy for the Rust conversion) plus AGENTS.md / CLAUDE.md so every agent working in this repo loads it. Also allowlists the agent files and Rust workspace paths (/rust, Cargo.toml, Cargo.lock, rust-toolchain.toml) in the root .gitignore, which otherwise ignores everything at the root.

Tiers: (1) Rust #[test] on the safe core, (2) existing C tests run unchanged against the Rust implementation via an extern "C" shim + layout tests, (3) proptest differential tests against the original C compiled as an oracle, (4) black-box protocol tests for obs-websocket.

Refs #1

Defines the four mandatory test tiers for porting libobs internals to Rust
while keeping the public C API/ABI and obs-websocket protocol compatible.
AGENTS.md/CLAUDE.md point every agent at the policy. The root .gitignore
allowlist gains the agent files and the Rust workspace paths.

Refs #1
@zackees
zackees merged commit 1e7ddd9 into master Oct 8, 2026
15 checks passed
@zackees
zackees deleted the docs/rust-testing-policy branch October 26, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant