Repository navigation
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Run CBRAIN locally on Apple silicon using Apple's container CLI. The launcher under
deploy/apple-containerstarts BrainPortal, MariaDB, and a separate UNIX Bourreau. BrainPortal starts Bourreau over SSH and forwards its database connection. Bourreau stores reports and other files in the portal's persistentLocalStorageover SSH. The worker volume retains work directories, cache, logs, and SSH host keys across recreation.On upgrade from the combined container, the launcher preserves the storage provider ID and its files and copies the previous work and cache directories into the worker volume. The setup requires Apple silicon and macOS 26 or newer and uses Ruby 2.7 and Rails 5.
Validated at
3a066bdcein an isolated Apple-container stack:The earlier combined setup was also checked for portal login, Files and Tasks page rendering, and persistence through a database address change. Validation used the deployment branch. Replaces #1662 and targets dev.
Simplified launcher
upbuilds the image if it is missing.rebuildbuilds and replaces BrainPortal and Bourreau in one command, retaining the MariaDB and application volumes.localDiagnostics Tool Config explicitly.Validated the updated UNIX branch on Apple silicon.
rebuildand a secondupstarted the portal and Bourreau. Diagnostics task 3 savedDiagnostics-LocalBourreau-3-1.txtto LocalStorage as userfile 3. An earlier test with the wrong checkout credentials stopped at the credential check before recreating any services.ShellCheck, Bash and Ruby syntax checks, and Git whitespace checks passed for the launcher update.