• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

decentraland / squid-management-server / 24799175807
54%
main: 48%

Build:
Build:
LAST BUILD BRANCH: chore/update-node-to-24
DEFAULT BRANCH: main
Ran 22 Apr 2026 07:48PM UTC
Jobs 1
Files 13
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Apr 2026 07:48PM UTC coverage: 51.332% (+5.8%) from 45.54%
24799175807

Pull #75

github

LautaroPetaccio
feat: add dry-run-purge script for manual validation

Add scripts/dry-run-purge.ts so operators can see exactly what the
daily schema purge would do against a live environment without
executing anything destructive. Run with:

    SCHEMA_PURGE_MAX_AGE_DAYS=90 npm run dry-run:purge

The script boots only the components the purge needs (config, logs,
tracer, metrics, traced fetch, both databases, and the subsquid
component), reads SCHEMA_PURGE_MAX_AGE_DAYS from the same env the
server uses, and calls purgeOldSchemas({ olderThanMs, dryRun: true }).
It prints two sections: schemas that would be deleted and schemas
that are old enough but protected (with reason). Refuses to run if
SCHEMA_PURGE_MAX_AGE_DAYS is missing or non-positive — operators
have to consciously pick a threshold.

- tsconfig.json includes the new scripts/ directory.
- package.json adds dry-run:purge (builds then runs dist/scripts/
  dry-run-purge.js) and extends check:code / check:prettier / lint
  to cover scripts/ alongside src/ and test/.

No runtime behaviour change in the server; the daily job is
unaffected.
Pull Request #75: Purge old, unused squid schemas on a daily schedule

72 of 160 branches covered (45.0%)

Branch coverage included in aggregate %.

66 of 86 new or added lines in 3 files covered. (76.74%)

1 existing line in 1 file now uncovered.

217 of 403 relevant lines covered (53.85%)

5.07 hits per line

Uncovered Changes

Lines Coverage ∆ File
18
0.0
0.0% src/components.ts
2
74.79
8.12% src/ports/squids/component.ts

Coverage Regressions

Lines Coverage ∆ File
1
0.0
0.0% src/components.ts
Jobs
ID Job ID Ran Files Coverage
1 24799175807.1 22 Apr 2026 07:48PM UTC 13
51.33
GitHub Action Run
Source Files on build 24799175807
  • Tree
  • List 13
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Pull Request #75
  • PR Base - chore/dependency-overhaul (#24787181135)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc