Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Loading fixtures, does not update sequence (Postgres) #20346

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

mtangoo
Copy link
Contributor

@mtangoo mtangoo commented Mar 25, 2025

Q A
Is bugfix? ✔️
New feature?
Breaks BC?
Fixed issues #8298

Copy link

codecov bot commented Mar 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 63.44%. Comparing base (16f5062) to head (c3de8fa).

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #20346      +/-   ##
============================================
- Coverage     64.85%   63.44%   -1.41%     
- Complexity    11437    11438       +1     
============================================
  Files           431      431              
  Lines         37199    37201       +2     
============================================
- Hits          24125    23602     -523     
- Misses        13074    13599     +525     

☔ View full report in Codecov by Sentry.
📢 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.

Copy link
Member

@samdark samdark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, but worth mentioning it in UPDGRADE since one may rely on current numbers in their tests.

@@ -6,6 +6,7 @@ Yii Framework 2 Change Log

- Enh #20309: Add custom attributes support to style tags (nzwz)
- Bug #20329: pgsql: Column Schema doesn't recognize PG type cast (arkhamvm)
- Bug #8298 Loading fixtures, does not update sequence (mtangoo)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Bug #8298 Loading fixtures, does not update sequence (mtangoo)
- Bug #8298: Loading fixtures should not update sequence (mtangoo)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually the bug is, when it loads fixtures it fails to update the sequece. So this PR is addressing that.

@mtangoo
Copy link
Contributor Author

mtangoo commented Mar 26, 2025

Looks good to me, but worth mentioning it in UPDGRADE since one may rely on current numbers in their tests.

done

@samdark
Copy link
Member

samdark commented Mar 26, 2025

Is changelog good now?

Co-authored-by: Alexander Makarov <sam@rmcreative.ru>
@mtangoo
Copy link
Contributor Author

mtangoo commented Mar 27, 2025

Is changelog good now?

While Upgrade file is fine (and comitted) change log is not. It does not correctly explain the bug (#8298)

@mtangoo mtangoo requested review from samdark and Arhell March 28, 2025 06:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants