Skip to content

fix(cli): recompute compose flags from restored config during rollback - #2986

Open
patil2001 wants to merge 1 commit into
Osmantic:mainfrom
patil2001:fix/rollback-compose-flags
Open

fix(cli): recompute compose flags from restored config during rollback#2986
patil2001 wants to merge 1 commit into
Osmantic:mainfrom
patil2001:fix/rollback-compose-flags

Conversation

@patil2001

Copy link
Copy Markdown
Contributor

Summary

ods gpu reassign base64-encoded the assignment JSON with wrapping disabled only on Linux; outside Linux (Git Bash/Cygwin), GNU base64 wraps at 76 columns, so multi-KB assignments were written into .env as a first chunk plus orphan continuation lines — decoding failed afterwards and the file was structurally polluted. The non-Linux branch now strips the wraps, mirroring the manual-mode twin right above it.

AI Assistance

AI-assisted diff of encode paths within the command. The author reviewed the existing tr precedent and is responsible for the final diff.

Release Lane

  • Stable hotfix targeting release/2.6.x
  • Mainline change targeting main
  • Next-minor work targeting the next feature/minor release
  • Not sure; reviewer should help classify

Stable hotfix reason:

Not targeting the stable release branch directly.

Changed Surface

  • Docs only
  • Tests only
  • Dashboard UI
  • Installer
  • Core runtime
  • Dashboard API
  • CI workflows

Validation

  • bash -n ods/ods-cli - passed.

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.

1 participant