Skip to content

[codex] fix project update date labels#365

Merged
redreceipt merged 1 commit into
mainfrom
codex/slack-project-date-labels
Jun 15, 2026
Merged

[codex] fix project update date labels#365
redreceipt merged 1 commit into
mainfrom
codex/slack-project-date-labels

Conversation

@redreceipt

@redreceipt redreceipt commented Jun 15, 2026

Copy link
Copy Markdown
Member

Summary

  • Render projects ending today as today in the Slack project update digest.
  • Exclude projects starting today from the Projects Starting Soon Slack section.
  • Add regression coverage for both cases in the project update unit tests.

Root Cause

The digest used short weekday labels for every non-overdue project target date, including deadlines that are today. The starting-soon window also included day zero, so projects starting today were still shown as upcoming.

Validation

  • python -m unittest tests.test_jobs.PostProjectUpdatesTest
  • ruff check .
  • python -m unittest discover -s tests -p 'test_*.py'

Note

Low Risk
Small presentation and window logic in the scheduled Slack digest; covered by unit tests with no auth or data changes.

Overview
Adjusts the daily Projects Ending Soon / Projects Starting Soon Slack digest in post_project_updates so same-day dates read clearly and “starting soon” means upcoming days only.

Projects whose target date is today now show Today in the line label instead of the short weekday (e.g. Sun). Projects whose start date is today are no longer listed under Projects Starting Soon; that section only includes starts 1–3 days out.

Unit tests in PostProjectUpdatesTest cover an ending-today line and assert starting-today projects are omitted.

Reviewed by Cursor Bugbot for commit e8c2a3a. Bugbot is set up for automated code reviews on this repo. Configure here.

@redreceipt redreceipt temporarily deployed to bug-board-codex-slack-p-8rtgns June 15, 2026 21:54 Inactive
@redreceipt redreceipt marked this pull request as ready for review June 15, 2026 21:54
@redreceipt redreceipt force-pushed the codex/slack-project-date-labels branch from 67dd49b to e8c2a3a Compare June 15, 2026 21:55
@redreceipt redreceipt temporarily deployed to bug-board-codex-slack-p-8rtgns June 15, 2026 21:55 Inactive
@redreceipt redreceipt merged commit b031677 into main Jun 15, 2026
6 checks passed
@redreceipt redreceipt deleted the codex/slack-project-date-labels branch June 15, 2026 21:57
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