Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

backup.db.test restore older database schema fails in local pregate DB suite

Closed
#12,306 1 comment 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@atomantic is already working on this.

Since Oct 19, 2026.

Assessment

This issue has not been assessed yet.

Description

bug in-progress

Observed during npm run pregate on a branch that touches only videoGen files (PR #12305): the serial DB suite (npm run test:db:ci --prefix server) failed at server/services/backup.db.test.js > "restore older database schema" > "restores a real pre-FK dump, discards newer rows, and runs schema upgrades" (line 173): restore() resolved { status: 'failed' } where { status: 'ok', dryRun: false } was expected. All other pregate stages were green; migrations 007 applied before the failure.

Not yet determined whether this is local-environment (e.g. pg_restore/psql version on the dev machine) or a real regression on main.

Next step: rerun npm run test:db on current main locally and print the restore() failure reason; fix the cause or make the test surface it.

Acceptance: the test passes locally and in CI, and a failed restore reports its reason in the assertion output.

Dominant language
JavaScript
Stars
38
Forks
32
Avg merge
31m
Merged PRs (30d)
995

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from atomantic/PortOS

All issues in atomantic/PortOS

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.