Skip to content

chore: land two self-review nits that missed the 0.51.0 cut - #123

Merged
harper-joseph merged 2 commits into
mainfrom
chore/self-review-nits
Aug 21, 2026
Merged

harper-joseph merged 2 commits into
mainfrom
chore/self-review-nits

Conversation

@harper-joseph

Copy link
Copy Markdown
Contributor

Both were findings from my own review of #122, fixed and tested there — and then not committed before the merge. Neither is functional, so no release is being re-cut; they will ride the next one.

  • isIndex was declared after sitemap.isIndex had already been used a few lines above. Not a TDZ error — the earlier line reads the property, not the binding — just two ways of asking the same question inside one function.
  • page_age_negative sat in the metric-coverage test's NOT_CHARTED list while traffic.js does read it. A waiver list is only worth having if every entry in it is true, or it stops being read as a set of decisions and becomes a place things go to be forgotten.

Plugin 776 and console 136 green, lint + format clean.

harper-joseph and others added 2 commits August 21, 2026 17:25
Both were found in my own review of #122 and both were fixed, tested — and then not
committed before the merge. Neither is functional, which is why no release is being
re-cut for them:

- `isIndex` was declared after `sitemap.isIndex` had already been used a few lines above.
  Not a temporal-dead-zone error, since the earlier line reads the property rather than
  the binding; just two ways of asking the same question in one function.
- `page_age_negative` sat in the metric-coverage test's NOT_CHARTED list while traffic.js
  does read it. A waiver list is only worth having if every entry in it is true, or it
  stops being read as a set of decisions.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@harper-joseph
harper-joseph merged commit 83f7b2a into main Aug 21, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes the 'prerender_ops.page_age_negative' metric from the NOT_CHARTED map in the admin assets test. It also refactors PrerenderAdmin.js by hoisting the isIndex variable declaration so that it can be reused earlier in the method, eliminating a duplicate declaration. There are no review comments, and I have no additional feedback to provide.

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.

1 participant