Skip to content

oscar-cli version 2.1.0#99

Merged
SergioLangaritaBenitez merged 4 commits into
mainfrom
devel
Jun 11, 2026
Merged

oscar-cli version 2.1.0#99
SergioLangaritaBenitez merged 4 commits into
mainfrom
devel

Conversation

@SergioLangaritaBenitez

@SergioLangaritaBenitez SergioLangaritaBenitez commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

New Feature: Decoding Service Output

  • Added a --decode-output flag to the service run command, which extracts and decodes the last base64-encoded line from the service response, ignoring logs. This is useful when the response includes both logs and the actual result encoded in base64. (README.md, cmd/service_run.go) [1] [2] [3] [4] [5]
  • Implemented helper functions (decodeLastBase64Line, writeServiceRunOutput, etc.) to support this feature, with appropriate error handling and file management. (cmd/service_run.go)
  • Added comprehensive tests to verify that the decoded output ignores logs when the flag is set, and that the raw response is preserved when it is not. (cmd/service_run_test.go)

Dependency Updates

  • Updated several dependencies in go.mod, including github.com/spf13/cobra, github.com/grycap/oscar/v4, golang.org/x/net, k8s.io/api, and others, to their latest versions for improved stability and compatibility. (go.mod) [1] [2] [3] [4]

Service and Storage Improvements

  • Set a timeout for service run HTTP requests to avoid indefinite hangs and updated the client retrieval logic accordingly. (pkg/service/service.go) [1] [2] [3]
  • Fixed the payload and endpoint path in UpdateBucket to correctly update bucket properties. (pkg/storage/storage.go)

UI Formatting Adjustment

  • Changed the service details formatter to display federation status instead of replica count, reflecting updates in the service structure. (pkg/tui/formatters.go, pkg/tui/helpers_test.go) [1] [2]

SergioLangaritaBenitez and others added 4 commits May 26, 2026 15:58
* feat: decode service run output

* docs: document decoded service run output
* feat: add federation commands

* update oscar-cli to service version of 4.1.0
@SergioLangaritaBenitez SergioLangaritaBenitez merged commit 69eb68d into main Jun 11, 2026
12 checks 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.

3 participants