Repository navigation
Release as 4.0.0: the rating redesign is a breaking change - #1057
Merged
Merged
Conversation
Rename the stable 3.9.0 entry to 4.0.0 in Update.json, XMOJ.user.js and package.json, and lead the release notes with the rating change. The //!ci-no-touch marker keeps UpdateVersion from bumping this to 4.0.1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01E5dr7XTsCeoamqLSiT9rLp
Contributor
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Contributor
Reviewer's guide (collapsed on small PRs)Reviewer's GuidePromotes the pending release to 4.0.0 to signal the rating redesign's breaking compatibility change, updates release notes and automation safeguards, and synchronizes the userscript and package metadata versions. Flow diagram for the 4.0.0 release promotionflowchart TD
A[Pending 3.9.0 stable entry] --> B[Rename release entry to 4.0.0]
B --> C[UpdateVersion processes release notes]
C --> D{//!ci-no-touch present?}
D -->|Yes| E[Remove marker and stop version bump]
E --> F[Keep Update.json valid at 4.0.0]
F --> G[Prerelease publishes 4.0.0 from dev]
G --> H[UpdateToRelease sees stable final entry]
H --> I[Publish 4.0.0 as stable without changes]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Restores 4.0.0 and re-adds //!ci-no-touch so UpdateVersion strips it instead of bumping again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01E5dr7XTsCeoamqLSiT9rLp
This was referenced Oct 6, 2026
boomzero
added a commit
to boomzero/XMOJ-Script
that referenced
this pull request
Oct 6, 2026
UpdateVersion also runs on edited events, and AI reviewers (cubic, Sourcery) edit PR descriptions on the author's behalf, so the [bot] actor guard does not catch them. On XMOJ-Script-dev#1057 such an edit bumped the manual 4.0.0 to 4.0.1 minutes after the PR was opened; the same path explains the prerelease-only 3.0.0. An edit now only refreshes this PR's own latest entry and otherwise exits. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01E5dr7XTsCeoamqLSiT9rLp
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.
What does this PR aim to accomplish?:
Release the pending stable version as 4.0.0 instead of 3.9.0. The rating redesign (#1048) is a breaking change: ratings are computed differently, so every user's rating changes and isn't comparable with the old one, and the yellow tier is now orange.
How does this PR accomplish the above?:
Update.json: the stable3.9.0entry is renamed to4.0.0. It is still the last key, stillPrerelease: false, and keeps its 8 aggregated PRs. Its notes now open with a 重大变更 paragraph about the rating change.XMOJ.user.js@versionandpackage.jsonversion→4.0.0.//!ci-no-touch, so UpdateVersion removes the marker and exits instead of bumping to 4.0.1. The JSON stays valid in the meantime, so tests and the site keep working.4.0.0fromdev(the guard skips only stable releases), and the release PR Stable release 4.0.0: merge dev into master #1056 then publishes 4.0.0 as stable. UpdateToRelease on Stable release 4.0.0: merge dev into master #1056 will see the last entry is already stable and change nothing.editedevent would run UpdateVersion again and add a 4.0.1 entry.npm test: 99/99 pass locally.The leftover
3.9.0prerelease on GitHub (tag3.9.0) is untouched. A maintainer can delete it after 4.0.0 ships.By submitting this pull request, I confirm the following:
git rebase)🤖 Generated with Claude Code
https://claude.ai/code/session_01E5dr7XTsCeoamqLSiT9rLp
Summary by Sourcery
Release the rating redesign as stable version 4.0.0 with synchronized version metadata and breaking-change notes.
Enhancements:
Documentation:
Summary by cubic
Releases the rating redesign as stable
4.0.0inUpdate.json, with userscript and package versions set to match.3.9.0entry is renamed to4.0.0inUpdate.json, and the release notes lead with the breaking rating change.//!ci-no-touchmarker that blocked the automation from bumping the version has been stripped again by the automation, so the next event may re-bump to4.0.1; the earlier accidental4.0.1bump was already reverted.3.9.0prerelease tag on GitHub is left untouched.Written for commit f974848. Summary will update on new commits.