Skip to content

Conversation

@omrilo
Copy link
Contributor

@omrilo omrilo commented Dec 28, 2025

…els and add-labels flags

  • The pull request is targeting the main branch.
  • The code has been validated to compile successfully by running go vet ./....
  • The code has been formatted properly using go fmt ./....
  • All static analysis checks passed.
  • All tests have passed. If this feature is not already covered by the tests, new tests have been added.
  • All integration tests have passed locally as they cannot be automated yet.
  • All changes are detailed at the description. if not already covered at JFrog Documentation, new documentation have been added.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 28, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 28, 2025

Unit Tests Results

241 tests  ±0   241 ✅ ±0   0s ⏱️ ±0s
 25 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit ccbe411. ± Comparison against base commit 5190506.

♻️ This comment has been updated with latest results.

@omrilo
Copy link
Contributor Author

omrilo commented Dec 28, 2025

I have read the CLA Document and I hereby sign the CLA

@asafgabai asafgabai added the safe to test Approve running end-to-end tests on a pull request label Dec 31, 2025
@github-actions github-actions bot removed the safe to test Approve running end-to-end tests on a pull request label Dec 31, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 31, 2025

Test Results

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit d0fad61.

♻️ This comment has been updated with latest results.

if ctx.IsFlagSet(commands.AddLabelsFlag) {
addLabels, err := utils.ParseLabelKeyValuePairs(ctx.GetStringFlagValue(commands.AddLabelsFlag))
if err != nil {
return err
Copy link

Choose a reason for hiding this comment

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

pls wrap the error with more context about the failure, i.e. "failed to parse add-labels"
(and similarly for other errors)

return result, nil
}

func ParseLabelKeyValuePairs(flagValue string) ([]model.LabelKeyValue, error) {
Copy link

Choose a reason for hiding this comment

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

pls add unit tests

@asafgabai asafgabai added the safe to test Approve running end-to-end tests on a pull request label Jan 7, 2026
@github-actions github-actions bot removed the safe to test Approve running end-to-end tests on a pull request label Jan 7, 2026
@asafgabai asafgabai merged commit c5078af into jfrog:main Jan 27, 2026
3 of 4 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