Skip to content

fix(api): follow-ups from the review of the daily Series timer (#226) #228

Backlog

Description

@mwg-bender

This was generated by AI during triage.

What to build

Follow-ups from the review of #226 (daily Series timer, part of #204). Nothing here blocked the merge. The race and the partition-filter gap found in review were fixed in the PR.

Decide per item whether to fix, document or decline.

  1. SeriesFunctions.Create reads in the old order (Series, then Occurrences). The timer now reads Occurrences first so a cancel in flight is either in Skipped or still in the kept list. A repeated create that overlaps a cancel has the same window. It predates feat(api): extend every active Series each day with a timer function #226.
  2. O(Series x Events) read cost per run. OfSeriesAsync reads the whole Events table once per Series. Only visible against real data sizes; consider one read shared across the run.
  3. TimerInfo.IsPastDue is not logged. A host that was down at 04:00 runs once on start (past-due catch-up). It is harmless because the run is idempotent, but it looks like a startup run in the logs.
  4. Two ways to get SeriesOccurrences. Program.cs now registers it; SeriesFunctions still builds its own instance. Inject the registered one into SeriesFunctions too.
  5. Alerting. The function reports Succeeded even when some Series failed; the failure is only an Error log line. Add an alert on that line.

Deployed-run checks (cannot be done locally)

  • No WEBSITE_TIME_ZONE app setting (the schedule is 04:00 UTC).
  • Blob access for the timer's schedule monitor and singleton lock under identity-based AzureWebJobsStorage (role assignment, not only table rights).
  • One run across instances.
  • Paging past 1000 Series.

Acceptance criteria

  • Each item is fixed, documented or declined
  • Deployed-run checks done once after release

Blocked by

  • None (can start immediately)

Activity

  1. added
    bug
    needs-triage
    on Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions