Measuring adoption
Evergreen has no telemetry and never will: a scan does not phone home, and nothing about how people use it is collected. Adoption is measured only from public data that anyone can look up, with one exception: the Search Console landing pages, which only the verified site owner can see and the maintainer enters by hand. Every other number can be reproduced, and none of it comes from users.
The north-star metric
Public repositories that run Evergreen in their own automation. That is the sum of three counts of distinct repositories, found through GitHub code search:
| Metric | What it counts |
|---|---|
githubActionRepositories |
Repositories whose .github/workflows use arminazimi/evergreen@… |
repeatActionRepositories |
Public repositories whose .github/workflows reference the Action in two consecutive monthly snapshots |
preCommitRepositories |
Repositories whose .pre-commit-config.yaml lists the Evergreen hook |
gitlabComponentRepositories |
Repositories whose .gitlab-ci.yml references Evergreen |
Repositories owned by the project (arminazimi/*) are left out, so dogfooding does not inflate the number. The three counts are reported separately and may overlap when one repository uses more than one integration; add them as an upper bound and compare them as a trend, not as a precise population.
Teams on Azure DevOps are outside these counts by construction: their pipelines live on dev.azure.com, which GitHub code search cannot see. The Azure Pipelines step template serves them the same scan-and-gate the other integrations provide; counting its use would need a metric of its own, not an extension of the code-search ones above.
Measuring repeat use
A repository that keeps Evergreen in CI for a month is a real user. Adding an Action once may be an experiment or a brief evaluation; continuing to run it across two consecutive calendar months reflects sustained adoption.
Method
Each snapshot records the distinct public repositories whose .github/workflows reference the Action (arminazimi/evergreen@…). The repeatActionRepositories metric compares the repositories observed in the current month against the union of all repositories observed in snapshots from the immediately preceding calendar month (YYYY-(MM-1)). Any repository present in both months counts as a repeat user.
Limits
- Code search indexing and ceilings: GitHub code search indexes repositories asynchronously and returns at most 1,000 files per query. Repositories in private code, unindexed forks, or past the 1,000-result threshold are omitted.
- Snapshot frequency and timing: Snapshots capture point-in-time state. A repository that introduces and removes the Action between snapshots is not captured.
- Calendar-month boundaries: A repository adopting the Action near the end of one month and keeping it for a few days into the next counts as two consecutive months despite brief duration; conversely, an installation spanning 30 days entirely within one calendar month requires a subsequent month’s snapshot to register as repeat use.
- Renames and migrations: A repository renamed between months is treated as a departure and a new arrival rather than repeat use.
- Configuration vs. execution: Public code search observes workflow configuration files, not private workflow run histories or execution success.
Supporting signals
| Metric | Source |
|---|---|
npmWeeklyDownloads |
npm’s public download API, last week, package evergreen-deprecation |
mcpRegistryListed |
Whether the official MCP Registry has an entry whose repository is arminazimi/evergreen |
skillsShInstalls |
The install count published on the skills.sh page of the Evergreen skill |
docsPageViews |
Pageviews of the documentation site in the 30 days ending on the snapshot date, from its public GoatCounter visitor counter |
searchConsoleLandingPages |
The top ten landing pages for the month, with clicks and impressions, entered by the maintainer from Search Console (see below) |
githubStars, githubForks |
The GitHub repository |
scorecardScore |
OpenSSF Scorecard API, overall score (0–10) for github.com/arminazimi/evergreen |
externalContributors, firstTimeContributors |
External (non-owner, non-bot) contributors with merged pull requests, and first-time contributors whose earliest merged pull request was merged in the snapshot’s calendar month, from merged PRs in the GitHub search API (max 1,000 results) |
npm downloads include CI installs and mirrors, so they overstate unique users; the skills.sh figure only counts installs through that registry. Snapshots also link to each external service’s latest report under serviceReports (openSsfScorecard, socket, depsDev, npmsIo, snykAdvisor, starHistory).
Docs traffic
GitHub Pages exposes no traffic data, so visits to the documentation site are counted by GoatCounter, which sets no cookies, stores no personal data, and publishes the count at a public URL. One-time setup:
- Create a site at goatcounter.com and note its code;
<site>below stands for that code. - Enable Allow using the visitor counter in the site’s settings. Without it the counter returns HTTP 403.
-
Add the analytics entry to
docs/_config.yml:slipway: analytics: goatcounter: https://<site>.goatcounter.com/count - Set
EVERGREEN_GOATCOUNTER_SITE=<site>when taking a snapshot.
The snapshot reads https://<site>.goatcounter.com/counter/TOTAL.json with start and end dates covering the 30 days ending on the snapshot date, the same public endpoint anyone can open. It records pageviews, not unique visitors. GoatCounter caches its counter response for up to four hours, so a snapshot taken during a spike can lag; visits from people who block the script or disable JavaScript are not counted, and bots are excluded by GoatCounter’s own filtering. Without EVERGREEN_GOATCOUNTER_SITE the metric is unavailable with that reason, never zero.
Search Console landing pages
Search Console shows which pages people land on from search, but its API needs an authorized Google account, so it is the one source the maintainer enters by hand. Setup is registering the site in Search Console and submitting the sitemap. Each month:
- Open Performance → Search results → Pages for the documentation site and set the date range to the calendar month.
- Export the table, or copy its top ten rows.
-
Save them as
metrics/search-console/<YYYY-MM>.json, one file per month:{ "pages": [ { "page": "https://arminazimi.github.io/evergreen/RULES.html", "clicks": 42, "impressions": 530 }, { "page": "https://arminazimi.github.io/evergreen/eol/", "clicks": 18, "impressions": 410 } ] } - Take the snapshot as usual. It records
searchConsoleLandingPageswith the rows sorted by clicks, then impressions, then page, and capped at the top ten.
The snapshot reads that file from disk and never calls Search Console, so it works offline and a missing or invalid file is unavailable with the reason, never zero. The monthly report lists the pages from the newest snapshot of the month that recorded them. Only the verified owner can see the data, so the file is committed as the maintainer’s entry rather than as a public source.
Taking a snapshot
A maintainer runs the tool, about once a week:
npm run metrics:adoption
It needs the network and a GitHub token in GITHUB_TOKEN or GH_TOKEN (code search is not available anonymously) and writes metrics/adoption/<date>.json. Set EVERGREEN_GOATCOUNTER_SITE to the documentation site’s GoatCounter code to include docs traffic. Commit the file. The tool is never part of a scan, of npm run check, or of pull-request CI.
Each metric is either ok with a value and its source, or unavailable with a reason; one failing source never stops the others. A detail of lower bound means GitHub returned fewer matching files than it reported (code search returns at most 1,000 results) or rate-limited the run, so the true number is at least the one shown. An unpublished package is unavailable rather than zero.
Reading the trend
Compare snapshots of the same metric over time. A change in code-search coverage on GitHub’s side can move a number without any change in adoption, so look for movement across several weeks, and never mix an unavailable week into a trend as if it were zero.
The monthly report’s channel table compares the newest snapshot of the month with the newest snapshot of the previous month and shows the difference for each channel; a dash means one side is unavailable, which is never treated as zero.
The first snapshot is metrics/adoption/2026-10-16.json. At that date the package was not yet published on npm, and no public repository outside the project used the Action.
Scanning this repository
The self-scan job in .github/workflows/ci.yml builds the code under test (not a published release), then runs evergreen scan . --baseline .evergreen-baseline.json. The job fails on any finding the baseline does not cover, so a new deprecated dependency, runtime, or Action blocks a merge like any other defect. The scan uses no network.
To accept a finding a maintainer has reviewed:
npm run build
node dist/src/cli.js baseline . --output .evergreen-baseline.json
Review the diff, then edit each new entry to add an owner, a reason, and an expires date (see GITHUB_ACTION.md for the baseline format), and commit the file in the same pull request as the change that introduced the finding. Prefer fixing the finding; every accepted one should have a dated reason. Findings the scan gets wrong are product feedback: open an issue labelled dogfood.
Triaging self-scan findings
Every finding the self-scan produces is product feedback, so each one is triaged before it is accepted or fixed:
| Outcome | Meaning | What to do |
|---|---|---|
| False positive | The finding is wrong | Open an issue labelled dogfood for the detector or rule, with the finding ID and the evidence; fix the product, not the baseline |
| Missing rule | The scan misses a lifecycle risk we know about | Open an issue labelled dogfood asking for the rule, with an authoritative source |
| Real debt | The finding is right | Fix it, or accept it in .evergreen-baseline.json with an owner, reason, and expiry, and open an issue labelled dogfood to track it |
The dogfood label is defined in .github/labels.yml. Apply it to every issue that came from the self-scan, whatever the outcome.
Monthly self-scan report
Once a month a maintainer adds reports/self-scan-YYYY-MM.md using the template in reports/README.md: the counts from a scan of main and the outcome of each finding triaged that month. The numbers are reproducible with node dist/src/cli.js scan . --json on the commit the report names. Like the adoption snapshot, the report is committed; nothing about it is collected from users.
Routing findings to owners
evergreen scan --by-owner groups a scan’s findings by the owners in the repository’s CODEOWNERS file (.github/CODEOWNERS, CODEOWNERS, or docs/CODEOWNERS, first one found), so each team sees only what it owns. It reads that file and nothing else; no network is used.
node dist/src/cli.js scan . --by-owner --json
The last matching rule wins, as on GitHub. A finding in a file with no owner, or covered by a rule that lists none, goes under unowned (Unowned in text output); when there is no CODEOWNERS file every finding is listed there. A file with several owners appears under each. The JSON (evergreen.owners.v1) lists owners largest first with ties broken by name, then unowned. Section headers ([Section]) in CODEOWNERS are ignored, and --by-owner supports text and JSON output only.
Rolling up many repositories
A platform team can merge saved scan reports from many repositories into one summary. Each repository writes its report with evergreen scan --json > reports/<repository>.json; the rollup then reads those files and nothing else, so it uses no network and does not touch the repositories.
node dist/src/cli.js rollup reports/*.json --owners owners.json --json
- Repository is the report file’s name without its extension, so
reports/payments.jsonispayments. - Product is the part of a finding’s rule ID before the first dot:
nodejs.runtime.eol-18counts undernodejs. - Owner comes from the optional
owners.json, a JSON object such as{ "payments": "platform-team" }. A repository it does not list is grouped underunowned.
The result (evergreen.rollup.v1) gives total findings and severities, then groups by product and by owner, largest first with ties broken by name. Each group lists its findings by severity and the repositories they come from. The same reports always produce the same output, whatever order the files are given in.
Feeding Renovate
When a repository already runs Renovate, Evergreen can print a preset of packageRules for the replacements and runtime pins it found in that repository. The command writes JSON to stdout only; it never edits renovate.json or any other file.
node dist/src/cli.js renovate-preset .
- Package replacements become rules with
matchDatasources,matchPackageNames, andreplacementNamewhen the finding’s replacement is itself a package name (for examplenode-sass→sass). Prose replacements are skipped. - Runtime pins become
allowedVersionsrules for Node.js (node-version/node) and Python (docker/python) so Renovate stays on a supported release line. - Validate the printed JSON with Renovate before merging it into config:
npx --yes --package renovate -- renovate-config-validator path/to/preset.json.
Feeding Dependabot
Repositories that run Dependabot instead get a dependabot.yml fragment printed to stdout. Each mapped ecosystem and directory with deprecated-package findings becomes a weekly updates entry whose groups.patterns list the deprecated packages, so their updates land in one grouped pull request per directory.
node dist/src/cli.js dependabot-config .
- The command prints YAML only; it never writes
.github/dependabot.ymlor any other file. Review the fragment before merging it into your existing config. - Package ecosystems map to their Dependabot
package-ecosystem(npm → npm, Python → pip, .NET → nuget, Go → gomod, and so on). On the JVM the finding’s build file decides:pom.xml→ maven, and Gradle build files (build.gradle,build.gradle.kts,gradle/libs.versions.toml) → gradle. Workflow findings always point at/, because Dependabot picks the workflows up there itself. Runtime findings such as Node.js and Python end of life have no Dependabot equivalent and produce no entry. - Grouped
patternscome from the deprecated packages’ PURL identities; ecosystems whose findings have no usable package name get a plain weekly entry without a group. When the scan finds nothing mappable, the fragment is comments only explaining that, because Dependabot requires at least oneupdatesentry and an emptyupdates: []is not accepted.
CircleCI
Evergreen ships the source of a CircleCI Orb, integrations/circleci/orb.yml. Its scan command and job mirror the GitHub Action: path, baseline, baseline-warn-days, on-expired, min-support-days, and fail-on-severity have the same meanings and defaults, the JSON report is kept as a job artifact even when the gate fails, and the version parameter pins the evergreen-deprecation npm package the job runs. Once the Orb is published to the CircleCI registry, add the job to .circleci/config.yml:
version: 2.1
orbs:
evergreen: arminazimi/evergreen@<version>
workflows:
evergreen:
jobs:
- evergreen/scan:
baseline: .evergreen-baseline.json
fail-on-severity: high
<version> is the Orb’s published version; the version input then defaults to the evergreen-deprecation release the Orb source pins, which tests/circleci-orb.test.ts checks. The job needs no special permissions: it reads the files CircleCI checks out, downloads the pinned package with npx, and makes no network requests during the scan itself. Publishing the Orb to the CircleCI registry is a maintainer step; the source and its validation test live in this repository.
Socket report for 0.7.1
Socket scans the published version, so the 0.7.1 release (2026-10-27) is the first one whose report reflects the tarball fix from #1350 and the trimmed WASM from #1352. Its score page shows Vulnerability 100, Quality 100, License 100, Maintenance 94, and Supply Chain Security 79. Socket lists no CVE alert and no deprecation alert for the package or its dependencies. Five package alerts remain, and each is expected:
| Alert | Category | Why it is expected |
|---|---|---|
| Unpopular package | Quality | Socket scores download counts, and a young package has few. The alert clears as adoption grows. |
| Debug access | Supply chain risk | The vendored tree-sitter runtime (src/usage/vendor/tree-sitter/tree-sitter.cjs) is an Emscripten build that uses dynamic code evaluation to load its WebAssembly. It parses source files and runs nothing from the scanned repository. |
| Environment variable access | Supply chain risk | The CLI reads proxy settings, EBB_DATA_URL, the state and usage-log locations, EDITOR, and GITHUB_TOKEN or GH_TOKEN for the opt-in commands that need them. A scan reads none of them to decide a finding. |
| Filesystem access | Supply chain risk | Evergreen’s job is reading a repository’s manifests, lockfiles, and workflows, and it writes only the files the user asks for, such as a report or --fix output. |
| URL strings | Supply chain risk | The package contains the lifecycle data and importer source URLs, and the default signed-data release URL used by evergreen data update. Scans use no network; only data update and the explicit importer commands do. |
Revisit this table at each release. A new alert, or any CVE or deprecation alert, is a defect to fix before the next release rather than an item to add here.
Service scores, reviewed 2026-10-27 (OpenSSF refreshed 2026-11-01)
The package metadata itself has nothing to fix: the repository, homepage, bug tracker, keywords, license, and engines field all resolve the same way on Snyk and deps.dev, so the low-effort items this review looked for were metadata defects and none were found. What each service currently says about evergreen-deprecation@0.7.1:
| Service | Score | Top reasons |
|---|---|---|
| OpenSSF Scorecard | 5.9 (run of 2026-11-01, published from main at 435a5c15 by scorecard.yml) |
The full per-check baseline is below. The accepted gaps are Branch-Protection and Code-Review in SECURITY.md. The 2026-10-27 score of 3.1 and the 2026-10-31 score of 4.8 are superseded. |
| deps.dev | no score | The project page for github.com/arminazimi/evergreen does not exist yet, so the UI shows no Scorecard or project metrics. The version record itself is complete: 0.7.1 resolves with no OSV advisories, license Apache-2.0, and SLSA provenance that verifies against the GitHub source. |
| npms.io | not indexed | The package does not appear in the index, and there is no metadata defect on our side: the index has not analyzed the modules it holds since the end of 2022 (its entry for zod was last analyzed 2022-12-13), so packages published in October 2026 do not get scores. Treat npms.io as unavailable until its crawler resumes. |
| Snyk Advisor | retired | Every Snyk Advisor URL now redirects to the security.snyk.io package page, which publishes no health score. That page reports no direct vulnerabilities in Snyk’s database for any of the eleven published versions. |
OpenSSF Scorecard baseline, 2026-11-01
Scorecard v5.6.0 (ossf/scorecard-action v2.5.0) measured main at 435a5c15 on 2026-11-01T22:30:17Z in a manual workflow run. The overall score is 5.9, up from 4.8 on 2026-10-31; the 2026-10-27 score of 3.1 is superseded. The API result is api.securityscorecards.dev/projects/github.com/arminazimi/evergreen. Every check is listed below. Max is the highest score a check can award, -1 is an error rather than a score, and Target is the next useful milestone. The maintainer @arminazimi owns every gap; checks already at 10 have no owner.
| Check | Score | Max | Target | Owner | Gap, evidence, and remediation |
|---|---|---|---|---|---|
| Binary-Artifacts | 5 | 10 | 5 (accepted) | @arminazimi | Five vendored tree-sitter .wasm files under src/usage/vendor/tree-sitter/ are generated binaries. Removing them needs a different parser or a reviewable build; the repository accepts the current score. |
| Branch-Protection | -1 (error) | 10 | 10 (admin token) | @arminazimi | The workflow token cannot read classic branch-protection rules. main uses the ci-ok status check and conversation resolution; admin-only fields need a PAT the workflow does not store. Accepted in SECURITY.md. |
| CI-Tests | 10 | 10 | 10 (maintain) | none | 30 of 30 merged pull requests were checked by CI (ci.yml); no gap. |
| CII-Best-Practices | 5 | 10 | 7 (Silver) | @arminazimi | The Passing badge is detected; Scorecard awards 5 for passing, 7 for silver, and 10 for gold. Silver is next; gold also needs more than one developer. |
| Code-Review | 0 | 10 | 10 (review gate) | @arminazimi | 0 of 29 changesets had an approval. Approving reviews are deliberately not a merge gate so agent and maintainer pull requests can merge after green checks; SECURITY.md records the policy. Closing the gap means requiring reviews. |
| Contributors | 3 | 10 | 3 (one organization) | @arminazimi | One organization (GoFarsi) contributes in the last 30 commits. A score of 10 needs contributors from three organizations with at least five commits each; no repository change closes this. |
| Dangerous-Workflow | 10 | 10 | 10 (maintain) | none | No dangerous workflow patterns were detected. This check scored 0 on 2026-10-31. |
| Dependency-Update-Tool | 10 | 10 | 10 (maintain) | none | Dependabot is configured in .github/dependabot.yml. |
| Fuzzing | 10 | 10 | 10 (maintain) | none | The fuzzing workflow is in .github/workflows/fuzz.yml. |
| License | 10 | 10 | 10 (maintain) | none | The Apache-2.0 license is detected. |
| Maintained | 0 | 10 | 10 (after 90 days) | @arminazimi | The first commit is from 2026-10-13, younger than the 90-day window. The score lifts automatically once it has a commit per week across 90 days; no action is needed. |
| Packaging | 10 | 10 | 10 (maintain) | none | The npm publish step is in .github/workflows/release.yml (npm-publish job) so Scorecard detects it; the recorded floor stays 10. |
| Pinned-Dependencies | 3 | 10 | 10 (all pinned) | @arminazimi | 108 of 108 GitHub-owned action references and 16 of 17 third-party references are SHA-pinned, but only 3 of 112 container images are. The production Dockerfile uses node:24-trixie-slim and gcr.io/distroless/nodejs24-debian13:nonroot by tag, example and test Dockerfiles use tags, and the SLSA generator in release.yml stays on @v2.1.0 by upstream design. This fell from 4 on 2026-10-31 as more Dockerfiles were counted. |
| SAST | 7 | 10 | 10 (all commits) | @arminazimi | CodeQL is configured in .github/workflows/codeql.yml, but 0 of 30 commits were checked because it runs weekly and on demand, not on every change. Running it on pull requests and pushes closes the gap. |
| Security-Policy | 10 | 10 | 10 (maintain) | none | SECURITY.md is detected. |
| Signed-Releases | 2 | 10 | 10 (all five) | @arminazimi | 1 of the last 4 releases had a signature in the 2026-11-01 run: v0.7.1 attached multiple.intoto.jsonl; v0.7.0, v0.6.1, and v0.6.0 did not. v0.7.3 shipped with keyless cosign signatures on 2026-11-02, and on 2026-11-06 the three older releases were backfilled the same way (see RELEASING.md, “Signing a release that predates the signing stage”). All five releases in the window now carry a recognized signature and a live Scorecard v5.6.0 run reports 8. The published API result still serves the 2026-11-01 run because runs since #2344 are rejected by the Scorecard webapp before publishing; #2475 tracks that fix. The next API run after it lands publishes 8, and 10 once every release in the window also has SLSA provenance. |
| Token-Permissions | 10 | 10 | 10 (maintain) | none | Workflows use read-only top-level permissions and grant write only where a job needs it; scorecard.yml is an example. |
| Vulnerabilities | 0 | 10 | 10 (no open OSV) | @arminazimi | 89 open OSV findings (71 unique advisory IDs), up from 58 on 2026-10-31. npm audit --omit=dev reports zero advisories for the published runtime dependencies at the same commit, so the gap is not in the shipped runtime set. Review the IDs in the API result; update, remove, or record a justified ignore in osv-scanner.toml. Details: osv.dev. |
Three check scores changed since the 2026-10-31 run: CII-Best-Practices 0 to 5 (passing badge), Dangerous-Workflow 0 to 10 (clean workflows), and Pinned-Dependencies 4 to 3 (more Dockerfiles counted). The other checks kept their scores, but Vulnerabilities still scores 0 with 89 findings rather than 58. Revisit this baseline when the weekly Scorecard run publishes a newer result; scan findings never use these services, so none of this affects a scan. It is adoption and trust context only.