backup.db.test.js 'restore older database' fails restore_preflight in local pregate DB suite
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 57/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript, node.js
Research direction
Start by reproducing the failure on origin/main with a freshly provisioned portos_test database using npm run setup:db:test, then run npm run test:db for services/backup.db.test.js. The issue leaves open whether the cause is stale local database state or the preflight/test fixture, so compare those runs before changing anything. Done when the test passes on a freshly provisioned database.
Written by the indexing model from the issue text.
Description
Observed during local npm run pregate DB suite (portos_test) while working on #12492 (change does not touch backup).
Actual: services/backup.db.test.js > restore older database fails: restore_preflight Database contains unexpected objects, ownership, or dependencies. Restore was refused without changing data. (expected 'ok', got 'failed').
Unconfirmed whether this reproduces on a clean main or is specific to the local portos_test database state.
Next step: reproduce on origin/main with a freshly provisioned portos_test (npm run setup:db:test); if it reproduces, fix the preflight/test fixture; if only stale local state, make the test provision or reset what it needs.
Acceptance: npm run test:db passes backup.db.test.js on a freshly provisioned portos_test.
- Dominant language
- JavaScript
- Stars
- 38
- Forks
- 32
- Avg merge
- 31m
- Merged PRs (30d)
- 995
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from atomantic/PortOS
-
effort:medium model:medium plan planner:opus-5-5 security
Difficulty 3/5 1-2 days Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
bug effort:high model:heavy plan
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Maintainers usually reply within 1 day
-
bug effort:medium model:medium plan
Difficulty 3/5 1-2 days Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
area:federation bug data-integrity effort:medium model:heavy plan
Difficulty 4/5 1-2 days Newbie friendliness 48/100
Maintainers usually reply within 1 day
-
Require operator authority for Music Video ffmpeg render dispatchPossibly taken @atomantic claimed this today. Openeffort:low in-progress model:light plan planner:opus-5-5 security
atomantic/PortOS#12514 · 1 assignee ·
Maintainers usually reply within 1 day
All issues in atomantic/PortOS
Similar issues
-
[APP/MODULE]Openenhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
awesome-android-root/awesome-android-root#195 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
subhranshudash13-dotcom/Contribo#74 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
qq15725/modern-screenshot#174 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 67/100
ThatGuySam/doesitarm#1114 ·