Skip to content

fix testdb setup to ensure you can createrole#22973

Draft
se3000 wants to merge 2 commits into
developfrom
se3000/setup-testdb-createrole
Draft

fix testdb setup to ensure you can createrole#22973
se3000 wants to merge 2 commits into
developfrom
se3000/setup-testdb-createrole

Conversation

@se3000

@se3000 se3000 commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Ran into this issue when running through the test setup.

se3000 and others added 2 commits June 25, 2026 18:41
The heavyweight migration tests now use pgtestdb, which provisions an
isolated role (pgtdbuser) per test run. The dev user created by this
script only had CREATEDB, so those tests failed with:

  could not create pgtestdb user: failed to create role pgtdbuser:
  ERROR: permission denied to create role (SQLSTATE 42501)

Grant CREATEROLE alongside the existing CREATEDB so a fresh setup works.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

✅ No conflicts with other open PRs targeting develop

@github-actions

Copy link
Copy Markdown
Contributor

I see you updated files related to core. Please run make gocs in the root directory to add a changeset as well as in the text include at least one of the following tags:

  • #added For any new functionality added.
  • #breaking_change For any functionality that requires manual action for the node to boot.
  • #bugfix For bug fixes.
  • #changed For any change to the existing functionality.
  • #db_update For any feature that introduces updates to database schema.
  • #deprecation_notice For any upcoming deprecation functionality.
  • #internal For changesets that need to be excluded from the final changelog.
  • #nops For any feature that is NOP facing and needs to be in the official Release Notes for the release.
  • #removed For any functionality/config that is removed.
  • #updated For any functionality that is updated.
  • #wip For any change that is not ready yet and external communication about it should be held off till it is feature complete.

@cl-sonarqube-production

Copy link
Copy Markdown

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@trunk-io

trunk-io Bot commented Jun 26, 2026

Copy link
Copy Markdown

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

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