8000 Upgrade jobs no longer run as part of rails console init by matthewbadeau · Pull Request #3948 · manyfold3d/manyfold · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Upgrade jobs no longer run as part of rails console init #3948

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

Merged
merged 2 commits into from
Apr 8, 2025

Conversation

matthewbadeau
Copy link
Collaborator

Checklist

🚨 Please review the guidelines for contributing to this repository. 🚨

  • Make sure you are making a pull request against our main branch (left side)
  • Check that that your branch is up to date with our main.
  • Make sure you are requesting to pull a topic/feature/bugfix branch (right side). Don't request your main!
  • Check that the tests and code linter both pass.
  • If you're a new contributor, please sign our contributor license agreement.

Warnings

  • This PR will change existing database contents.
  • This PR introduces a breaking change to existing installations.

Summary

This changes the Upgrade job initializer to only run if it's a server. When running in the rails console, this initializer should not run.

Linked issues

Discussed in Matrix as this is a problem

Description of changes

This adds a simple check to the upgrade job initializer. It checks if it's run in server mode (vs console).
Credit goes to StackOverflow for the answer here.

@Floppy Floppy merged commit 2c14ff5 into main Apr 8, 2025
11 checks passed
@Floppy Floppy deleted the fix/init-upgrade-on-servers-only branch April 8, 2025 13:17
@github-project-automation github-project-automation bot moved this from Maybe to Done in Manyfold Roadmap Apr 8, 2025
@Floppy Floppy added the improvement Refactors and behind-the-scenes improvements label Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Refactors and behind-the-scenes improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0