-
Notifications
You must be signed in to change notification settings - Fork 0
feat(briefs): add brief + campaign api and async orchestrator #11
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
Changes from 44 commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
e4fe14d
feat(briefs): add brief + campaign API and async orchestrator
mrautela365 d3c3541
fix(briefs): archived-slug reuse + surface transient 412 re-fetch errors
mrautela365 04f5ea7
fix(briefs): tenant-scope GetJob, 400 on empty token, 503 no-db, tests
mrautela365 ca31564
fix(briefs): preserve campaign fields on update, tests, comment fixes
mrautela365 17928fa
fix(briefs): reject empty platforms, log running-status error, align doc
mrautela365 92121b1
refactor(orchestrator): drop unused briefs repository dependency
mrautela365 42dd26c
fix(orchestrator): guard against a dispatcher returning nil campaign
mrautela365 b51d8cb
fix(review): address Copilot findings on brief API + orchestrator (PR…
mrautela365 acacb37
fix(review): address third-round Copilot findings on orchestrator (PR…
mrautela365 904d5e5
fix(review): round-3 Copilot findings — UUID validation, approval con…
mrautela365 4d1f3d0
fix(review): round-4 Copilot findings on orchestrator + design (PR #11)
mrautela365 73a7b47
fix(review): round-5 Copilot findings — error sanitization, panic rec…
mrautela365 bc7531c
feat(orchestrator): durable dispatch — advisory lock, drain, recovery…
mrautela365 c397ec7
fix(review): round-6 Copilot findings — lock correctness, recovery sa…
mrautela365 e142163
fix(review): preserve orphaned upstream id on persist failure (PR #11)
mrautela365 5527600
fix(review): rework single-flight to a claim row; recovery + schema f…
mrautela365 ea1e213
fix(review): cancel in-flight runs on drain timeout; document orphan …
mrautela365 86fb436
fix(review): claim safety, global dispatch limit (PR #11)
mrautela365 6b9e490
fix(review): retain claim on ambiguous dispatch error; stale comments…
mrautela365 7fdc6e5
fix(review): quote ETag responses; release claim on pre-create dispat…
mrautela365 3c74e80
fix(review): sequence shutdown; roll back claim on read failure (PR #11)
mrautela365 77f3279
fix(ci): add license header to 000003 migration files (PR #11)
mrautela365 a92aff0
fix(review): detach claim-release context; clarify skip semantics; co…
mrautela365 c665414
fix(review): finalize jobs on detached ctx; bounded shutdown; claim r…
mrautela365 7697d44
fix(review): reject weak entity-tags in If-Match (PR #11)
mrautela365 7152257
fix(review): reject unbalanced If-Match quote; grace >= finalize time…
mrautela365 6a6ae83
fix(review): retain claim on ambiguous nil/empty result; bound drain+…
mrautela365 7635b6b
fix(review): defensively copy caller slices before async dispatch (PR…
mrautela365 c83c90d
fix(review): bound total graceful-shutdown time across both phases (P…
mrautela365 e0ea197
fix(review): give the shutdown grace phase its own budget (PR #11)
mrautela365 0e0b454
fix(review): bound provider calls and add periodic stuck-job sweep (P…
mrautela365 98b71e7
fix(review): honor ctx cancel in grace wait, bound dispatch queue wai…
mrautela365 0d5449c
fix(review): index recovery query; interruptible sweeper; force-close…
mrautela365 07ac3cd
fix(review): atomic approve-to-dispatch; persist under grace ctx; saf…
mrautela365 f1c9ed2
fix(review): job-result corruption, conflict msg, close error (PR #11)
mrautela365 9b6653a
fix(review): poll inflight counter in Wait to avoid goroutine leak (P…
mrautela365 df237f3
fix(review): honor sub-tick timeouts in inflight Wait (PR #11)
mrautela365 961fca9
docs(review): correct comments to ErrStaleApproval, not ErrConflict (…
mrautela365 8fc6651
fix(review): dedicated inflight-drain budget; correct dispatch fast-p…
mrautela365 6ea394b
fix(review): serialize approve-dispatch; skip not fail; project_id TEXT
mrautela365 69f9fa8
fix(review): terminalize skipped-platform jobs; align schema doc to T…
mrautela365 16e1d5a
fix(review): count handlers outermost; surface skipped platform in po…
mrautela365 154b817
fix(review): reachable skipped message, empty-result guard, shutdown …
mrautela365 915b923
fix(review): persist partial campaign ID on dispatch error for reconc…
mrautela365 cee2b11
fix(review): address 4 minor findings on PR #11 (project scoping, orp…
mrautela365 3f13a6e
Merge remote-tracking branch 'origin/main' into feat/LFXV2-2626-brief…
mrautela365 f0f5ff5
fix(orchestrator): surface idempotency-lookup DB errors instead of di…
mrautela365 10754e8
Merge remote-tracking branch 'origin/main' into feat/LFXV2-2626-brief…
mrautela365 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
Large diffs are not rendered by default.
Oops, something went wrong.
1,716 changes: 1,466 additions & 250 deletions
1,716
cmd/campaign-service/kodata/gen/http/openapi.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
3,634 changes: 2,756 additions & 878 deletions
3,634
cmd/campaign-service/kodata/gen/http/openapi3.yaml
Large diffs are not rendered by default.
Oops, something went wrong.
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.
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.