Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ doctrine edge cases those shapes must survive.

## Files

- **`pm-metadata-v1.json`** — PM issue/PR Metadata cases. Each case
- **`pm-metadata-v1.json`** (stored at
`pkgs/fleet/crates/fleet/src/testdata/pm-metadata-v1.json` so it is
included in Nix's `pkgs/`-scoped fleet source) — PM issue/PR Metadata cases. Each case
carries a full issue body, a `reader_parse` expectation (`ok` /
`reject`), and the top-level keys the reader must preserve.
Asserted executably by the fleet crate conformance test
Expand Down
8 changes: 2 additions & 6 deletions pkgs/fleet/crates/fleet/src/gh_metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2436,8 +2436,7 @@ mod tests {

// -- #9095 version conformance ------------------------------------
//
// Oracle: the hand-authored fixture set at
// doc/2026-11-21T17-56-24Z_design_atlas_metadata_schema_v1/fixtures/
// Oracle: the hand-authored fixture set in src/testdata/
// pm-metadata-v1.json — every historical shape of the pm_meta v1
// block, with its recorded reader expectation. Each `ok` case must
// parse and preserve its declared keys through parse and through
Expand All @@ -2446,10 +2445,7 @@ mod tests {
// oracle for design §7 slice 2 and are not asserted here.
#[test]
fn pm_metadata_version_conformance_fixtures() {
let path = concat!(
env!("CARGO_MANIFEST_DIR"),
"/../../../../doc/2026-11-21T17-56-24Z_design_atlas_metadata_schema_v1/fixtures/pm-metadata-v1.json"
);
let path = concat!(env!("CARGO_MANIFEST_DIR"), "/src/testdata/pm-metadata-v1.json");
let raw = std::fs::read_to_string(path)
.unwrap_or_else(|e| panic!("conformance fixture set unreadable at {path}: {e}"));
let set: Value = serde_json::from_str(&raw).expect("fixture set is valid JSON");
Expand Down