Repository navigation
Complete P1 native exit gates and publish evidence - #4
Merged
Merged
Conversation
There was a problem hiding this comment.
🟡 Changes recommended
The suite gate accepts incomplete or incorrect execution evidence, and the publication record’s manifest hash does not match the referenced checked-in file.
2 open issues
What changed in this PR
This PR strengthens RustSharp’s P1 safe-core exit verification and publishes bilingual completion records tied to a Windows/Linux x64 candidate run.
Changes:
- Restores frozen coverage bindings and adds historical-suite execution validation.
- Aligns Release and Native AOT tooling with the repository’s .NET SDK pin and requires Drop transport proofs in the production aggregate.
- Publishes evidence bindings for 85 implementation leaves and six exit gates, with README and roadmap updates.
| File | Description |
|---|---|
| tools/RustSharp.Conformance/P1GateCoverageContract.cs | Accepts the reviewed generic-test revision while recording its actual hash. |
| tools/RustSharp.Conformance/P1ExpandedPlatformRunner.cs | Copies the SDK pin into isolated tooling directories. |
| tests/RustSharp.Tests/P2CoreRuntimeTests.cs | Makes iterator composition types explicit. |
| tests/RustSharp.Tests/P2CoreContractTests.cs | Simplifies the manifest-property assertion. |
| tests/RustSharp.Tests/P1GateCoverageContractTests.cs | Supports isolated outputs and tests source-hash bindings. |
| src/RustSharp.Compiler/CoreContract.cs | Hashes contract JSON directly from UTF-8 writer output. |
| ROADMAP.md | Updates English P1 status and completion links. |
| ROADMAP_zh.md | Updates Chinese P1 status and completion links. |
| README.md | Updates SDK guidance and P1 gate status. |
| README_zh.md | Mirrors SDK guidance and P1 gate status in Chinese. |
| global.json | Pins .NET SDK 10.0.404. |
| eng/Test-P1SuiteGate.ps1 | Requires historical execution evidence in suite aggregation. |
| eng/Test-P1RegressionAudit.ps1 | Binds historical reports and launch records by hash. |
| eng/Test-P1ProductionCiGate.ps1 | Requires Drop transport proofs and repository-pinned builds. |
| eng/P1SuiteEvidenceValidation.ps1 | Adds historical-suite and versioned-transition validation. |
| eng/Invoke-WindowsNativeAotProbe.ps1 | Reads the expected SDK from the repository pin. |
| eng/Invoke-P1SuiteReports.ps1 | Runs historical suites and propagates the Native AOT SDK pin. |
| eng/Invoke-P1ReleaseBuild.ps1 | Defaults Release builds to the repository SDK pin. |
| eng/Invoke-P1ProductionNativeEvidence.ps1 | Uses the pinned SDK for production evidence. |
| eng/Invoke-P1PlatformEvidence.ps1 | Defaults platform probes to the pinned SDK. |
| eng/Invoke-P1NativeDropEvidence.ps1 | Uses the pinned SDK for native Drop evidence. |
| docs/roadmap/P2.md | Revises the core-contract prerequisite status. |
| docs/roadmap/P2-HANDOFF.md | Revises the English core-contract handoff checkpoint. |
| docs/roadmap/P2-HANDOFF_zh.md | Mirrors the handoff checkpoint revision in Chinese. |
| docs/roadmap/P2_zh.md | Mirrors the core-contract prerequisite status in Chinese. |
| docs/roadmap/P1.md | Updates detailed gate statuses and evidence descriptions. |
| docs/roadmap/P1_zh.md | Mirrors detailed P1 gate updates in Chinese. |
| docs/p1-completion.md | Adds the English P1 completion record. |
| docs/p1-completion.json | Records leaf bindings, run references, and evidence hashes. |
| docs/p1-completion_zh.md | Adds the Chinese P1 completion record. |
| .github/workflows/windows-p0.yml | Installs the repository-pinned SDK. |
| .github/workflows/p1-platform.yml | Uses the repository SDK pin for both platforms. |
| .github/workflows/p1-expanded.yml | Uses pinned tooling and forwards Drop validation results. |
| .github/workflows/linux-native-aot.yml | Installs the repository-pinned SDK. |
Review effort: Balanced
Comment on lines
+417
to
+419
| [string[]]$requiredSteps = if ($isPlatform) { @('coreClrCompile','coreClrRun','ilVerify','nativeAotPublish','nativeAotRun') } else { @('rustSharpCheck') } | ||
| if ($transition) { $requiredSteps += @('rustcCompile','rustSharpCompile') } | ||
| if ($isSuccessor -and $transitions.Contains($id)) { $requiredSteps += @('rustcCompile','rustcRun','rustSharpCompile','rustSharpRun') } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


P1 exit
Verification
Candidate
9d483a98141f4dcb6aa04232e7d5bfcb235ea554passed all eight Windows/Linux x64 jobs. Each native platform passed 1,496 regressions, 32 expanded differential cases, 24 expanded platform cases, 19 source-package cases, 28 NativeV5 Drop cases and 7 callable checks. The production aggregate verified both host receipts and all 24 backend cells. The final commit contains the documentation and evidence bindings, and passes the bilingual roadmap validator.