Skip to content

Added native huggingface native commands and e2e and workflow tests#3341

Merged
naveenku-jfrog merged 7 commits intojfrog:masterfrom
naveenku-jfrog:feature/RTECO-782-Implementation-of-skeleton-command-in-jf-cli_
Feb 17, 2026
Merged

Added native huggingface native commands and e2e and workflow tests#3341
naveenku-jfrog merged 7 commits intojfrog:masterfrom
naveenku-jfrog:feature/RTECO-782-Implementation-of-skeleton-command-in-jf-cli_

Conversation

@naveenku-jfrog
Copy link
Collaborator

  • All tests have passed. If this feature is not already covered by the tests, new tests have been added.
  • The pull request is targeting the master branch.
  • The code has been validated to compile successfully by running go vet ./....
  • The code has been formatted properly using go fmt ./....

What: Added native hhuggingface native commands and e2e and workflow tests
Depend on other PR: Yes, jfrog/jfrog-cli-artifactory#359

@naveenku-jfrog naveenku-jfrog added the safe to test Approve running integration tests on a pull request label Feb 5, 2026
@naveenku-jfrog naveenku-jfrog added safe to test Approve running integration tests on a pull request and removed safe to test Approve running integration tests on a pull request labels Feb 10, 2026
@naveenku-jfrog naveenku-jfrog added safe to test Approve running integration tests on a pull request and removed safe to test Approve running integration tests on a pull request labels Feb 12, 2026
@agrasth agrasth changed the title Added native hhuggingface native commands and e2e and workflow tests Added native huggingface native commands and e2e and workflow tests Feb 12, 2026
Comment on lines +1196 to +1199
repoType := c.String("repo-type")
if repoType == "" {
repoType = "model"
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Default values for repoType are set in the command functions, but the flag definition says "[Default: model]" which suggests it should be set at the flag level.
Default should be in the flag definition, not in the command logic. This is inconsistent with how other flags work.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

NA.

Comment on lines +198 to +202
err = jfrogCli.Exec(args...)
if err != nil {
// Expected to fail without proper HuggingFace credentials
t.Logf("HuggingFace upload command returned: %v (this is expected without HF credentials)", err)
}
Copy link
Contributor

Choose a reason for hiding this comment

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

These are not actually validating the HuggingFace functionality works. Is this expected in next set of PR?
If yes, for such cases we can directly add e2es when functionality is fully done, this can avoid rework. WDYT?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fully functionalities will be part of next PR.

@naveenku-jfrog naveenku-jfrog added safe to test Approve running integration tests on a pull request and removed safe to test Approve running integration tests on a pull request labels Feb 13, 2026
@naveenku-jfrog naveenku-jfrog enabled auto-merge (squash) February 13, 2026 09:15
@naveenku-jfrog naveenku-jfrog added safe to test Approve running integration tests on a pull request and removed safe to test Approve running integration tests on a pull request labels Feb 15, 2026
@naveenku-jfrog naveenku-jfrog added safe to test Approve running integration tests on a pull request and removed safe to test Approve running integration tests on a pull request labels Feb 17, 2026
@naveenku-jfrog naveenku-jfrog added safe to test Approve running integration tests on a pull request and removed safe to test Approve running integration tests on a pull request labels Feb 17, 2026
@github-actions
Copy link
Contributor

👍 Frogbot scanned this pull request and did not find any new security issues.


@naveenku-jfrog naveenku-jfrog merged commit 6793fa4 into jfrog:master Feb 17, 2026
74 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test Approve running integration tests on a pull request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments