Skip to content

ci: missing patch workflow #3119

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

Draft
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

asmitahase
Copy link
Collaborator

@asmitahase asmitahase commented May 15, 2025

This should catch migration failures before they end up in the release

to-do

@asmitahase asmitahase marked this pull request as ready for review May 15, 2025 19:19
@asmitahase asmitahase requested a review from ruchamahabal as a code owner May 15, 2025 19:19
@asmitahase
Copy link
Collaborator Author

@ruchamahabal review please! Will do for the older versions if this is approved.

Comment on lines +108 to +109
wget https://erpnext.com/files/v13-erpnext.sql.gz
bench --site test_site --force restore ~/frappe-bench/v13-erpnext.sql.gz
Copy link
Member

@ankush ankush May 16, 2025

Choose a reason for hiding this comment

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

This isn't sufficient IMO. Both of the current patch test backups have some Frappe/ERPNext specific test data. They're woefully inadequate, but at least it's there. Empty tables will ignore a lot possible failure modes that can happen during schema migrations.

Maybe create a new v14 site with some dummy data and store it somewhere?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I thought of that initially but then it leaves out sites updating from v13?

Copy link
Member

Choose a reason for hiding this comment

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

v13 is EOL since ~1.5 years now. So IMO it's better to expand "coverage" of code that gets tested vs. coverage of tested versions.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

v14 it is!

@asmitahase asmitahase marked this pull request as draft May 16, 2025 12:15
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.

2 participants