Skip to content

fix: assorted bug fixes and comment corrections#211

Merged
MarshallOfSound merged 4 commits intomainfrom
fix/misc-bugs-and-comments
Mar 2, 2026
Merged

fix: assorted bug fixes and comment corrections#211
MarshallOfSound merged 4 commits intomainfrom
fix/misc-bugs-and-comments

Conversation

@MarshallOfSound
Copy link
Copy Markdown
Member

Summary

  • Fix October history links: Zero-padding logic checked monthIndex < 10 but output monthIndex + 1, so October (index 9) produced 010 instead of 10, breaking all October calendar links
  • Guard getLatestReleases against empty data: Replace non-null assertions with optional chaining and add an early return when no nightly/stable release exists, preventing server crashes if the upstream API returns empty
  • Guard backport comment parsing: Replace brittle split('#')[1] with a regex match and add a safe fallback when no PR number can be extracted, preventing NaN from being passed to the GitHub API
  • Fix misleading cache TTL comments: Comments said "10 seconds" when values were 10 minutes, staleTtl comments were inaccurate, and fix "mineutes" typo

🤖 Generated with Claude Code

@MarshallOfSound MarshallOfSound requested review from a team as code owners March 1, 2026 09:54
@MarshallOfSound MarshallOfSound temporarily deployed to release-stat-fix-misc-b-zuiynh March 1, 2026 09:55 Inactive
MarshallOfSound and others added 4 commits March 2, 2026 08:05
The zero-padding logic checked `monthIndex < 10` but outputs
`monthIndex + 1`, so October (monthIndex=9) produced `/history/2025-010-15`
instead of `/history/2025-10-15`, resulting in broken links.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace non-null assertions with optional chaining and add an early
return when no nightly or stable release is found. Prevents a server
crash if the upstream releases API returns an empty array.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace brittle split('#')[1] with a regex match and add a guard
that returns a safe default when no PR number can be extracted,
preventing NaN from being passed to the GitHub API.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Comments said "10 seconds" but actual values are 10 minutes.
Also fix staleTtl comments that said "At 9 minutes" when the
staleTtl is only 1 second, and fix "mineutes" typo.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@codebytere codebytere force-pushed the fix/misc-bugs-and-comments branch from 93f82e6 to 997096d Compare March 2, 2026 07:05
@codebytere codebytere temporarily deployed to release-stat-fix-misc-b-zuiynh March 2, 2026 07:05 Inactive
@MarshallOfSound MarshallOfSound merged commit abe0ac9 into main Mar 2, 2026
4 checks passed
@MarshallOfSound MarshallOfSound deleted the fix/misc-bugs-and-comments branch March 2, 2026 09:34
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