You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
conda-store's links to Logs and Artifacts for environment builds are incorrect. They point users to /api/v1/build/67/logs/, when they should point users to /<base path>/api/v1/build/67/logs/
As a result, when a user clicks one of these links, they get the result {"detail":"Not Found"} (since /api/v1/build/67/logs/ is not valid, /conda-store/api/v1/build/67/logs/ ).
When you initiate a build thru the ui, some links to artifacts related to the build pop up at the bottom of the page. For example:
When you click one of the links, conda-store should send a request to the /build/<build-id>/<> endpoint, for example http://localhost:8080/conda-store/api/v1/build/35/lockfile/. And then redirect to the object storage url, for example http://localhost:9000/conda-store/logs/db2456c0-1732135951-35-sdsd.log?...more args....
How to Reproduce the problem?
Setup environment
From the conda-store project
Run docker compose up --build -d
Wait for all the services to come up
Test out issue
Create a new build in the ui (localhost:8080)
Wait for the Logs and Artifacts section to be populated
Click one of the links in the Logs and Artifacts section
observe, the error message {"detail":"Not Found"} opposed to the logs or artifacts
a. The url that is opened is /api/v1/build/67/logs/, but should be /conda-store/api/v1/build/67/logs/
The text was updated successfully, but these errors were encountered:
Describe the bug
conda-store's links to
Logs and Artifacts
for environment builds are incorrect. They point users to/api/v1/build/67/logs/
, when they should point users to/<base path>/api/v1/build/67/logs/
As a result, when a user clicks one of these links, they get the result
{"detail":"Not Found"}
(since/api/v1/build/67/logs/
is not valid,/conda-store/api/v1/build/67/logs/
).Looks like this bug is maybe related to #932
Expected behavior
When you initiate a build thru the ui, some links to artifacts related to the build pop up at the bottom of the page. For example:
When you click one of the links, conda-store should send a request to the
/build/<build-id>/<>
endpoint, for examplehttp://localhost:8080/conda-store/api/v1/build/35/lockfile/
. And then redirect to the object storage url, for examplehttp://localhost:9000/conda-store/logs/db2456c0-1732135951-35-sdsd.log?...more args...
.How to Reproduce the problem?
Setup environment
docker compose up --build -d
Test out issue
Logs and Artifacts
section to be populatedLogs and Artifacts
section{"detail":"Not Found"}
opposed to the logs or artifactsa. The url that is opened is
/api/v1/build/67/logs/
, but should be/conda-store/api/v1/build/67/logs/
The text was updated successfully, but these errors were encountered: