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

go run . -- following is broken #1

Open
tehcyx opened this issue Apr 2, 2023 · 3 comments
Open

go run . -- following is broken #1

tehcyx opened this issue Apr 2, 2023 · 3 comments

Comments

@tehcyx
Copy link
Owner

tehcyx commented Apr 2, 2023

It seems the pagination might be broken, will have to dig a little bit to find out why.

Possibly related: mattn/go-mastodon#161

What is happening?

The GitHub Action to run periodic updates broke a couple days ago. The Action runner was interrupted by a 6 hour TTL, inconclusive. The CLI seems to hang indefinitely in calling the API. Playing around with the code a bit I was able to at least get the first 40 (probably standard page size) results, but nothing more.

Expected

Correctly return the list of 40+ people following my profile to store in .txt

Anything else?

I've disabled the Action in the meantime, while I try to gather more information. There was no recent code change on my side or the library, that would warrant this change in behaviour, nor did the mastodon instance version change in the time frame where it broke.

@tehcyx
Copy link
Owner Author

tehcyx commented Apr 22, 2023

Just enabled the workflow again and it ran through successfully on an old failed attempt. Hachyderm updated to v4.1.2 and for some reason this changed the outcome. Since Hachyderm was running the previous version for longer than the workflow has been failing I'm unsure why this works again. Will leave it open for now to see that the next cron run-through is successful as well.

@tehcyx
Copy link
Owner Author

tehcyx commented May 16, 2023

Looking good, closing this issue.

@tehcyx tehcyx closed this as completed May 16, 2023
@tehcyx
Copy link
Owner Author

tehcyx commented Jul 9, 2023

Re-opening this issue, as it is appearing again: https://github.com/tehcyx/mastodon-audit-log/actions/runs/5496558040

@tehcyx tehcyx reopened this Jul 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant