Skip to content

Run the P2MR release-validator suite for release-policy-only changes #124

Closed

Description

@kiwidream

Summary

PR #115 adds a dedicated 31-test P2MR release-validator suite, but the release-policy Required Merge Gate profile does not run it. A later change confined to ci/release/verify_p2mr_v1_conformance.py can therefore select the narrow profile and merge without executing the tests for the mainnet gate it changes.

This draft contains only PR #115's unique defect. The inherited PR #113 corpus defects and PR #114 workflow/oracle defects remain in their root follow-ups. PR #118 fixes this omission at its reviewed head and should be treated as the candidate resolution until it lands and is reverified.

Current behavior at PR #115's final head

  • The classifier treats the P2MR validator and its tests as release-policy paths.
  • The release-policy job runs builder, key, artifact, and posture modules.
  • It omits ci.release.test_verify_p2mr_v1_conformance.
  • Source Core Checks can be skipped for a release-policy-only change, leaving no required path that executes the dedicated suite.

Expected behavior

Every merge profile capable of accepting changes to the P2MR release validator must execute its focused tests and fail closed when the module is omitted or fails.

Acceptance criteria

  • Add ci.release.test_verify_p2mr_v1_conformance to the release-policy Required Merge Gate job.
  • Add a classifier regression proving a validator-only change selects the intended profile.
  • Add a workflow regression proving that profile invokes the dedicated module.
  • Ensure a failing P2MR validator test makes the release-policy gate fail.
  • Keep the suite in broader Core/source validation paths as defense in depth.
  • Require a successful exact-head Required Merge Gate run before treating the release framework as complete.

Consensus impact

Consensus-adjacent. The omitted tests protect the mainnet release gate that binds exact-tag P2MR conformance and integration inputs.

References

Activity

  1. added
    bug
    on Jul 13, 2026
  2. kiwidream commented on Aug 12, 2026

    @kiwidream
    MemberAuthor

    Resolved by #118 and present in the current 1.x.x line.

    The release-policy Required Merge Gate now explicitly runs ci.release.test_verify_p2mr_v1_conformance. The classifier regression covers changes to both the validator and its test module, and the focused suite remains in broader Core/source validation as defense in depth. A failing test module propagates through the required gate.

    PR #118 merged with successful Required Merge Gate, Core Checks Gate, and Full Validation Gate runs.

    Closing as completed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions