Skip to content

feat(agenda): show forecasts that fall in the window when the schedule has no occurrence there (TASK-4497) - #2518

Merged
xarmian merged 4 commits into
mainfrom
rook/TASK-4497
Nov 13, 2026
Merged

xarmian merged 4 commits into
mainfrom
rook/TASK-4497

Conversation

@xarmian

@xarmian xarmian commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator

A milestone whose target is in one month and whose forecast is in a later one showed no forecast marker in the later month: the marker was drawn only from entries already in the response, and a schedule with no occurrence in the window is never admitted.

  • GET /workspaces/{ws}/agenda, GET /me/agenda and the collection calendar now return forecasts (with forecasts_complete): every visible live schedule whose forecast falls in the window, at most 500, earliest first. Visibility uses the same scope as the entries read. The list never counts toward entry caps, truncated, next_from or window_complete.
  • The collection Month and the agenda Week draw these rows as forecast markers, deduplicated against a forecast already shown inline.
  • docs/api.md updated in the three agenda sections.

Tests: store window edges and exclusions; forecast-only admission, a guest granted one item, an OAuth workspace allow-list and a pinned token on each endpoint; paging unchanged with 600 extra forecast-only schedules; vitest for both merges.

https://claude.ai/code/session_01Pa22hGWV7pkhdqMsNCu4gj

@xarmian
xarmian merged commit c2c4cde into main Nov 13, 2026
15 checks passed
@xarmian
xarmian deleted the rook/TASK-4497 branch November 13, 2026 07:45
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