Skip to content

Conversation

@root-daemon
Copy link

@root-daemon root-daemon commented Aug 6, 2025

This pull request introduces several improvements and fixes across the backend services, mainly focusing on environment configuration, data parsing, error handling, and timetable generation. The most notable changes include adding explicit Redis environment variables for Docker, enhancing timetable parsing with more robust logging and room number extraction, and improving the representation of course information in generated timetables.
#1

Environment configuration:

  • Added REDIS_HOST and REDIS_PORT environment variables to the server service in docker-compose.yml for clearer Redis connectivity configuration.

Timetable parsing and generation:

  • Enhanced the timetable parser in timetableParser.js to extract and log room numbers, slot, and course title, improving debugging and data accuracy.
  • Updated generateTimetable.js to append room numbers to course titles when available, making timetable entries more informative.

API and error handling improvements:

  • Refactored the day order API controller to safely handle missing records and avoid destructuring errors, ensuring dayOrder is null if not found.
  • Removed an erroneous call to job.log in the Bull worker error handler to prevent potential runtime issues.

@vercel
Copy link

vercel bot commented Aug 6, 2025

@root-daemon is attempting to deploy a commit to the swebi's projects Team on Vercel.

A member of the Team first needs to authorize it.

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

Successfully merging this pull request may close these issues.

1 participant