Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployment logs in the dashboard get displayed twice #599

Open
Kranzes opened this issue Nov 14, 2023 · 3 comments
Open

Deployment logs in the dashboard get displayed twice #599

Kranzes opened this issue Nov 14, 2023 · 3 comments
Labels
bug Something isn't working deploy

Comments

@Kranzes
Copy link

Kranzes commented Nov 14, 2023

When you view the logs of a cachix deploy deployment in the dashboard the logs are displayed twice (it does not seem like it is actually being executed twice).

In the attached picture the actual logs end at line 27, but the same text is displayed once again until line 54:

image

@sandydoo sandydoo added bug Something isn't working deploy labels Nov 15, 2023
@domenkozar
Copy link
Member

Can you paste the deployment uiud?

@Kranzes
Copy link
Author

Kranzes commented Dec 14, 2023

Not sure how to get that, but here's an example of a recent deployment https://app.cachix.org/deploy/workspace/infra/agent/hetzner/deployment/34.

EDIT: b4983533-94c5-493d-81b2-729f8cc759d1

@Kranzes
Copy link
Author

Kranzes commented Dec 14, 2023

When checking https://app.cachix.org/api/v1/deploy/logs/b4983533-94c5-493d-81b2-729f8cc759d1 it indeed returns a duplicate of the logs.

As you can see below there are 2 instances of the same text:

[kranzes@pongo ~]$ rg --after-context=1 "Successfully activated the deployment." Downloads/response_1702563308762.json
99:    "line": "Successfully activated the deployment.",
100-    "time": "2023-12-14T01:49:14.887763209Z"
--
199:    "line": "Successfully activated the deployment.",
200-    "time": "2023-12-14T01:49:14.887763209Z"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working deploy
Projects
None yet
Development

No branches or pull requests

3 participants