Skip to content

Conversation

@jcscottiii
Copy link
Collaborator

tl;dr: This is to align with the triggers and frequencies in the mocks.

Updates the OpenAPI definition, internal storage types, and worker tests to align with the V1 notification capabilities, specifically removing DAILY frequency (as it's not in scope for user selection yet) and standardizing on IMMEDIATE, WEEKLY, and MONTHLY.

Changes:

  • API:
    • Removed DAILY frequency.
    • Added IMMEDIATE, WEEKLY, and MONTHLY frequencies.
    • Renamed and expanded subscription triggers (e.g. feature_baseline_to_widely).
  • Storage:
    • Updated SavedSearchSubscription struct to use typed SubscriptionTrigger and JobFrequency enums.
    • Updated Spanner adapters to convert between backend and storage types.
  • Workers:
    • Updated EventProducer logic to map IMMEDIATE jobs correctly.
    • Updated Dispatcher tests to use IMMEDIATE frequency instead of DAILY.
  • Backend:
    • Updated validation logic and tests to match the new enums.

@jcscottiii jcscottiii force-pushed the jcscottiii/push-delivery-worker-pt2 branch from b3e90da to acbcf06 Compare December 28, 2025 22:31
@jcscottiii jcscottiii force-pushed the jcscottiii/push-delivery-worker-pt3 branch 2 times, most recently from f8abdff to 7fcefcd Compare December 28, 2025 23:07
@jcscottiii jcscottiii force-pushed the jcscottiii/push-delivery-worker-pt2 branch from acbcf06 to ba99cca Compare December 29, 2025 00:41
@jcscottiii jcscottiii force-pushed the jcscottiii/push-delivery-worker-pt3 branch from 7fcefcd to c800508 Compare December 29, 2025 00:42
@jcscottiii jcscottiii force-pushed the jcscottiii/push-delivery-worker-pt2 branch from ba99cca to de06790 Compare December 29, 2025 03:34
@jcscottiii jcscottiii force-pushed the jcscottiii/push-delivery-worker-pt3 branch from c800508 to 4a35852 Compare December 29, 2025 03:35
@jcscottiii jcscottiii requested a review from jrobbins December 29, 2025 16:13
@jcscottiii jcscottiii force-pushed the jcscottiii/push-delivery-worker-pt2 branch from de06790 to 264e821 Compare January 13, 2026 21:41
Base automatically changed from jcscottiii/push-delivery-worker-pt2 to main January 13, 2026 22:36
Updates the OpenAPI definition, internal storage types, and worker tests to
align with the V1 notification capabilities, specifically removing `DAILY`
frequency (as it's not in scope for user selection yet) and standardizing
on `IMMEDIATE`, `WEEKLY`, and `MONTHLY`.

Changes:
- **API**:
  - Removed `DAILY` frequency.
  - Added `IMMEDIATE`, `WEEKLY`, and `MONTHLY` frequencies.
  - Renamed and expanded subscription triggers (e.g. `feature_baseline_to_widely`).
- **Storage**:
  - Updated `SavedSearchSubscription` struct to use typed `SubscriptionTrigger`
    and `JobFrequency` enums.
  - Updated Spanner adapters to convert between backend and storage types.
- **Workers**:
  - Updated `EventProducer` logic to map `IMMEDIATE` jobs correctly.
  - Updated `Dispatcher` tests to use `IMMEDIATE` frequency instead of `DAILY`.
- **Backend**:
  - Updated validation logic and tests to match the new enums.
@jcscottiii jcscottiii force-pushed the jcscottiii/push-delivery-worker-pt3 branch from 4a35852 to f303c60 Compare January 13, 2026 23:29
@jcscottiii jcscottiii enabled auto-merge January 13, 2026 23:44
@jcscottiii jcscottiii added this pull request to the merge queue Jan 13, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 14, 2026
@jcscottiii jcscottiii added this pull request to the merge queue Jan 14, 2026
Merged via the queue into main with commit a87b173 Jan 14, 2026
8 checks passed
@jcscottiii jcscottiii deleted the jcscottiii/push-delivery-worker-pt3 branch January 14, 2026 00:45
@jstenback jstenback mentioned this pull request Jan 15, 2026
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