-
-
Notifications
You must be signed in to change notification settings - Fork 264
feat: add PostgreSQL DAG-run store #2103
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
Open
yottahmd
wants to merge
24
commits into
main
Choose a base branch
from
codex/postgres-dagrun-store
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 3 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
bb74984
feat: add PostgreSQL DAG-run store
yottahmd 0aa84f5
fix: address PostgreSQL DAG-run store review feedback
yottahmd 3b62c72
fix: address PostgreSQL DAG-run store nitpicks
yottahmd cc31f68
fix: address PostgreSQL DAG-run store review
yottahmd 7f0751b
fix: align Postgres DAG-run cleanup retention
yottahmd d63d0af
fix: split Postgres DAG-run store connection roles
yottahmd 857ce02
test: make retention query parsing portable
yottahmd 2ba35b1
test: make local queue FIFO sleep portable
yottahmd bb7f636
fix: address PostgreSQL DAG-run review feedback
yottahmd 8d05879
fix: address PostgreSQL DAG-run follow-up review
yottahmd 9f5a715
fix: require opt-in PostgreSQL agent access
yottahmd 548a907
chore: add PostgreSQL dev stop target
yottahmd c93ee71
fix: split PostgreSQL DAG-run summary from attempts
yottahmd 04d1f43
feat: add postgres control-plane store
yottahmd 599517f
chore: merge main
yottahmd 5f05fca
ci: predownload modules before go fix
yottahmd 2ad9a86
ci: isolate postgres integration tests
yottahmd 832d49b
refactor: polish control-plane store implementation
yottahmd 0a9282f
refactor: canonicalize postgres control-plane data
yottahmd 17c1c81
refactor: separate coordinator postgres store config
yottahmd 2ad7d3e
Merge remote-tracking branch 'origin/main' into codex/postgres-dagrun…
yottahmd e06b601
fix: address postgres store review feedback
yottahmd d14c197
fix: update x/net for govulncheck
yottahmd efea552
test: cover postgres store integration edge cases
yottahmd 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -35,6 +35,7 @@ linters: | |
| - ui | ||
| - docs | ||
| - gen | ||
| - internal/persis/dagrunstore/postgres/db | ||
| - filenotify | ||
| settings: | ||
| revive: | ||
|
|
||
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,20 @@ | ||
| services: | ||
| postgres: | ||
| image: postgres:18 | ||
| environment: | ||
| POSTGRES_USER: dagu | ||
| POSTGRES_PASSWORD: dagu | ||
| POSTGRES_DB: dagu | ||
| ports: | ||
| - "54321:5432" | ||
| volumes: | ||
| # PostgreSQL 18 stores data in a major-version subdirectory under this path. | ||
| - dagu-dev-postgres-data:/var/lib/postgresql | ||
| healthcheck: | ||
| test: ["CMD-SHELL", "pg_isready -U dagu -d dagu"] | ||
| interval: 2s | ||
| timeout: 5s | ||
| retries: 30 | ||
|
|
||
| volumes: | ||
| dagu-dev-postgres-data: |
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.
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.