feat(tools): validate versioned compatibility reports #2391
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2391"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by WallfacerX on 2026-10-09T17:31:04Z.
What
Related to #1671. Add a minimal versioned JSON compatibility-report contract and a standard-library Python validator for discussion in a draft PR.
The validator accepts partial reports with explicit reasons for unavailable data, preserves unknown/untested and failed results, and rejects unsupported statuses, missing required fields, contradictory pre-launch progress, and completion claims without an objective and milestone evidence references. It rejects duplicate JSON keys rather than silently replacing an earlier result.
The CLI validates one report without modifying it, returns 0 for valid structure and 2 for invalid input, and explicitly states that gameplay is not verified. Register its tests with CTest and document the contract, one valid synthetic launch-failure example, and invalid examples in
docs/dev/COMPATIBILITY_REPORT.md.This is the validator slice proposed in the issue discussion. The contract is provisional: it does not implement collection, performance sampling, artifact verification, scenario-specific required-check policy, complete reproducibility metadata, or actual title reports. Evidence references are checked structurally, not opened or evaluated. Completion can coexist with failed or untested quality checks. Issue #1671 remains open.
Tested
python3 -m unittest discover -s tools/tests -p 'test_*.py'— 56 tests passed, including 33 validator tests.test_pr_overlap_encoding.py, which patchessubprocess._text_encoding, unavailable in Python 3.9; the full suite passes on Python 3.12.pr_overlap_encoding,progress_report,import_audit, andcompatibility_report— all four suites passed (1.71 seconds total). No C++ targets were built.tools/check_conventions.pypassed against the upstream base, including the proposed PR title and description;git diff --checkpassed.Checklist
mainatf8c2f072463465f875dedb0d20b66c339160c1a1; checked open PRs and the #1671 discussion for overlap, with no report-validator implementation identifiedImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-09T17:31:21Z.
Thank you for your interest in the project! We are sorry, but we cannot accept more PRs while we work through the existing backlog. This PR has been automatically closed and labeled "intake paused". This is not a judgment of the quality of your changes.
Pull request closed