Skip to content

[8.3-stable] fix: create only one draft version per seeded page - #4120

Merged
tvdeyen merged 1 commit into
8.3-stablefrom
backport/8.3-stable/pr-4119
Aug 1, 2026
Merged

[8.3-stable] fix: create only one draft version per seeded page#4120
tvdeyen merged 1 commit into
8.3-stablefrom
backport/8.3-stable/pr-4119

Conversation

@alchemycms-bot

@alchemycms-bot alchemycms-bot Bot commented Aug 1, 2026

Copy link
Copy Markdown

Backport

This will backport the following commits from main to 8.3-stable:

Questions ?

Please refer to the Backport tool documentation

@tvdeyen
tvdeyen enabled auto-merge August 1, 2026 08:50
@codecov

codecov Bot commented Aug 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.14%. Comparing base (c20a3e0) to head (0d23639).
⚠️ Report is 2 commits behind head on 8.3-stable.

Additional details and impacted files
@@              Coverage Diff               @@
##           8.3-stable    #4120      +/-   ##
==============================================
- Coverage       98.14%   98.14%   -0.01%     
==============================================
  Files             347      347              
  Lines            9072     9071       -1     
==============================================
- Hits             8904     8903       -1     
  Misses            168      168              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Alchemy::Page already builds a draft version on initialization via the
ensure_draft_version after_initialize callback. The seeder built a second
one explicitly, so every seeded page ended up with two draft versions.
Removing the redundant build leaves exactly one draft version per page.

(cherry picked from commit 6a43153)
@tvdeyen
tvdeyen force-pushed the backport/8.3-stable/pr-4119 branch from 1b58ce0 to 0d23639 Compare August 1, 2026 09:13
@tvdeyen
tvdeyen merged commit 660ab18 into 8.3-stable Aug 1, 2026
24 checks passed
@tvdeyen
tvdeyen deleted the backport/8.3-stable/pr-4119 branch August 1, 2026 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant