Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

when using account switcher it breaks Actions live logs #8

Open
AllinolCP opened this issue Aug 5, 2023 · 2 comments
Open

when using account switcher it breaks Actions live logs #8

AllinolCP opened this issue Aug 5, 2023 · 2 comments

Comments

@AllinolCP
Copy link

No description provided.

@jakenvac
Copy link

I've done some debugging on this and I think it's because the __account__ query param gets injected into the url that establishes the websocket connection for logs.

@jakenvac
Copy link

I have "fixed" this locally. There's some code that overrides the browsers fetch behavior to append the __account__ parameter to all urls. I couldn't see what this was used for aside from forcing an account switch. The logic that handles the auto switch rules also checks for this query - I'm assuming for manual overrides/debugging.

Stripping out all of logic around __account__ and removing the fetch override restores the log behavior and it doesn't seem to have broken anything.

I'll raise a PR but I'm anticipating that the code I've removed was indeed there for a reason.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants