JFrog Artifactory repository resolution: trace local, remote and virtual paths
Trace a package request through an Artifactory virtual repository to local storage or a remote cache. Diagnose fresh-agent failures without assuming the proxy mirrors every dependency.
TL;DR: Local repositories store published artifacts, remote repositories proxy and cache an upstream, and virtual repositories provide a resolution endpoint over selected repositories. Trace the exact package through that configuration; a successful cached build does not prove a fresh dependency can be fetched.
A friendly endpoint hides several decisions
A build can use one virtual repository URL while artifacts originate from different configured members. The client still has a package name, version and format-specific resolution behavior. Repository membership, permissions and upstream availability all influence what it receives.
JFrog's repository-management reference defines local, remote, virtual and federated repositories. This preparation path focuses on Artifactory's artifact lifecycle; it does not claim complete coverage of every JFrog product or subscription feature.
Work a warm-worker illusion
A teaching build succeeds on an existing agent and fails on a fresh agent after an upstream outage. First determine whether the successful agent used its own package-manager cache at all. It may never have contacted Artifactory. Then inspect the exact requested version, request logs, virtual members and remote-cache availability.
A caching proxy contains what has been obtained and retained under its policy, not necessarily every package or metadata record that a future build may request. Dynamic version resolution can require metadata even when some package bytes are already stored. Lock dependencies and retain required release inputs according to the build's recovery requirements.
| Repository role | Primary purpose | Incorrect inference |
|---|---|---|
| Local | Store organization-published packages | Every client may publish there |
| Remote | Proxy/cache configured upstream | It is a complete permanent mirror |
| Virtual | Present selected resolution members | It owns an independent copy of every artifact |
| Federated | Synchronize configured repository content | Every remote cache has federation semantics |
Diagnose the exact request
Record package coordinates, requested version, client repository URL and sanitized HTTP result. Verify the package format and membership of the virtual repository. Check caller permissions separately from upstream credentials: the client can be authenticated to Artifactory while Artifactory lacks access to the upstream.
Inspect configured cache and metadata policies for the installed product rather than assuming one universal TTL or resolution order across package formats. Avoid deleting shared caches as the first diagnostic step; that can remove the only available copies during an upstream outage. Reproduce with a disposable client cache and read-only requests where possible.
If an internal package name can also resolve from a public source, review repository policy and namespace controls before treating “a package with the right name” as the intended dependency. Verify checksums and expected origin from the build's lock/evidence record. A convenient virtual URL does not itself establish supply-chain trust.
Self-check: a successful offline rebuild on one old agent is offered as proof that the organization can recover builds during an upstream outage. What is missing? A fresh worker test using the retained required inputs and metadata, with evidence of where every dependency came from.
Practice the fresh-agent dependency failure and connect resolution to build-info.