Proto commits in resonatehq/resonate

These 30 commits are when the Protocol Buffers files have changed:

Commit:bbb848a
Author:Andres Villegas
Committer:GitHub

Rename notify to subscriptions (#536) * Rename notify to suscriptions * Rename suscriptions to subscriptions

The documentation is generated from this commit.

Commit:4cb3551
Author:Andres V

Rename suscriptions to subscriptions

The documentation is generated from this commit.

Commit:d973abf
Author:Andres V

Rename notify to suscriptions

Commit:de5339e
Author:Andres Villegas
Committer:GitHub

Add notifications api (#531) * Add notifications api * Add basic api tests * Add notify command to resonate cli * Add notify cmd * Add promise to task message * Send Notify at most once + DST * Apply suggestions from code review Co-authored-by: David Farr <david@resonatehq.io> --------- Co-authored-by: David Farr <david@resonatehq.io>

Commit:41d13d9
Author:Andres Villegas
Committer:GitHub

Remove Recv from create task request (#512) * Remove Recv from create task request * Solve spooky action at distance where the set of tags to use in the generator was being unintenionally mutated and causing all the requests to include a tags only supposed to be part of a single request. * Remove debugging print stmts * Remove unused import

Commit:cc53141
Author:Andres Villegas
Committer:GitHub

Remove create-promise-and-callback request (#488)

Commit:1f1a419
Author:Andres Villegas
Committer:GitHub

Avillega/deduplicate callbacks (#478) Add callback id to requests to create callbacks, this allows us to deduplicate callbacks for the same promises.

Commit:15a3199
Author:David Farr
Committer:GitHub

Rename fields to ttl (#432)

Commit:e46733c
Author:David Farr
Committer:GitHub

Add poll plugin (#425) * Add poll plugin * Add create task and create callback to create promise request * Refactor http and grpc apis * Add seperate routes for create promise and task/callback * Add dst for createpromiseandtask and createpromiseandcallback * Add grpc implementation for - createpromiseandtask - createpromiseandcallback * Add poll plugin tests

Commit:85cf02d
Author:David Farr
Committer:GitHub

Add router and sender subsystems (#405)

Commit:5fdbd8b
Author:David Farr
Committer:GitHub

Tasks v2 (#375) * Add callbacks and tasks * Add task api * Add task http endpoints * Formalize config for tasks * Create tasks and delete callbacks when promises timeout * Batch heartbeat tasks, small changes * Add postgres changes and unit tests * Add http and grpc unit tests * Add queue unit test

Commit:a93e0eb
Author:David Farr
Committer:GitHub

gocoro refactor (#356) * Add gocoro * Fix unit tests * Conform proto acquirelock requests to all proto requests * Fix dst, add porcupine * Update dependencies * Update flake.lock * Upgrade to go v1.22

Commit:a56c4d0
Author:guergabo
Committer:GitHub

feat(ms): translate to ms (#263) * feat(ms): translate to ms * fix(feedback): from david --------- Co-authored-by: Gabriel Guerra <guergabo@Gabriels-MBP.lan>

Commit:d674a68
Author:guergabo
Committer:GitHub

feat(tasks): add support for distributed tasks (#229) * feat(tasks): wip draft * feat(task): the big kahuna * refactor(task): clean up comments * Feedback from David Signed-off-by: Gabriel Guerra <guergabo@Gabriels-MBP.lan> * fix(merge): conflicts Signed-off-by: Gabriel Guerra <guergabo@Gabriels-MBP.lan> * fix(merge): conflicts x2 Signed-off-by: Gabriel Guerra <guergabo@Gabriels-MBP.lan> * fix postgres error * fix(config): good defaults * fix(semgrep): few security stuff --------- Signed-off-by: Gabriel Guerra <guergabo@Gabriels-MBP.lan> Co-authored-by: Gabriel Guerra <guergabo@gabriels-mbp.mynetworksettings.com> Co-authored-by: Gabriel Guerra <guergabo@Gabriels-MBP.lan>

Commit:0773fab
Author:guergabo
Committer:GitHub

feat(locks): improve usability by accepting delta (#216) * feat(locks): improve usability by accepting delta * feat(locks): addressed feedback from David * fix(locks): no underscores in openapi * fix(locks): add missing field --------- Co-authored-by: Gabriel Guerra <guergabo@gabriels-mbp.mynetworksettings.com>

Commit:011003f
Author:guergabo
Committer:GitHub

fix(dst): add locksAffected (#210) * fix(dst): add lockAffected * fix(cleanup) * fix(cleanup): x2 --------- Co-authored-by: Gabriel Guerra <guergabo@gabriels-mbp.mynetworksettings.com>

Commit:48477c2
Author:guergabo
Committer:GitHub

feat(locks): add support for distributed locking (#203) * feat(distributed-locks): first commit * fix(tests): comment out unfinished http tests * fix(table): postgres table missing a few details * feat(locks): wire up regular dst and serve cmd * fix(locks): updated coroutine naming and added aio, dst tests * test(locks): finished testing * fix(postgres): wrong query * fix(postgres): forgot to drop lock table to reset * fix(cleanup) * test(http): add unhappy paths * fix(grpc): add validation * fix(grpc): add validation x2 * feat(codecov): ignore generated proto * feat(locks): addressed feedback from david * feat(locks): addressed feedback from david x2 --------- Co-authored-by: Gabriel Guerra <guergabo@gabriels-mbp.mynetworksettings.com>

Commit:3e177b0
Author:guergabo
Committer:GitHub

add grpc support for schedules api (#175) * feat(grpc): init * feat(grpc): with unit tests * feat(grpc): include headers * fix(search): can't work with anonymous structs in generated code * fix(test): uncomment harness * update version * update version * feat(grpc): address feedback from david * feat(grpc): for the linting gods * feat(grpc): for the david * feat(grpc): for the david x2 * feat(grpc): for the david x3 --------- Co-authored-by: Gabriel Guerra <guergabo@gabriels-mbp.mynetworksettings.com>

Commit:657098b
Author:David Farr
Committer:GitHub

Add ability to search promises by tag (#144)

Commit:a83cb8f
Author:guergabo
Committer:GitHub

feat(schedules): add schedules feature, refactor promise api (#147) * feat(schedules): first draft * feat(schedules): added schedulePromise coroutine, dst, and updated schemas * feat(schedules): init cobra cli commands + openapi * feat(schedules): get e2e beta demo * feat(schedule): fix schedules coroutine bug * feat(schedules): cleanup phase 1 * fix(feedback): from David part 1 * fix(semgrep): switch to html/template * feat(schedules): fix delete command output * feat(stuff): push stuff * feat(stuff): push stuff x2 * feat(schedules): updated proto * feat(schedules): address feedbacks + idempotency * feat(schedules): promise params and timeout added * feat(schedules): refactor cli * feat(schedules): refactor cli x2 * feat(schedules): refactor cli complete fix * feat(schedules): complete -> patch * feat(schedules): cli cleanup + service unit testing * feat(schedules): updated to latest openapi spec * feat(scheduls): test coverage * feat(schedules): update readme * feat(schedules): added schedules id prefix * feat(scheduls): final openapi * feat(schedules): twitch command added gomock capabilities plus example * fix(lint): lint gods strike again * feat(schedules): ignore auto generated code in codecov * feat(cleanup) * feat(cleanup): x2 * feat(cleanup): x3 * feat(cleanup): x4 --------- Co-authored-by: Gabriel Guerra <guergabo@gabriels-mbp.mynetworksettings.com>

Commit:60f9115
Author:Gabriel Guerra

feat(errors): done

Commit:99c7c5c
Author:David Farr
Committer:GitHub

Add metadata to sqes, cqes, and coroutines (#90)

Commit:5623e9c
Author:David Farr
Committer:GitHub

Add unit tests for http and grpc (#75)

Commit:16c30a7
Author:David Farr
Committer:GitHub

Refactor idempotency key (#74) * Refactor idempotency key param_ikey -> idempotency_key_for_create value_ikey -> idempotency_key_for_complete

Commit:74a435d
Author:David Farr
Committer:GitHub

Add strict mode and remove complete promise (#73) * Add strict mode and remove complete promise If strict mode is set to false, a promise in any state (if idempotency keys match) is returned successfully to the client, otherwise the promise must be in the same state as the request.

Commit:1ad9f62
Author:David Farr
Committer:GitHub

Add complete promise api (#63)

Commit:11a0d2b
Author:David Farr
Committer:GitHub

Add postgres store (#18)

Commit:3fd3ad0
Author:David Farr

Change grpc state to enum

Commit:2ecca19
Author:David Farr

Move subscriptions to independent routes in http

Commit:c814cb1
Author:David Farr

Initial commit