Skip to content

Add workflow to run migrations on PR#2941

Merged
gantoine merged 4 commits intomasterfrom
run-migtations-test
Jan 27, 2026
Merged

Add workflow to run migrations on PR#2941
gantoine merged 4 commits intomasterfrom
run-migtations-test

Conversation

@gantoine
Copy link
Copy Markdown
Member

@gantoine gantoine commented Jan 27, 2026

Description
Explain the changes or enhancements you are proposing with this pull request.

This PR adds a new test that runs all migrations in both postgres and mariadb, when migrations change.

Checklist
Please check all that apply.

  • I've tested the changes locally
  • I've updated relevant comments
  • I've assigned reviewers for this PR
  • I've added unit tests that cover the changes

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 27, 2026

Test Results

703 tests  ±0   702 ✅ ±0   1m 27s ⏱️ +3s
  1 suites ±0     1 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit 5f58deb. ± Comparison against base commit 6405d8d.

♻️ This comment has been updated with latest results.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Jan 27, 2026

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
12270 7964 65% 0% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: 5f58deb by action🐍

@gantoine
Copy link
Copy Markdown
Member Author

/gemini review

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request improves a docstring and removes a hardcoded secret key from the test configuration, which is a good security improvement. However, the PR title and description are misleading as they refer to adding a new workflow for running migrations, which isn't part of these changes. Please update the title and description to match the content.

On a related note, I observed that the modified migration file has an empty downgrade function, making it irreversible. While outside the scope of this PR's diff, I recommend implementing downgrade logic in migrations for better database schema management.

@gantoine gantoine merged commit aa3c480 into master Jan 27, 2026
10 checks passed
@gantoine gantoine deleted the run-migtations-test branch January 27, 2026 02:58
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