[Docs] Add production hotfix path to release workflow - #1843
Merged
Conversation
Contributor
Contributor
Author
|
Resolved the outstanding stale remote-tracking ref issue in |
mrubens
marked this pull request as ready for review
August 29, 2026 16:04
mrubens
requested review from
brunobergher,
daniel-lxs and
mrubens
as code owners
August 29, 2026 16:04
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.
Related issue
Internal maintainer workflow documentation based on the completed production hotfix sequence in #1840 and #1841.
Why this PR exists
The existing
$changeset-release-prskill already owns Roomote's versioning, changelog, and promotion rules. Adding the emergency procedure there keeps one canonical release workflow while avoiding a competing invocation with duplicated safeguards.What changed
Extends
$changeset-release-prwith a clearly separated emergency direct-to-mainhotfix path while preserving its normaldeveloprelease workflow as the default.The hotfix path covers complete fix and prerequisite selection from latest
main, exact scope and relevant live checks, repository-owned patch changeset consumption, focused and pre-push validation, merge-commit delivery tomain, a two-filedevelopsync that preserves pending changesets, strict tag/image/GitHub Release ordering, and rollback safeguards. It explicitly refreshes both remote-tracking branch refs before creating the production branch, preventing staleorigin/mainstate from passing the safety check.This is documentation-only agent guidance with no runtime product behavior change.
How it was tested
pnpm test:release-scripts(16 passed)pnpm --filter @roomote/worker exec vitest run src/workspace/__tests__/repo-local-skills.test.ts(4 passed)git fetch --dry-rungit diff --checknode scripts/pre-push-checks.mjs(oxlint, residual ESLint, fast typechecks, and knip)Checklist
[Fix],[Feat],[Improve],[Refactor],[Docs], or[Chore]followed by a user-facing descriptionpnpm lintandpnpm check-typespass locallypnpm changeset(not applicable to repository-only workflow documentation)