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

supabase / supavisor / 26505402060
76%

Build:
DEFAULT BRANCH: main
Ran 27 May 2026 10:28AM UTC
Jobs 2
Files 126
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

27 May 2026 10:21AM UTC coverage: 76.366% (-0.2%) from 76.528%
26505402060

push

github

web-flow
chore: report current, permanent, base and previous versions (#983)

Based on the `:release_handler.which_releases()`.

Versions:
- **current** — version currently running (`Application.spec(:supavisor,
:vsn)`)
- **permanent** — version that boots on next restart
(`:release_handler.which_releases/0` status `:permanent`)
- **base** — oldest `:old` release (the original installation, i.e.
`upgrade_from`)
- **previous** — newest `:old` release (the version just before the last
hot upgrade)

`base` and `previous` are `""` when no upgrade has been applied.

## Tag semantics

```
┌───────────────────────────────────────┬─────────┬───────────┬───────┬──────────┐
│               Scenario                │ current │ permanent │ base  │ previous │
├───────────────────────────────────────┼─────────┼───────────┼───────┼──────────┤
│ Steady state (no upgrades)            │ 2.9.4   │ 2.9.4     │ ""    │ ""       │
├───────────────────────────────────────┼─────────┼───────────┼───────┼──────────┤
│ After 1 upgrade (2.9.3→2.9.4)         │ 2.9.4   │ 2.9.4     │ 2.9.3 │ 2.9.3    │
├───────────────────────────────────────┼─────────┼───────────┼───────┼──────────┤
│ After 2 upgrades (2.9.2→2.9.3→2.9.4)  │ 2.9.4   │ 2.9.4     │ 2.9.2 │ 2.9.3    │
├───────────────────────────────────────┼─────────┼───────────┼───────┼──────────┤
│ During upgrade, before make_permanent │ 2.9.4   │ 2.9.3     │ 2.9.2 │ 2.9.3    │
└───────────────────────────────────────┴─────────┴───────────┴───────┴──────────┘
```

## Example output

Right after `install_release` (before `make_permanent`): `permanent`
still points to the previous version, confirming the upgrade is in
progress:

```
supavisor_prom_ex_application_version_info{...,base="",current="2.9.5",permanent="2.9.4",previous=""} 1
```

After `make_permanent`: both `current` and `permanent` are the new
version, `previous` records what was just replaced:

```
supavisor_prom_ex_application_version_info{...,base="2.9.4",current="2.9.5",permane... (continued)

10 of 25 new or added lines in 2 files covered. (40.0%)

2 existing lines in 2 files now uncovered.

2543 of 3330 relevant lines covered (76.37%)

55409.56 hits per line

Uncovered Changes

Lines Coverage ∆ File
13
0.0
0.0% lib/supavisor/hot_upgrade.ex
2
90.48
-9.52% lib/supavisor/monitoring/cluster.ex

Coverage Regressions

Lines Coverage ∆ File
1
75.82
-1.1% lib/supavisor/peep_storage.ex
1
88.54
-1.04% lib/supavisor/monitoring/prom_ex.ex
Jobs
ID Job ID Ran Files Coverage
1 run-integration - 26505402060.1 27 May 2026 10:28AM UTC 126
41.26
GitHub Action Run
2 run-tests - 26505402060.2 27 May 2026 10:29AM UTC 126
74.92
GitHub Action Run
Source Files on build 26505402060
  • Tree
  • List 126
  • Changed 9
  • Source Changed 2
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26505402060
  • f90b56d8 on github
  • Prev Build on main (#26449882287)
  • Next Build on main (#26757388979)
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