Skip to content

Conversation

@mkrasnitski
Copy link
Collaborator

A regression introduced by #3099 was that successful resumes will break out of the loop inside ShardRunner::run, but they shouldn't (or rather, didn't before). Therefore, only break out of the loop if the resume failed and we had to fallback to reidentifying.

Only break of out the `ShardRunner` loop if the resume failed and we
have to reidentify.
@github-actions github-actions bot added the gateway Related to the `gateway` module. label Feb 3, 2025
@arqunis arqunis added the fix A solution to an existing bug. label Feb 3, 2025
@arqunis arqunis merged commit ebbf0b6 into serenity-rs:next Feb 3, 2025
24 checks passed
@mkrasnitski mkrasnitski deleted the resume-fix branch February 8, 2025 05:54
mkrasnitski added a commit to mkrasnitski/serenity that referenced this pull request Feb 14, 2025
A regression introduced by serenity-rs#3099 was that successful resumes will break
out of the loop inside `ShardRunner::run`, but they shouldn't (or
rather, didn't before). Therefore, only break out of the loop if the
resume failed and we had to fallback to reidentifying.
mkrasnitski added a commit to mkrasnitski/serenity that referenced this pull request Mar 5, 2025
A regression introduced by serenity-rs#3099 was that successful resumes will break
out of the loop inside `ShardRunner::run`, but they shouldn't (or
rather, didn't before). Therefore, only break out of the loop if the
resume failed and we had to fallback to reidentifying.
mkrasnitski added a commit to mkrasnitski/serenity that referenced this pull request Mar 5, 2025
A regression introduced by serenity-rs#3099 was that successful resumes will break
out of the loop inside `ShardRunner::run`, but they shouldn't (or
rather, didn't before). Therefore, only break out of the loop if the
resume failed and we had to fallback to reidentifying.
mkrasnitski added a commit to mkrasnitski/serenity that referenced this pull request Mar 7, 2025
A regression introduced by serenity-rs#3099 was that successful resumes will break
out of the loop inside `ShardRunner::run`, but they shouldn't (or
rather, didn't before). Therefore, only break out of the loop if the
resume failed and we had to fallback to reidentifying.
mkrasnitski added a commit to mkrasnitski/serenity that referenced this pull request Mar 10, 2025
A regression introduced by serenity-rs#3099 was that successful resumes will break
out of the loop inside `ShardRunner::run`, but they shouldn't (or
rather, didn't before). Therefore, only break out of the loop if the
resume failed and we had to fallback to reidentifying.
mkrasnitski added a commit to mkrasnitski/serenity that referenced this pull request Mar 11, 2025
A regression introduced by serenity-rs#3099 was that successful resumes will break
out of the loop inside `ShardRunner::run`, but they shouldn't (or
rather, didn't before). Therefore, only break out of the loop if the
resume failed and we had to fallback to reidentifying.
GnomedDev pushed a commit to GnomedDev/serenity that referenced this pull request Mar 26, 2025
A regression introduced by serenity-rs#3099 was that successful resumes will break
out of the loop inside `ShardRunner::run`, but they shouldn't (or
rather, didn't before). Therefore, only break out of the loop if the
resume failed and we had to fallback to reidentifying.
GnomedDev pushed a commit to GnomedDev/serenity that referenced this pull request Mar 26, 2025
A regression introduced by serenity-rs#3099 was that successful resumes will break
out of the loop inside `ShardRunner::run`, but they shouldn't (or
rather, didn't before). Therefore, only break out of the loop if the
resume failed and we had to fallback to reidentifying.
GnomedDev pushed a commit that referenced this pull request Apr 28, 2025
A regression introduced by #3099 was that successful resumes will break
out of the loop inside `ShardRunner::run`, but they shouldn't (or
rather, didn't before). Therefore, only break out of the loop if the
resume failed and we had to fallback to reidentifying.
GnomedDev pushed a commit that referenced this pull request May 19, 2025
A regression introduced by #3099 was that successful resumes will break
out of the loop inside `ShardRunner::run`, but they shouldn't (or
rather, didn't before). Therefore, only break out of the loop if the
resume failed and we had to fallback to reidentifying.
mkrasnitski added a commit to mkrasnitski/serenity that referenced this pull request Jun 30, 2025
A regression introduced by serenity-rs#3099 was that successful resumes will break
out of the loop inside `ShardRunner::run`, but they shouldn't (or
rather, didn't before). Therefore, only break out of the loop if the
resume failed and we had to fallback to reidentifying.
mkrasnitski added a commit to mkrasnitski/serenity that referenced this pull request Jun 30, 2025
A regression introduced by serenity-rs#3099 was that successful resumes will break
out of the loop inside `ShardRunner::run`, but they shouldn't (or
rather, didn't before). Therefore, only break out of the loop if the
resume failed and we had to fallback to reidentifying.
mkrasnitski added a commit to mkrasnitski/serenity that referenced this pull request Jun 30, 2025
A regression introduced by serenity-rs#3099 was that successful resumes will break
out of the loop inside `ShardRunner::run`, but they shouldn't (or
rather, didn't before). Therefore, only break out of the loop if the
resume failed and we had to fallback to reidentifying.
mkrasnitski added a commit to mkrasnitski/serenity that referenced this pull request Jul 28, 2025
A regression introduced by serenity-rs#3099 was that successful resumes will break
out of the loop inside `ShardRunner::run`, but they shouldn't (or
rather, didn't before). Therefore, only break out of the loop if the
resume failed and we had to fallback to reidentifying.
mkrasnitski added a commit to mkrasnitski/serenity that referenced this pull request Jul 28, 2025
A regression introduced by serenity-rs#3099 was that successful resumes will break
out of the loop inside `ShardRunner::run`, but they shouldn't (or
rather, didn't before). Therefore, only break out of the loop if the
resume failed and we had to fallback to reidentifying.
mkrasnitski added a commit to mkrasnitski/serenity that referenced this pull request Oct 7, 2025
A regression introduced by serenity-rs#3099 was that successful resumes will break
out of the loop inside `ShardRunner::run`, but they shouldn't (or
rather, didn't before). Therefore, only break out of the loop if the
resume failed and we had to fallback to reidentifying.
mkrasnitski added a commit to mkrasnitski/serenity that referenced this pull request Oct 7, 2025
A regression introduced by serenity-rs#3099 was that successful resumes will break
out of the loop inside `ShardRunner::run`, but they shouldn't (or
rather, didn't before). Therefore, only break out of the loop if the
resume failed and we had to fallback to reidentifying.
mkrasnitski added a commit to mkrasnitski/serenity that referenced this pull request Oct 7, 2025
A regression introduced by serenity-rs#3099 was that successful resumes will break
out of the loop inside `ShardRunner::run`, but they shouldn't (or
rather, didn't before). Therefore, only break out of the loop if the
resume failed and we had to fallback to reidentifying.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix A solution to an existing bug. gateway Related to the `gateway` module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants