Skip to content

docs: Correct testing, database and file storage pages for Serverpod 4.0 - #833

Merged
FXschwartz merged 3 commits into
mainfrom
docs/testing-data-storage-4-0
Sep 15, 2026
Merged

FXschwartz merged 3 commits into
mainfrom
docs/testing-data-storage-4-0

Conversation

@developerjamiu

Copy link
Copy Markdown
Contributor

Corrects the testing, database and file storage pages to match Serverpod 4.0 behavior.

  • Testing: each withServerpod group runs against its own database, so the --concurrency=1 advice is removed. Also adds databaseInterceptor, the 120-second start timeout and the features: database: false note.
  • Database: explains what happens when a migration fails in each run mode, documents the upsertRow null return, and notes that pgvector and PostGIS ship with new projects. Also adds the embedded PostgreSQL cache paths and the files SQLite needs on the web.
  • File storage: documents the ServerpodCloudProvider default in new projects, and explains that a native Google Cloud Storage public storage needs a publicly readable bucket.
  • Streaming: a refused stream now fails with the same ServerpodClientHttpException subclasses as a regular call.

@developerjamiu developerjamiu self-assigned this Sep 14, 2026
@developerjamiu developerjamiu added the documentation Improvements or additions to documentation label Sep 14, 2026

@FXschwartz FXschwartz left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple of comments. As a side note not something for this PR, but two of the things you documented look more like framework gaps than intended behavior: --no-database not writing features: database: false, and the maintenance role exiting 0 after a failed migration.

I'll bring it up for discussion during standup tomorrow @marcelomendoncasoares

@FXschwartz
FXschwartz merged commit 24e6d97 into main Sep 15, 2026
5 checks passed
@FXschwartz
FXschwartz deleted the docs/testing-data-storage-4-0 branch September 15, 2026 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants