Skip to content

feat: docker-volume provider - #350

Merged
RambokDev merged 1 commit into
mainfrom
feat/backup-restore-docker-volume
Jul 3, 2026
Merged

feat: docker-volume provider#350
RambokDev merged 1 commit into
mainfrom
feat/backup-restore-docker-volume

Conversation

@RambokDev

@RambokDev RambokDev commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • New Features
    • Added support for a new database status option: Docker volume.
  • Chores
    • Updated the database schema metadata to keep migrations in sync with the latest structure.

@coderabbitai

coderabbitai Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 7092ff8b-45ed-48aa-aaa3-8e89b83b7e7e

📥 Commits

Reviewing files that changed from the base of the PR and between 0677f14 and c726346.

⛔ Files ignored due to path filters (1)
  • public/images/docker-volume.png is excluded by !**/*.png
📒 Files selected for processing (4)
  • src/db/migrations/0069_worried_alex_wilder.sql
  • src/db/migrations/meta/0069_snapshot.json
  • src/db/migrations/meta/_journal.json
  • src/db/schema/types.ts
📜 Recent review details
⏰ Context from checks skipped due to timeout. (1)
  • GitHub Check: build-image
🔇 Additional comments (4)
src/db/schema/types.ts (1)

1-10: LGTM!

src/db/migrations/0069_worried_alex_wilder.sql (1)

1-1: LGTM!

src/db/migrations/meta/_journal.json (1)

1-495: LGTM!

src/db/migrations/meta/0069_snapshot.json (1)

1-2980: LGTM!


📝 Walkthrough

Walkthrough

This PR adds a new "docker-volume" value to the dbms_status PostgreSQL enum. Changes include an updated enum definition in the Drizzle schema, a new SQL migration to alter the database enum, an updated migration journal entry, and a corresponding full schema snapshot.

Changes

dbms_status Enum Extension

Layer / File(s) Summary
Enum definition and migration
src/db/schema/types.ts, src/db/migrations/0069_worried_alex_wilder.sql
Adds "docker-volume" to the dbmsEnum values and creates the corresponding ALTER TYPE ... ADD VALUE SQL migration.
Migration metadata and schema snapshot
src/db/migrations/meta/_journal.json, src/db/migrations/meta/0069_snapshot.json
Appends migration entry 0069 to the journal and adds a full schema snapshot covering all tables, enums, and scaffolding.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related PRs

  • Portabase/portabase#242: Both PRs modify the same dbms_status PostgreSQL enum by adding a new allowed value in src/db/schema/types.ts.
  • Portabase/portabase#277: Both PRs extend the same PostgreSQL enum public.dbms_status via migrations and the shared dbmsEnum definition.

Poem

A hop, a skip, a docker crate,
One more value joins the fate,
"docker-volume" now takes its place,
In the enum's growing space. 🐰📦
Migrations logged, the snapshot set—
No bug to squash, just progress yet!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the main change: introducing the docker-volume provider/value.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/backup-restore-docker-volume

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

src/db/schema/types.ts

Oops! Something went wrong! :(

ESLint: 9.39.4

TypeError: Converting circular structure to JSON
--> starting at object with constructor 'Object'
| property 'configs' -> object with constructor 'Object'
| property 'flat' -> object with constructor 'Object'
| ...
| property 'plugins' -> object with constructor 'Object'
--- property 'react' closes the circle
Referenced from: /.eslintrc.json
at JSON.stringify ()
at /node_modules/.pnpm/@eslint+eslintrc@3.3.5/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2255:45
at Array.map ()
at ConfigValidator.formatErrors (/node_modules/.pnpm/@eslint+eslintrc@3.3.5/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2246:23)
at ConfigValidator.validateConfigSchema (/node_modules/.pnpm/@eslint+eslintrc@3.3.5/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:2277:84)
at ConfigArrayFactory._normalizeConfigData (/node_modules/.pnpm/@eslint+eslintrc@3.3.5/node_modules/@eslint/

... [truncated 446 characters] ...

c/dist/eslintrc.cjs:3261:25)
at ConfigArrayFactory._normalizeObjectConfigDataBody (/node_modules/.pnpm/@eslint+eslintrc@3.3.5/node_modules/@eslint/eslintrc/dist/eslintrc.cjs:3199:25)
(node:2) ESLintRCWarning: You are using an eslintrc configuration file, which is deprecated and support will be removed in v10.0.0. Please migrate to an eslint.config.js file. See https://eslint.org/docs/latest/use/configure/migration-guide for details. An eslintrc configuration file is used because you have the ESLINT_USE_FLAT_CONFIG environment variable set to false. If you want to use an eslint.config.js file, remove the environment variable. If you want to find the location of the eslintrc configuration file, use the --debug flag.
(Use node --trace-warnings ... to show where the warning was created)


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@RambokDev
RambokDev merged commit 4b1d0ab into main Jul 3, 2026
6 checks passed
@RambokDev
RambokDev deleted the feat/backup-restore-docker-volume branch July 3, 2026 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant