René's URL Explorer Experiment


Title: aggregator(dns): parseDnsRegister accepts impossible renewal dates — 2026-02-30 and 2026-13-01 enter the register, count toward the annual total, and string-sort into wrong positions · Issue #2199 · developing-today/code · GitHub

Open Graph Title: aggregator(dns): parseDnsRegister accepts impossible renewal dates — 2026-02-30 and 2026-13-01 enter the register, count toward the annual total, and string-sort into wrong positions · Issue #2199 · developing-today/code

X Title: aggregator(dns): parseDnsRegister accepts impossible renewal dates — 2026-02-30 and 2026-13-01 enter the register, count toward the annual total, and string-sort into wrong positions · Issue #2199 · developing-today/code

Description: aggregator(dns): parseDnsRegister accepts impossible renewal dates — 2026-02-30 and 2026-13-01 enter the register, count toward the annual total, and string-sort into wrong positions Summary parseDnsRegister in pm-stack/aggregator/src/dn...

Open Graph Description: aggregator(dns): parseDnsRegister accepts impossible renewal dates — 2026-02-30 and 2026-13-01 enter the register, count toward the annual total, and string-sort into wrong positions Summary parseD...

X Description: aggregator(dns): parseDnsRegister accepts impossible renewal dates — 2026-02-30 and 2026-13-01 enter the register, count toward the annual total, and string-sort into wrong positions Summary parseD...

Opengraph URL: https://github.com/developing-today/code/issues/2199

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"aggregator(dns): parseDnsRegister accepts impossible renewal dates — 2026-02-30 and 2026-13-01 enter the register, count toward the annual total, and string-sort into wrong positions","articleBody":"# aggregator(dns): parseDnsRegister accepts impossible renewal dates — 2026-02-30 and 2026-13-01 enter the register, count toward the annual total, and string-sort into wrong positions\n\n## Summary\n\n`parseDnsRegister` in `pm-stack/aggregator/src/dns.ts` validates a register row's renewal cell with a shape-only regex — `/^\\d{4}-\\d{2}-\\d{2}$/` (dns.ts:51) — so impossible calendar dates pass as real renewals. Every downstream consumer treats the string as a date: `parseDnsRegister` sorts entries by `renewal.localeCompare` (dns.ts:66), `dnsSectionFromRegister` sums every entry's price into `totalAnnualListUsd` (dns.ts:73), and `summarizeDns` picks `nextRenewal` and the 45-day `renewingSoon` spend horizon by string comparison against today (dns.ts:104-110). A typo'd renewal in the hand-produced #902 register therefore lands in the fleet feed as fact: a `2026-13-01` domain can never appear in `renewingSoon` (month 13 sorts after every real date) yet its price still counts toward the annual total, and a `2026-02-30` sorts ahead of real February/March renewals and becomes `nextRenewal` whenever \"today\" precedes it.\n\n## Evidence (verified this run, main 318ca58a)\n\nProbe: real `parseDnsRegister` / `dnsSectionFromRegister` / `summarizeDns` under Bun, register with three rows (renewals `2026-11-01` @ $10, `2026-02-30` @ $20, `2026-13-01` @ $30):\n\n- Parsed renewals: `b.example=2026-02-30`, `a.example=2026-11-01`, `c.example=2026-13-01` — both impossible dates accepted, sorted by string (`2026-02-30` first, `2026-13-01` last).\n- `totalAnnualListUsd: 60` — the $20 and $30 prices of the impossible rows are counted.\n- With `now = 2026-01-15` the `2026-02-30` row would be `nextRenewal` and inside the 45-day horizon; the `2026-13-01` row is in no horizon, ever.\n\nFile:line (main 318ca58a):\n\n- `pm-stack/aggregator/src/dns.ts:51` — the shape-only renewal check: `if (!domain || !/^\\d{4}-\\d{2}-\\d{2}$/.test(renewal)) continue;`\n- `pm-stack/aggregator/src/dns.ts:66` — renewal sort by `localeCompare`.\n- `pm-stack/aggregator/src/dns.ts:71-75` — `dnsSectionFromRegister` totals all parsed entries' prices.\n- `pm-stack/aggregator/src/dns.ts:99-112` — `summarizeDns` string-comparison `nextRenewal` / `renewingSoon`.\n\n## Why it matters\n\nThe register is a Markdown file produced by the #902 pipeline and edited by hand; a single typo'd renewal (`2026-13-01`, `2026-02-30`) currently flows into the collector's feed section with no rejection and no log line, corrupting the two things the section exists for — what renews next (and within the 45-day spend horizon) and what the estate costs per year. The parser is documented as the fallback of record for the register (\"if #902's job ever emits register.json, this parser is the fallback\"), so its validation bar is the system's bar.\n\n## Acceptance criteria\n\n- [ ] Triage pins the rule for a non-calendar renewal date (expected: the row is refused at parse, like a row with too few cells or a missing domain — the register keeps only real dates; or, if refused rows must stay visible, they are excluded from the sort/total/horizon and marked — triage decides, silence is the one ruled-out option).\n- [ ] Regression tests in `pm-stack/aggregator/test/slice3.test.ts` (the dns parser's test home): rows with `2026-02-30`, `2026-13-01`, `2026-00-10`, `2026-04-31` do not enter the entries/total; `2024-02-29` (leap year) still parses; existing register fixtures unchanged.\n- [ ] No behavior change for real dates: sort order, `totalAnnualListUsd`, `nextRenewal`, and `renewingSoon` identical on the existing fixtures.\n\nFiled by new-issue-creator-code-b (lane B), run 2026-10-29 03:50 CDT. Dedup: #1684 (open) is summarizeDns's UTC-day aging — a different bug in the consumer, not parse validity; #2194 is the same shape-only pattern in charges-collect (different parser, input, and consumers); #902 is the register pipeline epic.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-29T09:04:43Z","url":"https://github.com/developing-today/code/issues/2199"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:c68f6261-fdba-9c6a-a14a-28992e07e605
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCC14:11DCCF:BA69BB:F270A8:6B063F1C
html-safe-nonce7ed7522dcc68d161daafa8d2214c7ff005a070128b1598544decc8f677c70741
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQzE0OjExRENDRjpCQTY5QkI6RjI3MEE4OjZCMDYzRjFDIiwidmlzaXRvcl9pZCI6IjY3NzE4NTg4Njk5MjYxMTcxNDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacaa21c9efa4f9f65200b2da96578a1f9fba2064c02612c849adf5fe0bb225fd38
hovercard-subject-tagissue:6096410210
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/2199/issue_layout
twitter:imagehttps://opengraph.githubassets.com/762058d9fc194ef7dfaa6d730e314f11503cfa05be893749ea4f2520b9bf8332/developing-today/code/issues/2199
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/762058d9fc194ef7dfaa6d730e314f11503cfa05be893749ea4f2520b9bf8332/developing-today/code/issues/2199
og:image:altaggregator(dns): parseDnsRegister accepts impossible renewal dates — 2026-02-30 and 2026-13-01 enter the register, count toward the annual total, and string-sort into wrong positions Summary parseD...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedezren39
hostnamegithub.com
expected-hostnamegithub.com
Nonedcf72c457c022486d23c3cbb0dd21aba537a87611ca9ddabd1799cf2eaa9b297
turbo-cache-controlno-preview
go-importgithub.com/developing-today/code git https://github.com/developing-today/code.git
octolytics-dimension-user_id26439447
octolytics-dimension-user_logindeveloping-today
octolytics-dimension-repository_id627308783
octolytics-dimension-repository_nwodeveloping-today/code
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id627308783
octolytics-dimension-repository_network_root_nwodeveloping-today/code
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release0f38f5735226749ec5e08a8649dce4cb2613d9ad
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/developing-today/code/issues/2199#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F2199
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdeveloping-today%2Fcode%2Fissues%2F2199
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=developing-today%2Fcode
Reloadhttps://github.com/developing-today/code/issues/2199
Reloadhttps://github.com/developing-today/code/issues/2199
Reloadhttps://github.com/developing-today/code/issues/2199
developing-todayhttps://github.com/developing-today
codehttps://github.com/developing-today/code
Codehttps://github.com/developing-today/code
Issues1.1k (1.1k)https://github.com/developing-today/code/issues
Pull requests168 (168)https://github.com/developing-today/code/pulls
Discussionshttps://github.com/developing-today/code/discussions
Actionshttps://github.com/developing-today/code/actions
Projectshttps://github.com/developing-today/code/projects
Wikihttps://github.com/developing-today/code/wiki
Security and qualityhttps://github.com/developing-today/code/security
Insightshttps://github.com/developing-today/code/insights
https://github.com/developing-today/code
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/2199
New issuehttps://github.com/login?return_to=https://github.com/developing-today/code/issues/2199
#4835https://github.com/developing-today/code/pull/4835
aggregator(dns): parseDnsRegister accepts impossible renewal dates — 2026-02-30 and 2026-13-01 enter the register, count toward the annual total, and string-sort into wrong positionshttps://github.com/developing-today/code/issues/2199#top
#4835https://github.com/developing-today/code/pull/4835
https://github.com/dezren39
app/aggregatorhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Faggregator%22
app/pm-stackhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fpm-stack%22
effort/xshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22effort%2Fxs%22
kind/bughttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/lowhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Flow%22
source/creatorhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fcreator%22
task/small-fixhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Fsmall-fix%22
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 29, 2026https://github.com/developing-today/code/issues/2199#issue-6096410210
#902https://github.com/developing-today/code/issues/902
318ca58https://github.com/developing-today/code/commit/318ca58a17f944d47759a75c094e4ab090e83f47
318ca58https://github.com/developing-today/code/commit/318ca58a17f944d47759a75c094e4ab090e83f47
#902https://github.com/developing-today/code/issues/902
#902https://github.com/developing-today/code/issues/902
#1684https://github.com/developing-today/code/issues/1684
#2194https://github.com/developing-today/code/issues/2194
#902https://github.com/developing-today/code/issues/902
Nexthttps://github.com/developing-today/code/issues/2199?timeline_page=1
dezren39https://github.com/dezren39
kind/bughttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
task/triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Ftriage%22
status/needs-triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fneeds-triage%22
source/creatorhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fcreator%22
priority/lowhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Flow%22
on Oct 29, 2026https://github.com/developing-today/code/issues/2199#event-34566030833
https://github.com/apps/developing-today
developing-todayhttps://github.com/apps/developing-today
on Oct 29, 2026https://github.com/developing-today/code/issues/2199#issuecomment-6492493197
developing.todayhttps://kaneo.security.cab
CODE-1085https://kaneo.security.cab/dashboard/workspace/6oQgIkST0YGrCcxrnhbHPOUCfgdD3cqE/project/pfcq432h349r20up18gttfv4/task/yjiqml01q6x9aiblcstmeja4
dezren39https://github.com/dezren39
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
effort/xshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22effort%2Fxs%22
app/aggregatorhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Faggregator%22
on Oct 29, 2026https://github.com/developing-today/code/issues/2199#event-34566032370
https://github.com/dezren39
dezren39https://github.com/dezren39
on Oct 29, 2026https://github.com/developing-today/code/issues/2199#issuecomment-6492498099
318ca58https://github.com/developing-today/code/commit/318ca58a17f944d47759a75c094e4ab090e83f47
github-actionshttps://github.com/apps/github-actions
dezren39https://github.com/dezren39
on Oct 29, 2026https://github.com/developing-today/code/issues/2199#event-34568249383
dezren39https://github.com/dezren39
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
status/needs-triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fneeds-triage%22
queue/queuedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fqueued%22
on Nov 1, 2026https://github.com/developing-today/code/issues/2199#event-34819749983
dezren39https://github.com/dezren39
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
on Nov 3, 2026https://github.com/developing-today/code/issues/2199#event-35004224537
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 3, 2026https://github.com/developing-today/code/issues/2199#issuecomment-6600461747
#2199https://github.com/developing-today/code/issues/2199
#2199https://github.com/developing-today/code/issues/2199
dezren39https://github.com/dezren39
task/small-fixhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Fsmall-fix%22
queue/needs-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fneeds-review%22
status/needs-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fneeds-review%22
task/triagehttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Ftriage%22
status/in-progresshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fin-progress%22
queue/claimedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fclaimed%22
on Nov 3, 2026https://github.com/developing-today/code/issues/2199#event-35004242471
dezren39https://github.com/dezren39
on Nov 3, 2026https://github.com/developing-today/code/issues/2199#event-35004824717
fix(aggregator): reject impossible DNS register renewal dates (#2199) (…https://github.com/developing-today/code/commit/1e3763faf4e3997160814a22f2e268184b1d128c
#2199https://github.com/developing-today/code/issues/2199
…https://github.com/developing-today/code/pull/4835
1e3763fhttps://github.com/developing-today/code/commit/1e3763faf4e3997160814a22f2e268184b1d128c
dezren39https://github.com/dezren39
completedhttps://github.com/developing-today/code/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#4835https://github.com/developing-today/code/pull/4835
on Nov 3, 2026https://github.com/developing-today/code/issues/2199#event-35004826526
https://github.com/dezren39
dezren39https://github.com/dezren39
on Nov 3, 2026https://github.com/developing-today/code/issues/2199#issuecomment-6600605823
aggregator(dns): parseDnsRegister accepts impossible renewal dates — 2026-02-30 and 2026-13-01 enter the register, count toward the annual total, and string-sort into wrong positions #2199https://github.com/developing-today/code/issues/2199
fix(aggregator): reject impossible DNS register renewal dates (#2199) #4835https://github.com/developing-today/code/pull/4835
1e3763fhttps://github.com/developing-today/code/commit/1e3763faf4e3997160814a22f2e268184b1d128c
aggregator(dns): parseDnsRegister accepts impossible renewal dates — 2026-02-30 and 2026-13-01 enter the register, count toward the annual total, and string-sort into wrong positions #2199https://github.com/developing-today/code/issues/2199
fix(aggregator): reject impossible DNS register renewal dates (#2199) #4835https://github.com/developing-today/code/pull/4835
dezren39https://github.com/dezren39
status/needs-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22status%2Fneeds-review%22
queue/needs-reviewhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22queue%2Fneeds-review%22
work/assignedhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22work%2Fassigned%22
on Nov 3, 2026https://github.com/developing-today/code/issues/2199#event-35004882666
Sign up for freehttps://github.com/signup?return_to=https://github.com/developing-today/code/issues/2199
Sign in to commenthttps://github.com/login?return_to=https://github.com/developing-today/code/issues/2199
dezren39https://github.com/dezren39
app/aggregatorhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Faggregator%22
app/pm-stackhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22app%2Fpm-stack%22
effort/xshttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22effort%2Fxs%22
kind/bughttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22kind%2Fbug%22
priority/lowhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22priority%2Flow%22
source/creatorhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22source%2Fcreator%22
task/small-fixhttps://github.com/developing-today/code/issues?q=state%3Aopen%20label%3A%22task%2Fsmall-fix%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.