From: sehrope (@sehrope) <noreply+sehrope@github.com>
To: pgjdbc/pgjdbc <noreply+pgjdbc-pgjdbc@github.com>
Subject: Re: [pgjdbc/pgjdbc] PR #4088: docs: structure-only rework (file moves, Hugo skeleton, release pipeline)
Date: Fri, 29 May 2026 14:37:26 +0000
Message-ID: <gh-pgjdbc-pgjdbc-4088-c4576370206@github.com> (raw)
In-Reply-To: <gh-pgjdbc-pgjdbc-4088@github.com>
References: <gh-pgjdbc-pgjdbc-4088@github.com>
I don't think this should be merged and think it's unnecessarily complicated. I also don't think it's actually been reviewed.
For example, do you realize this now adds an external dependency to the live site to fetch CVE data from https://api.first.org/data/v1/epss? If it fails to load it silently hides all of that. It's a static set of data and we arguably want control over what and how things are listed. So why would we fetch it on the fly from a third party?
Or that we're also adding a separate dep on a JS lib hosted on CloudFlare's CDN: https://cdnjs.cloudflare.com/ajax/libs/lunr.js/2.3.9/lunr.min.js (Which to its credit does have an integrity check for the resource, but why is it not inlined? The site should be self contained)
Are the third party libs and external references intentional?
And I doubt anybody is going to care about this EPSS or it's completely arbitrary thresholding system:
```
// EPSS score is a probability (0..1); we render it as a percentage so
// distinctions in the typical "very low" range (0.001 vs 0.005) don't
// both collapse to "0.00". 1 decimal for sub-10% values, whole-number
// thereafter; values below 0.1% display as "<0.1%" since further
// precision is meaningless here.
//
// Percentile (also 0..1) is the rank of this CVE among all scored CVEs
// — a 65th-percentile CVE has higher exploitation likelihood than 65%
// of all CVEs in the corpus. Rendered as a whole-number percentage.
//
// The static `title=` attribute set in the Hugo partial explains the
// metric to hover users; we don't overwrite it here.
function formatEpssPercent(score) {
const pct = score * 100;
if (pct < 0.1) return '<0.1%';
if (pct < 10) return pct.toFixed(1) + '%';
return Math.round(pct) + '%';
}
```
FYI the referenced overlay attribute has:
> EPSS = probability this CVE will be exploited in the next 30 days (live data from FIRST.org). Percentile is the rank among all scored CVEs; ≥88th is the standard prioritisation threshold.