Skip to content

DTSW-7549-Fix-missing-billboards-bug#123

Merged
Tuxliri merged 1 commit intomainfrom
DTSW-7549-Fix-missing-billboards-bug
Jan 7, 2026
Merged

DTSW-7549-Fix-missing-billboards-bug#123
Tuxliri merged 1 commit intomainfrom
DTSW-7549-Fix-missing-billboards-bug

Conversation

@liammcalpineduckietown
Copy link
Contributor

@liammcalpineduckietown liammcalpineduckietown commented Jan 6, 2026

This pull request updates the billboard fetching logic in lib/dt_shell/tasks.py to correctly handle paginated API responses from the server. The main improvement is that it now collects all billboard entries across multiple pages before updating the local database, ensuring that no data is missed.

Billboard fetching and database update improvements:

  • Modified the execute method to loop over paginated API results by following the next URL, aggregating all billboard entries into a single bboards list before updating the local database. [1] [2]

Code cleanup:

  • Removed an unnecessary blank line in the shutdown method for code cleanliness.

@liammcalpineduckietown liammcalpineduckietown changed the title fix: resolve missing billboards by implementing pagination in UpdateBillboardsTask DTSW-7549-Fix-missing-billboards-bug Jan 6, 2026
@Tuxliri Tuxliri merged commit 739f784 into main Jan 7, 2026
4 of 5 checks passed
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.

2 participants

Comments