-
Notifications
You must be signed in to change notification settings - Fork 18
CockroachDB Support #388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
CockroachDB Support #388
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
2f35b56
DBOSConfig.useListenNotify
devhawk c74a7aa
use_listen_notify migration 1
devhawk 6b1c30a
signal registry
devhawk 0341152
improve signal registry
devhawk c2c70d3
SignalKey
devhawk 7e2fc40
spotless
devhawk 122a087
DbContext
devhawk 9e3af82
WakeReason
devhawk afc03a8
refactor signal registry -> signal map. recv/getEvent currently stubb…
devhawk f2ac1fb
recv + naming
devhawk c184740
crdb migration test
devhawk 7e4cd09
reorg sysdb types
devhawk e6f646b
reworked getEvent
devhawk 1b04732
spotless
devhawk 32d937c
NullNotificationSource
devhawk dce9c3f
CRDB fixes
devhawk 022b071
don't automatically create database for tests
devhawk 7ea9f74
CRDB compat
devhawk d93cb21
spotless
devhawk e6bd3ea
CrdbParallelExecutionConfigurationStrategy
devhawk f942974
cleanup
devhawk 97e0bb2
fix test_demo_apps
devhawk 2d6f1f1
revert test demo apps changes
devhawk 059833f
Merge remote-tracking branch 'origin/main' into devhawk/crdb
devhawk e0a5ab2
use JDK 25 for crdb CI
devhawk 23adada
Assumptions for virtual thread pool
devhawk 88d4dc6
copilot feedback
devhawk 38913e8
fix timeout bug in getEvent + tests
devhawk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| name: Test (CockroachDB) | ||
|
|
||
| on: | ||
| workflow_call: | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| test: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v6 | ||
| with: | ||
| fetch-depth: 0 # fetch-depth 0 needed for version calculation | ||
|
|
||
| - name: Set up JDK temurin 25 | ||
| uses: actions/setup-java@v5 | ||
| with: | ||
| java-version: '25' | ||
| distribution: 'temurin' | ||
|
|
||
| - name: Setup Gradle | ||
| uses: gradle/actions/setup-gradle@v5 | ||
|
|
||
| - name: Run tests | ||
| run: ./gradlew clean build | ||
| env: | ||
| PGPASSWORD: dbos | ||
| DBOS_TEST_USE_COCKROACH_DB: 'true' | ||
|
|
||
| - name: Test Summary | ||
| uses: test-summary/action@v2 | ||
| with: | ||
| paths: "transact/build/test-results/test/TEST-*.xml" | ||
| show: "fail, skip" | ||
| if: always() | ||
|
|
||
| - name: Upload test results | ||
| uses: actions/upload-artifact@v7 | ||
| if: always() | ||
| with: | ||
| name: test-results-crdb-temurin-25 | ||
| path: | | ||
|
devhawk marked this conversation as resolved.
|
||
| transact/build/reports/tests/ | ||
| transact/build/test-results/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.