-
-
Notifications
You must be signed in to change notification settings - Fork 79
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
Events timing bug causing meeting check-in options to occur at wrong time #1376
Comments
Availability: weekday afternoons |
Update: I am still exploring the VRMS code base and learning how to use MongoDB/Compass. I haven't been able to start debugging. My plan is:
Availability: after May 15, 2023 in the weekday afternoons |
During the dev meeting today we discussed how it might be a good place to start to test out the update function on the front end
https://github.com/hackforla/VRMS/blob/development/backend/models/recurringEvent.model.js |
Found that the Onboarding meeting this past week (Tuesday) was missing for check in. |
After some research, I'm concluding that we are dealing with multiple bugs.
What is the priority in figuring out first? Why were there weird times? Why are events not being created? Why events made after the meeting times? @spiteless @MicahBear @MattPereira @jbubar |
@spiteless Can you please review this issue and figure out what the next steps are (e.g., make new issues from what was discovered within this issue, close this issue, revise this issue & put it back in prioritized backlog)? |
Sorry I’ve been MIA (started a new job that takes all my brain power) and haven’t been able to solve the issue. The last time I worked this with @MicahBear and @plang-psm, we think a possible solution is to change the CORS timing in generating new events because the backend takes a while (VRMS freezes for a minute or so) to go through thousands of events to check which ones to generate that will go live within the next (?) 30 minutes. So even if an event is made for a time that will start at the hour or at the 30 minute mark, it maybe have been missed to be displayed at check in. If we can check the events at midnight and then have a handful of events that will go live that same day, we will have accurate information to display at the time of checking in. Without changing the timing of the backend to check for new events every 30 minutes, this might continue to create more inaccurate information because of how long the backend takes to check. Another solution is to reduce the number of events for the backend to check/filter. |
@vanessavun Thank you for the summary! We will un-assign you from this issue and if later you are able to come back to the team, we'd be happy to have you! |
I did some digging into this today. As far as I understand it, the app regular event checkin flow is as follows:
Where are the bugs coming from?Somewhere along the way older events start times started to get out of wack. That's why we see times like 6:17PM etc. I'm not sure where that came along, but the What is the solveWe need to refactor the
Is anything about the events system still functioning properly?Funny thing is, the cron job that opens and closes the events is working fine, its just that the events are having these supremely weird start times. If we can get events to have the correct start and end times again, the current system will go back to being functional. Other notes etcI'm going to take this on and get it fixed. It'll probably take another 2-3 weeks. Hopefully. I'll work on this |
@spiteless Can you please provide an update on this issue as well?
|
#1411 is a duplicate of this issue, closing due to duplication. |
Overview
Some of the events in the database have peculiar
startTime
andendTime
s that result in users not being able to check-in to their meetings at the proper time. For this issue, we will investigate and attempt to fix this bug.Action Items
client/src/components/manageProjects
to determine if the components related to creating events or editing meeting times is source of problembackend/workers
folder to determine if bug originates thereMeetings with broken check-in ( could be more )
Resources
events
fromrecurringEvents
The People Depot project has a "recurringEvent" with a correct "startTime" of 4:00 PM
The People Depot project has an "event" on 3/30 starting at 2:21PM
Also happening with the Tuesday night 7PM HFLA website Hackforla.org Website DEV meeting
The text was updated successfully, but these errors were encountered: