Repository navigation
ci: adopt AtlassianPS.Standards v0.5.0 with shared alpha and beta releases - #278
Merged
Merged
Conversation
lipkau
added a commit
that referenced
this pull request
Nov 20, 2026
## Why ConfluencePS publishes automatically after every successful CI run on `master`. The ConfluencePS 3 work will land on `master` over many pull requests, so a merge must not release a half-finished major version. JiraPS already guards its continuous release with `JIRAPS_CD_ENABLED`; this does the same for ConfluencePS. ## What - `continuous_release.yml`: the `release` job runs only on manual dispatch or when the repository variable `CONFLUENCEPS_CD_ENABLED` is `'true'`. - `Tests/GitHubActions.Unit.Tests.ps1`: asserts the guard, as JiraPS does. - `.github/ai-context/releasing.md`: the rollout-guard section from JiraPS `releasing.md`, adapted to ConfluencePS. The JiraPS paragraph about the `release` environment and tag protection is left out: ConfluencePS already has the `release` environment and the `protect-release-tags` and `immutable-release-tags` rulesets. - `AGENTS.md`: one line, so an agent does not expect a release after a merge. No changelog entry: nothing changes for module users. ## Effect - `CONFLUENCEPS_CD_ENABLED` does not exist today, so after this merges a push to `master` starts no release preparation. - A 2.x patch is still possible: dispatch `Continuous Release`, then set the variable to `true` and rerun CI for the prepared commit, as `releasing.md` describes. - ConfluencePS #278 (Standards repin) edits the `uses:` line next to the new `if:`; whichever merges second needs a trivial rebase. ## Gate `Invoke-Build -Task Build, Test`: `Tests Passed: 1013, Failed: 0, Skipped: 44` — `Build succeeded. 8 tasks, 0 errors, 0 warnings`. `Invoke-Build -Task Lint`: `Tests Passed: 92, Failed: 0`. --- Created by _claude-opus-5-5 via Claude Code in T3 Code_ on behalf of @lipkau
The shared candidate build sets PrivateData.PSData.Prerelease and fails when the source manifest has no entry to set. Agent-Attribution: claude-opus-5-5 via Claude Code on behalf of @lipkau
lipkau
added a commit
to AtlassianPS/AtlassianPS.Standards
that referenced
this pull request
Nov 21, 2026
Adds shared alpha/beta releases for #73. Dispatch `Continuous Release` from `master`, select `alpha` or `beta`, and optionally set `prerelease_branch`. The workflow resolves that branch once and uses the same commit for builds, tests, the artifact ledger, and the tag. Stable releases reject branch overrides. Candidate CI writes numeric `ModuleVersion` and the exact `PrivateData.PSData.Prerelease` into the generated `.psd1`, verifies notes and archive contents, and supplies the artifact for publication. The publisher promotes it without rebuilding and relies on the exact-run artifact digest, as decided in #39. Candidate numbering uses repository tags and Gallery versions. Changes to stable behaviour: - Planning stops a major release, stable or prerelease, unless a manual dispatch supplies `major_authorization` as `owner/repository vMAJOR`. - `Test-ModulePackage` compares the full version and requires the package to match the built module file for file. - `Install-DependencyRequirement` treats `ModuleVersion` as a minimum, honors `MaximumVersion`, and ignores installed prereleases. - The publisher converts a wildcard `MaximumVersion` such as `1.*` before `Install-Module`, which rejects it. Without this, the next Configuration release, stable or alpha, fails after creating its tag. - The publisher passes `-Force` to `Publish-Module`, so a stable fix such as `0.2.11` can follow a published `0.3.0-alpha0002`. PowerShellGet otherwise rejects any version below the newest Gallery version, prereleases included. - Planning stops when the planned version is not above the latest stable version on PSGallery, and the publish job stops before tagging when a newer stable version, or a later alpha or beta of the same base, is already published. JiraPS needs a `v2.16.0` tag first: its `v2.13` to `v2.16` tags have two parts, so planning starts from `v2.12.2`. A new module's first version must now be published by hand. Not in scope, decided in review: candidate dependency provisioning (`-CandidateRequirement`) is dropped. JiraPS moves to a stable Configuration instead and then removes its candidate tooling. `Install-ModuleCandidate` stays private, used only by the acquisition checks. Downstream callers: [Configuration #59](AtlassianPS/AtlassianPS.Configuration#59), [JiraPS #731](AtlassianPS/JiraPS#731), [ConfluencePS #278](AtlassianPS/ConfluencePS#278), and [JiraAgilePS #60](AtlassianPS/JiraAgilePS#60). They pin `160631f`; they move to the release SHA after this is released. Validation: `Invoke-Build -Task Lint, Build, Test` → `Tests Passed: 142, Failed: 0, Skipped: 0, Inconclusive: 0, NotRun: 37` / `Build succeeded. 7 tasks, 0 errors, 0 warnings` on `cf400cd`. A no-publish alpha dry run of Configuration from a throwaway fork passed every candidate job on all four platforms and stopped at the release app token, as designed; see the dry-run comments. Tag creation, `Publish-Module`, the GitHub release and the post-publish Gallery check have not run; the first real alpha dispatch is their live test. --- Created by _gpt-6 via codex_ on behalf of @lipkau --- Created by _claude-opus-5-5 via Claude Code_ on behalf of @lipkau
Move every Standards workflow pin to the v0.5.0 release commit and the build requirement to 0.5.0. The consistency test checks one release SHA again, now that the release workflow no longer points at the unreleased branch. The changelog keeps one heading per change type. Agent-Attribution: claude-opus-5-5 via Claude Code on behalf of @lipkau
lipkau
marked this pull request as ready for review
November 22, 2026 00:30
10 tasks
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.
Adopts AtlassianPS.Standards v0.5.0, which adds shared alpha and beta releases (Standards #78).
Every Standards workflow pin moves to
7efc986(v0.5.0) and the build requirement to0.5.0.Tests/Tools/StandardsVersionConsistency.Unit.Tests.ps1checks the single release SHA again.Dispatch
Continuous Releasefrommaster, choosealphaorbeta, and optionally setprerelease_branch.The shared workflow uses one resolved source commit for builds, tests, the artifact ledger, and the tag.
Stable releases reject branch overrides.
The
CONFLUENCEPS_CD_ENABLEDguard from #279 stays on the release job.Adds the
Prerelease = ''manifest entry that the shared alpha/beta build sets.Standards 0.5.0 also changes the stable build:
Install-DependencyRequirementtreats a requirement with onlyModuleVersionas a minimum.Test-ModulePackagerequires the package to match the built module file for file.Updates operator guidance, the changelog, and workflow contract checks.
Uses
release:noneso adoption ships with the next package.Refs AtlassianPS/AtlassianPS.Standards#73.
Validation:
Invoke-Build -Task Lint, Build, Testagainst Standards 0.5.0 →Tests Passed: 1013, Failed: 0, Skipped: 44/Build succeeded. 9 tasks, 0 errors, 0 warnings.Created by gpt-6 via codex on behalf of @lipkau
Created by claude-opus-5-5 via Claude Code on behalf of @lipkau