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

removes fetch override #10

Closed
wants to merge 1 commit into from
Closed

removes fetch override #10

wants to merge 1 commit into from

Conversation

jakenvac
Copy link

closes #8

There's a bug with this extension that breaks live logs from github actions due to the fetch api being manipulated to add a __account__ query parameter to every request. This causes a 400 when trying to query the github pipeline API.

This "fix" is to just remove all of the code surrounding the fetch override and any other references to __account__. As far as I can tell, everything about the extension still works fine as well as live logs from github actions.

I'm happy to have another crack at this if there is a reason for the code I've removed to still exist.

@yuezk
Copy link
Owner

yuezk commented Oct 10, 2023

The __account__ parameter is the trick to avoid the account conflict. I'm afraid that we cannot remove it.

@jakenvac
Copy link
Author

Could you explain the conflict in a little more detail? I've been using my fork since I created it and haven't experienced any issues.

@yuezk
Copy link
Owner

yuezk commented Oct 16, 2023

As I remember, the __account__ trick is to help determine which account the request belongs from. I was planning to support using multiple accounts without manually switching or auto-switching. But I don't know whether it is relevant now.

I will checkout your code to test it locally.

@jakenvac jakenvac closed this Feb 24, 2024
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 this pull request may close these issues.

when using account switcher it breaks Actions live logs
2 participants