Skip to content

feat(web): fetch all change sets on load, wait in the lobby #6445

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

Merged
merged 2 commits into from
Jun 24, 2025

Conversation

zacharyhamm
Copy link
Contributor

@zacharyhamm zacharyhamm commented Jun 18, 2025

Starts the user in the lobby, and runs "muspelheim", which runs niflheim against every open change set. Only then does it exit the lobby.

Lobby is controlled by the status of the niflheim queries, not the route.

Also sends the user to the lobby / muspelheims if the tab has been idle for 12 hours+.

Copy link

github-actions bot commented Jun 18, 2025

Dependency Review

✅ No vulnerabilities or OpenSSF Scorecard issues found.

Scanned Files

None

@github-actions github-actions bot added the A-web label Jun 18, 2025
@zacharyhamm zacharyhamm force-pushed the zack/infinite-lobby-in-infinite-universes branch 3 times, most recently from 269a0de to ad1ee45 Compare June 18, 2025 20:17
@zacharyhamm zacharyhamm requested review from britmyerss, jobelenus, stack72 and wendybujalski and removed request for jobelenus June 18, 2025 20:17
jobelenus
jobelenus previously approved these changes Jun 18, 2025
Copy link
Contributor

@jobelenus jobelenus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nit in there.

I do have a behavior question though; in the case that one of the index requests did 202... what is going to re-fire that after IndexUpdate tells us it's good to go?

}
router.push({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shouldn't need a router push here? Just make the lobby bool false so they see the page...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ahh. makes sense

There's another issue here: it's getting stuck forever when creating a new change set. I have to fix that.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The lobbyExit callback will mark the change set as ready to move it out of the lobby if it gets a 202.

@zacharyhamm zacharyhamm force-pushed the zack/infinite-lobby-in-infinite-universes branch from ad1ee45 to a9343b1 Compare June 20, 2025 18:43
@zacharyhamm zacharyhamm force-pushed the zack/infinite-lobby-in-infinite-universes branch from a9343b1 to 727baea Compare June 23, 2025 21:11
@zacharyhamm
Copy link
Contributor Author

No longer seeing the createMTM issues, which may have been solved by keiser's changes?

@zacharyhamm zacharyhamm requested a review from jobelenus June 23, 2025 21:12
@@ -306,51 +315,38 @@ onBeforeMount(async () => {
if (connectionShouldBeEnabled.value && heimdall.initCompleted.value) {
// NOTE(nick,wendy): this says "reconnect", but it must run once on startup.
await heimdall.bifrostReconnect();
} else {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was closing the websocket. Do we need to close it?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

huh... well... if someone gets un-auth'd/turned off (i dont know how that would get pushed down to the app) it would close the websocket—which would be desirable

@zacharyhamm zacharyhamm force-pushed the zack/infinite-lobby-in-infinite-universes branch 2 times, most recently from 917fb8a to bb3012a Compare June 23, 2025 22:02
@zacharyhamm zacharyhamm force-pushed the zack/infinite-lobby-in-infinite-universes branch 2 times, most recently from 1cbca15 to 339ccaa Compare June 24, 2025 16:26
jobelenus
jobelenus previously approved these changes Jun 24, 2025
@zacharyhamm zacharyhamm force-pushed the zack/infinite-lobby-in-infinite-universes branch from 339ccaa to 812a238 Compare June 24, 2025 17:20
@zacharyhamm zacharyhamm added this pull request to the merge queue Jun 24, 2025
Merged via the queue into main with commit 289bd30 Jun 24, 2025
8 of 10 checks passed
@zacharyhamm zacharyhamm deleted the zack/infinite-lobby-in-infinite-universes branch June 24, 2025 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy