Repository navigation
Add timestamp suffix to UvBuildName for test isolation - #3559
Merged
Merged
Conversation
UvBuildName was missing from AddTimestampToGlobalVars, so every UV integration test run used the literal build name "cli-uv-build" while all repositories correctly received the unique "-<runId>-<timestamp>" suffix. When multiple UV test runs execute concurrently against a shared Artifactory instance, they all publish and delete the same build (cli-uv-build/1). One run's cleanUvTest/initUvTest DeleteBuild removes the build info another run just published, so its GetBuildInfo returns found=false and the test fails intermittently with "build info not found — was jf rt bp successful?". Adding the suffix makes each run's build name unique, matching how every other package manager's build name is already handled.
naveenku-jfrog
approved these changes
Jun 19, 2026
Contributor
itsmeleela
approved these changes
Jun 19, 2026
itsmeleela
enabled auto-merge (squash)
June 19, 2026 08:58
ehl-jf
disabled auto-merge
June 19, 2026 09:09
social4hyq
pushed a commit
to social4hyq/homebrew-core
that referenced
this pull request
Sep 20, 2026
jfrog-cli 2.111.0 Created-by: HarmonybrewBot Commit-by: HarmonybrewBot Merged-by: HarmonybrewBot Description: Created by `brew bump` --- Created with `brew bump-formula-pr`.<details> <summary>release notes</summary> <pre>## What changed in 2.111.0 > Auto-generated from 5 repositories · 2026-06-26 > Comparing `v2.109.0` → `2.111.0` > ℹ️ No changes in: build-info-go, gofrog ### ✨ New Features - **[jfrog-cli]** Added Post Failure Run support for poetry [#3548](jfrog/jfrog-cli#3548) (@Phavya-jfrog) - **[jfrog-cli]** Add timestamp suffix to UvBuildName for test isolation [#3559](jfrog/jfrog-cli#3559) (@agrasth) - **[jfrog-cli]** Add timestamp suffix to Nix repos and build name for test isolation [#3562](jfrog/jfrog-cli#3562) (@agrasth) - **[jfrog-cli-artifactory]** Add AI help coverage check to static analysis [#490](jfrog/jfrog-cli-artifactory#490) (@ehl-jf) - **[jfrog-cli-security]** XRAY-138689 - Add Poetry support for jf ca [#768](jfrog/jfrog-cli-security#768) (@Phavya-jfrog) ### 🐛 Bug Fixes - **[jfrog-cli]** fix poetry publish command not respecting the repo flag [#3547](jfrog/jfrog-cli#3547) (@reshmifrog) - **[jfrog-cli]** Fix/latest release for hf breaks cli [#3560](jfrog/jfrog-cli#3560) (@reshmifrog) - **[jfrog-cli-artifactory]** fix poetry publish command not respecting the repo flag [#489](jfrog/jfrog-cli-artifactory#489) (@reshmifrog) - **[jfrog-cli-core]** Fix uncaught error in DownloadDependency [#1576](jfrog/jfrog-cli-core#1576) (@eranturgeman) - **[jfrog-cli-security]** Fix - Close log for Xray plugin [#780](jfrog/jfrog-cli-security#780) (@attiasas) - **[jfrog-cli-security]** Fix cocoapods OOM [#781](jfrog/jfrog-cli-security#781) (@eranturgeman) - **[jfrog-cli-security]** XRAY-145623 - pip jf ca failure due to CVS [#777](jfrog/jfrog-cli-security#777) (@Phavya-jfrog) ### 🔧 Internal Changes - **[jfrog-cli-security]** Update dependencies [#782](jfrog/jfrog-cli-security#782) (@attiasas) ### 📦 Other Changes - **[jfrog-cli]** common as default deployment size for artifactory [#3557](jfrog/jfrog-cli#3557) (@reshmifrog) - **[jfrog-cli]** RTECO-1411 Add agentplugins tests [#3551](jfrog/jfrog-cli#3551) (@udaykb2) - **[jfrog-cli]** RTECO-1074 - Remove redundant functions in agent namespace-1 [#3566](jfrog/jfrog-cli#3566) (@udaykb2) - **[jfrog-cli]** RTECO-1074 - Remove redundant functions in agent namespace-2 [#3567](jfrog/jfrog-cli#3567) (@udaykb2) - **[jfrog-cli-artifactory]** RTECO-1074 - Remove redundant functions in agent namespace(1/2) [#495](jfrog/jfrog-cli-artifactory#495) (@udaykb2) - **[jfrog-cli-artifactory]** RTECO-1074 - Remove redundant functions in agent namespace-2 [#498](jfrog/jfrog-cli-artifactory#498) (@udaykb2) --- ### 📊 Summary | Repository | Changes | |---|---| | [jfrog-cli](https://github.com/jfrog/jfrog-cli) | 9 | | [jfrog-cli-security](https://github.com/jfrog/jfrog-cli-security) | 5 | | [jfrog-cli-artifactory](https://github.com/jfrog/jfrog-cli-artifactory) | 4 | | [jfrog-cli-core](https://github.com/jfrog/jfrog-cli-core) | 1 | | **Total** | **19** | ### 🔗 Module Version Changes | Module | From | To | |---|---|---| | [jfrog-cli-artifactory](https://github.com/jfrog/jfrog-cli-artifactory) | `v0.8.1-0.20260617065038-e7be947840da` | `v0.8.1-0.20260623062654-89dd771ef4de` | | [jfrog-cli-core](https://github.com/jfrog/jfrog-cli-core) | `v2.60.1-0.20260615072209-8ccac4f0072e` | `v2.60.1-0.20260624085155-5ba797de2616` | | [jfrog-cli-security](https://github.com/jfrog/jfrog-cli-security) | `v1.30.0` | `v1.31.0` | | [jfrog-client-go](https://github.com/jfrog/jfrog-client-go) | `v1.55.1-0.20260603130552-af1dd449b994` | `v1.55.1-0.20260624085832-de0c68a23c43` | <!-- Release notes generated using configuration in .github/release.yml at v2.111.0 --> ## New Contributors * @IL-Automation made their first contribution in jfrog/jfrog-cli#3573 **Full Changelog**: https://github.com/jfrog/jfrog-cli/compare/v2.110.0...v2.111.0</pre> <p>View the full release notes at <a href="https://github.com/jfrog/jfrog-cli/releases/tag/v2.111.0">https://github.com/jfrog/jfrog-cli/releases/tag/v2.111.0</a>.</p> </details> <hr> See merge request: Harmonybrew/homebrew-core!12757
This branch was previously deployed
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.

Problem
UvBuildNameis missing fromAddTimestampToGlobalVars()inutils/tests/utils.go. Every other package manager's build name (NpmBuildName,ConanBuildName,PoetryBuildName,HuggingFaceBuildName, …) receives the unique-<runId>-<timestamp>suffix, butUvBuildNamewas left out, so it stays the literalcli-uv-buildacross all runs — even though the UV repositories (UvLocalRepo,UvRemoteRepo,UvVirtualRepo) are correctly suffixed.This is invisible in CI here because each CI job runs against its own ephemeral local Artifactory. But when multiple UV test runs execute concurrently against a shared Artifactory instance, they all publish to and delete the same build
cli-uv-build/1:jf rt bppublishescli-uv-build/1✅cleanUvTest/initUvTest→DeleteBuild(cli-uv-build)deletes ittests.GetBuildInfo(...)returnsfound=falsebuild info not found — was jf rt bp successful?The failure is intermittent and depends purely on the interleaving of concurrent runs' cleanup vs. query.
Fix
Add
UvBuildName += uniqueSuffixalongside the other build names, so each run's build name is unique and isolated — matching how every other PM is already handled.Testing
go vet ./utils/tests/passes.