Repository navigation
Add OpenSSF Scorecard analysis and live README badge - #70
Conversation
PR reader API performanceResult: INCONCLUSIVE 8 inconclusive. Zero request failures across all six runs. Base Three independent runs per revision, each on a fresh GitHub-hosted ARM64 runner. 16 users, 60 seconds/run, 1,000 synthetic articles, cache off, five PgBouncer slots. Latency comparisonAll latency values are in milliseconds; lower is better. Values are medians of three runs.
Additional latency and throughput metricsEach cell shows base → PR. Latencies are in milliseconds.
Individual runs
How to interpret this reportRegressed / Improved: a p95 regression needs >20% and >20 ms increase in the medians and at least two head samples versus the base median. Improvements use the inverse threshold. Within threshold means the change did not meet both thresholds. Inconclusive: a within-revision p95 range >35% of its median and >20 ms is too noisy for a confident latency verdict. Inconclusive latency comparisons are non-blocking: the check passes without claiming an improvement. Confirmed regressions and test/report errors fail the PR gate. Throughput is descriptive: paced users do not measure maximum capacity. This uncached public API test does not establish production health, browser performance or worker capacity. Separate runners can differ in hardware or host load; repetitions and noise checks reduce but cannot eliminate that uncertainty. Full HTML/CSV reports and logs · attempt 4 |
What changes and why?
DevFeed has no published OpenSSF Scorecard result. Add an independent supply-chain analysis workflow and a live README badge that links to the detailed results.
The workflow runs on pushes to
master, weekly on Mondays at 18:19 UTC, and branch-protection changes. It uses GitHub-hosted Ubuntu 24.04, skips forks, limits write permissions to the analysis job, disables persisted checkout credentials, and pins all actions to verified commit SHAs. Scorecard v2.4.4 publishes through OIDC, retains SARIF artifacts for five days, and uploads findings to code scanning under its own category. The checkout and CodeQL pins match the repository's existing workflows.The repository is public and uses GitHub repository rulesets, which Scorecard can read with the default
GITHUB_TOKEN; no extra PAT or secret is required. The setup follows the official installation and publishing guidance.Validation
actionlintv1.7.12 passes for the new workflow; the downloaded validator's official release checksum was verified.invalid repo path, pending the first published repository result.git diff --checkpass.Rollout notes
Merging starts the initial scan through the
masterpush trigger. The badge will show the actual published score once that scan succeeds. This PR is independent of the authentication logging fix in #69.Ready for review