Repository navigation
fix(revisions): preserve manual Save checkpoints after autosave - #3834
Closed
khoinguyenpham04 wants to merge 2 commits into
Closed
khoinguyenpham04 wants to merge 2 commits into
khoinguyenpham04 wants to merge 2 commits into
Conversation
🦋 Changeset detectedLatest commit: 945fe77 The changes in this PR will be included in the next version bump. This PR includes changesets to release 12 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
🚀 Deploying Preview to Cloudflare 🚀Preview URL: https://noah-content-save-history.try.emdashcms.com, https://noah-content-save-history-emdash-playground.emdash-cms.workers.dev (commit 945fe77)This URL reflects your latest Preview deploymentPreview Deployments by commit
|
This was referenced Oct 3, 2026
khoinguyenpham04
added this pull request to stack #3844
October 4, 2026 01:18
@emdash-cms/admin
@emdash-cms/auth
@emdash-cms/auth-atproto
@emdash-cms/blocks
@emdash-cms/cloudflare
@emdash-cms/contentful-to-portable-text
emdash
create-emdash
@emdash-cms/gutenberg-to-portable-text
@emdash-cms/plugin-cli
@emdash-cms/plugin-test
@emdash-cms/plugin-types
@emdash-cms/registry-client
@emdash-cms/registry-lexicons
@emdash-cms/registry-loader
@emdash-cms/registry-moderation
@emdash-cms/registry-verification
@emdash-cms/sandbox-workerd
@emdash-cms/x402
@emdash-cms/plugin-ai-moderation
@emdash-cms/plugin-atproto
@emdash-cms/plugin-audit-log
@emdash-cms/plugin-color
@emdash-cms/plugin-embeds
@emdash-cms/plugin-field-kit
@emdash-cms/plugin-forms
@emdash-cms/plugin-webhook-notifier
commit: |
khoinguyenpham04
force-pushed
the
noah/content-save-history
branch
from
October 4, 2026 20:03
2ddfddc to
945fe77
Compare
8 of 19 tasks
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
docs | 945fe77 | Oct 04 2026, 08:06 PM |
khoinguyenpham04
removed this pull request from stack #3844
October 4, 2026 20:12
khoinguyenpham04
added this pull request to stack #3866
October 4, 2026 20:12
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 do?
Keeps manual Save checkpoints in revision history when the next autosave runs. Autosave replaces only a superseded autosave; live revisions remain protected and the existing bounded history-pruning policy is unchanged.
Migration 092 adds a default-zero autosave marker. Existing revisions stay manual checkpoints, and concurrent or retried upgrades converge without modifying their content. Only
skipRevisionsaves set the marker; abandoned CAS writes still use the general cleanup path.Depends on #3832. Rolling-deployment prerequisite: release and deploy that compatibility patch to every application instance before applying this migration. The lower PR predeclares the excluded bookkeeping column so those instances can still export after schema expansion. Imported revisions conservatively default to manual; the transfer package format is unchanged.
Stack layer 2/5. Visual-editor safety, publication validation, and live-metadata disclosure remain separate layers.
Type of change
Checklist
pnpm typecheckpassespnpm lintpassespnpm testpasses (or targeted tests for my change)pnpm formathas been runmessages.pochanges except in translation PRs — a workflow extracts catalogs on merge tomain.Translation/screenshots are not applicable: no UI markup or strings change. Discussion is not applicable: this fixes a reproduced bug.
AI-generated code disclosure
Screenshots / test output
Screenshots: Not applicable.
pnpm build,pnpm typecheck,pnpm lint,pnpm lint:quick, andpnpm formatpass; type-aware JSON lint has zero diagnostics.