Skip to content

Add test and generate actions#3221

Open
brage-andreas wants to merge 3 commits into
fix-deploy-dependance-on-lintfrom
add-setup-database-action
Open

Add test and generate actions#3221
brage-andreas wants to merge 3 commits into
fix-deploy-dependance-on-lintfrom
add-setup-database-action

Conversation

@brage-andreas
Copy link
Copy Markdown
Member

@brage-andreas brage-andreas commented May 10, 2026

image.png

Copy link
Copy Markdown
Member Author

brage-andreas commented May 10, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@brage-andreas brage-andreas changed the title chore: add setup database action Add setup database action May 10, 2026
@brage-andreas brage-andreas force-pushed the add-setup-database-action branch from 836576b to 2d85120 Compare May 10, 2026 22:56
@brage-andreas brage-andreas marked this pull request as ready for review May 11, 2026 08:41
@brage-andreas brage-andreas force-pushed the add-setup-database-action branch from 2d85120 to 7ac6cff Compare May 11, 2026 09:01
@brage-andreas brage-andreas requested a review from junlarsen May 12, 2026 19:06
@brage-andreas brage-andreas force-pushed the add-setup-database-action branch 2 times, most recently from e7c20b4 to 800eecc Compare May 13, 2026 23:44
Comment thread .github/actions/setup-database/action.yml Outdated
Comment thread .github/actions/internal/setup-database/action.yml Outdated
@brage-andreas brage-andreas force-pushed the add-setup-database-action branch from 800eecc to 8437525 Compare May 14, 2026 14:34
@brage-andreas brage-andreas requested a review from junlarsen May 14, 2026 17:11
@brage-andreas brage-andreas force-pushed the add-setup-database-action branch 3 times, most recently from 55f152c to 220ab3f Compare May 19, 2026 10:45
@brage-andreas brage-andreas changed the base branch from main to graphite-base/3221 May 19, 2026 18:40
@brage-andreas brage-andreas force-pushed the add-setup-database-action branch from 33b2b74 to 5f620b8 Compare May 19, 2026 18:40
@brage-andreas brage-andreas changed the base branch from graphite-base/3221 to fix-deploy-dependance-on-lint May 19, 2026 18:40
@brage-andreas brage-andreas force-pushed the add-setup-database-action branch from 5f620b8 to 4be8038 Compare May 19, 2026 18:42
@brage-andreas brage-andreas force-pushed the fix-deploy-dependance-on-lint branch from 130545c to 291d140 Compare May 19, 2026 18:42
@brage-andreas brage-andreas force-pushed the add-setup-database-action branch 2 times, most recently from 07a0eb9 to c75bb9b Compare May 19, 2026 18:54
@brage-andreas brage-andreas force-pushed the fix-deploy-dependance-on-lint branch from 291d140 to 774c542 Compare May 19, 2026 21:58
@brage-andreas brage-andreas force-pushed the add-setup-database-action branch 2 times, most recently from 60d2402 to 5945c81 Compare May 19, 2026 23:17
@brage-andreas brage-andreas force-pushed the fix-deploy-dependance-on-lint branch from 774c542 to 0c893a2 Compare May 19, 2026 23:17
@brage-andreas brage-andreas changed the title Add setup database action Add test and generate actions May 19, 2026
@brage-andreas brage-andreas force-pushed the add-setup-database-action branch from 5945c81 to 97e7e0c Compare May 19, 2026 23:33
@brage-andreas brage-andreas force-pushed the fix-deploy-dependance-on-lint branch from 0c893a2 to 3a84317 Compare May 19, 2026 23:33
Comment on lines +51 to +54
--health-cmd "pg_isready -U $POSTGRES_USER -d $POSTGRES_DB" \
--health-interval 5s \
--health-timeout 5s \
--health-retries 10 \
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why are we not using the postgres server on the runner, but use a container? I think this is probably magnitudes slower

@brage-andreas brage-andreas force-pushed the fix-deploy-dependance-on-lint branch from 3a84317 to 8cbba37 Compare May 21, 2026 17:19
@brage-andreas brage-andreas force-pushed the add-setup-database-action branch from 97e7e0c to 18c1751 Compare May 21, 2026 17:19
brage-andreas and others added 3 commits May 21, 2026 19:50
Remove the database-url input so callers cannot pass credentials that
do not match the fixed Postgres password. Mirror CI pnpm and Node setup
(pinned versions, frozen lockfile install) before Prisma commands.

Co-authored-by: Brage <brage-andreas@users.noreply.github.com>
@brage-andreas brage-andreas force-pushed the add-setup-database-action branch from 18c1751 to d58486e Compare May 21, 2026 17:50
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.

3 participants