Skip to content

fix(aggregator): summarizeDns ages renewals by the Chicago day (#1684) - #3060

Merged
dezren39 merged 1 commit into
mainfrom
queue/4242-1684-dns-chicago-day
Oct 31, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/4242-1684-dns-chicago-day

Conversation

@dezren39

@dezren39 dezren39 commented Oct 31, 2026 •

Copy link
Copy Markdown
Member

Fixes #1684 (queue task 4242, per triage task 1902).

summarizeDns derived today and its 45-day cutoff from toISOString() — the UTC calendar day — so every evening from 19:00 CDT the /dns Next-renewal card skipped the domain renewing that Chicago day and the 45-day spend card dropped it.

Change (pm-stack/aggregator/src/dns.ts): today = chicagoYmd(now), cutoff = addDaysYmd(today, soonDays) — the house calendar helpers from derive.ts every other aggregator surface already uses.

Tests (bun test test/slice3.test.ts on laptop): 21 pass, 1 fail — the failure is the pre-existing manifest route-uniqueness test owned by PR #2604 / #2580 (verified identical on the clean tree: 19 pass / same 1 fail). New regression tests:

  • evening-CDT: at 20:30 CDT (UTC already next day) a domain renewing the Chicago day is nextRenewal and inside renewingSoon.
  • DST boundary: the evening before spring-forward, Chicago today and the calendar-counted 45-day cutoff (2026-04-21) hold.

Out of scope per the packet: #1628 date validation, derive.ts freshness, pages.ts manifest failure.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

@dezren39
dezren39 requested a review from a team as a code owner October 31, 2026 13:13
@coderabbitai

coderabbitai Bot commented Oct 31, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 29 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4eeb978b-14af-4a11-8d21-d190d3a5a7b3
Commits

Reviewing files that changed from the base of the PR and between 9959756 and 3921e93.

Files selected for processing: 2
  • pm-stack/aggregator/src/dns.ts
  • pm-stack/aggregator/test/slice3.test.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-31T13:45:07.792994Z 3921e93 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@dezren39

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Already looking forward to the next diff.

Reviewed commit: 3921e93ce6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@dezren39
dezren39 merged commit d4279a4 into main Oct 31, 2026
1 check passed
@dezren39
dezren39 deleted the queue/4242-1684-dns-chicago-day branch October 31, 2026 13:50
@dezren39
dezren39 restored the queue/4242-1684-dns-chicago-day branch November 1, 2026 09:10
@dezren39
dezren39 deleted the queue/4242-1684-dns-chicago-day branch November 1, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant