You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c522e60
Browse filesBrowse the repository at this point in the historyBrowse files
CHANGE: Gate PRs on Validate instead of Publish Dry Run
"Publish Dry Run inputsystem" has failed on every PR since mid-August with
PVP-40-1 on the "## [Unreleased] - yyyy-mm-dd" changelog header. The package
tooling team confirmed this is expected: a dry run has the same requirements
as a real publish, it doesn't read .yamato/wrench/pvp-exemptions.json, and a
package can't be published with an [Unreleased] section. develop is never
publishable, so the dry run can't be a PR gate.
- "All Functional Tests" now depends on the Validate jobs instead of the dry
run. They run upm-pvp require with our exemptions file, and were already
part of the gate through the dry run's dependencies.
- The changelog header is now "## [Unreleased]", which passes PVP-40-1.
- Replaced the PVP-40-1 exemption for the placeholder header with a PVP-41-1
exemption ("Changelog has no [Unreleased] section"), as the PVP-41-1 docs
recommend during development.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: Tools/CI/CI-CHANGES.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,26 @@ This file documents notable changes made to the CI cookbook (`Tools/CI/`), inclu
4
4
5
5
---
6
6
7
+
## Gate PRs on Validate instead of Publish Dry Run
8
+
**Branch:**`anthony/pr-gate-on-validate`
9
+
**Date:** November 2026
10
+
**Author:** Anthony Yakovlev
11
+
12
+
### Summary
13
+
Since mid-August 2026, "Publish Dry Run inputsystem" failed on every PR with PVP-40-1 (`CHANGELOG.md: line 8: header must match regex`). The package tooling team confirmed this is expected. `upm-pvp publish --dry-run` has the same requirements as a real publish and doesn't read `.yamato/wrench/pvp-exemptions.json`, and a package can't be published with an `[Unreleased]` changelog section. `develop` is never in a publishable state, so the dry run can't be a PR gate.
14
+
15
+
### Changes
16
+
-**`Recipes/Triggers.cs`:** "All Functional Tests" now depends on the Wrench "Validate - inputsystem - X - Y" jobs instead of "Publish Dry Run inputsystem". The Validate jobs run `upm-pvp require "rme PVP-160-1 supported .yamato/wrench/pvp-exemptions.json"`, so they apply our exemptions. They were already part of the PR gate, because the dry run depended on them.
17
+
-**`CHANGELOG.md`:** the in-progress header is now `## [Unreleased]` instead of `## [Unreleased] - yyyy-mm-dd`, so it passes PVP-40-1.
18
+
-**`.yamato/wrench/pvp-exemptions.json`:** removed the PVP-40-1 exemption for the placeholder header, and added `"PVP-41-1": {"all": true}` ("Changelog has no [Unreleased] section"). The PVP-41-1 docs recommend skipping it in CI during development.
19
+
20
+
### Follow-up
21
+
- When releasing, replace `## [Unreleased]` with `## [x.y.z] - yyyy-mm-dd`, as before.
22
+
- When bumping the version after a release, add back `## [Unreleased]` without the ` - yyyy-mm-dd` placeholder. The placeholder fails PVP-40-1, which is no longer exempted.
23
+
- Run "Publish Dry Run inputsystem" manually to check the package is ready to publish, or to test CI changes. It will keep failing while the `[Unreleased]` section is there.
0 commit comments