Commit Graph

344 Commits

Author SHA1 Message Date
Fabian Martinez dd9a2d5a3c
workflow examples: remove use of deprecated functions (#640)
* workflow examples: remove use of deprecated functions

Signed-off-by: Fabian Martinez <46371672+famarting@users.noreply.github.com>

* fix example tests

Signed-off-by: Fabian Martinez <46371672+famarting@users.noreply.github.com>

* Update README.md

Signed-off-by: Fabian Martinez <46371672+famarting@users.noreply.github.com>

* Update Makefile

Signed-off-by: Fabian Martinez <46371672+famarting@users.noreply.github.com>

---------

Signed-off-by: Fabian Martinez <46371672+famarting@users.noreply.github.com>
2024-10-30 09:06:32 -07:00
Fabian Martinez 516684c202
workflows: support set custom status (#639)
Signed-off-by: Fabian Martinez <46371672+famarting@users.noreply.github.com>
2024-10-30 09:06:20 -07:00
Fabian Martinez e317f06e65
add purge options (#638)
* add options to PurgeWorkflow

Signed-off-by: Fabian Martinez <46371672+famarting@users.noreply.github.com>

* Update client.go

Signed-off-by: Fabian Martinez <46371672+famarting@users.noreply.github.com>

---------

Signed-off-by: Fabian Martinez <46371672+famarting@users.noreply.github.com>
2024-10-30 09:06:07 -07:00
Fabian Martinez 4953b123ad
workflows support reuse id policy (#637)
* workflows support reuse id policy

Signed-off-by: Fabian Martinez <46371672+famarting@users.noreply.github.com>

* add new type

Signed-off-by: Fabian Martinez <46371672+famarting@users.noreply.github.com>

* lint

Signed-off-by: Fabian Martinez <46371672+famarting@users.noreply.github.com>

* wrap all types

Signed-off-by: Fabian Martinez <46371672+famarting@users.noreply.github.com>

* use existing type

Signed-off-by: Fabian Martinez <46371672+famarting@users.noreply.github.com>

---------

Signed-off-by: Fabian Martinez <46371672+famarting@users.noreply.github.com>
2024-10-30 09:05:50 -07:00
Gowtham H N a074ea7428
Fixed superfluous bug (#619)
Signed-off-by: Gowtham H N <44719307+GowthamHN@users.noreply.github.com>
2024-10-28 10:51:07 -07:00
Yaron Schneider f9baae2539
Merge pull request #641 from mikeee/release-1.11
merge Release 1.11  to main
2024-10-22 20:29:11 -07:00
Yaron Schneider 6c59092f53
Change refs to 1.14.1 (#615)
* test 1.14.1-rc.1

Signed-off-by: yaron2 <schneider.yaron@live.com>

* update to 1.14.1

Signed-off-by: yaron2 <schneider.yaron@live.com>

---------

Signed-off-by: yaron2 <schneider.yaron@live.com>
2024-08-15 08:51:44 -07:00
Mike Nguyen f87f366fe7
Merge pull request #612 from mikeee/dapr1.14
chore: upgrade dapr to v1.14.0
2024-08-14 16:47:13 +01:00
mikeee 2749284a00
ci: remove version override
Signed-off-by: mikeee <hey@mike.ee>
2024-08-14 06:46:09 +01:00
mikeee 2cfb6e308e
chore: upgrade dapr to v1.14.0
Signed-off-by: mikeee <hey@mike.ee>
2024-08-14 06:36:43 +01:00
Mike Nguyen d1f04ee738
chore: bump dapr & cli to rc.8 to test (#606)
Signed-off-by: mikeee <hey@mike.ee>
2024-08-08 13:02:14 -07:00
Yaron Schneider d36c48d92e
fix version (#604)
Signed-off-by: yaron2 <schneider.yaron@live.com>
2024-07-26 12:42:32 -07:00
Josh van Leeuwen 9bc7d823cc
Update streaming subscription to understand new initial response (#601)
* Update streaming subscription to understand new initial response

Signed-off-by: joshvanl <me@joshvanl.dev>

* Update dapr CLI to 1.14.0-rc.6

Signed-off-by: joshvanl <me@joshvanl.dev>

* Update streamsub name in validate examples

Signed-off-by: joshvanl <me@joshvanl.dev>

* Apply suggestions from code review

Co-authored-by: Mike Nguyen <hey@mike.ee>
Signed-off-by: Josh van Leeuwen <me@joshvanl.dev>

---------

Signed-off-by: joshvanl <me@joshvanl.dev>
Signed-off-by: Josh van Leeuwen <me@joshvanl.dev>
Co-authored-by: Mike Nguyen <hey@mike.ee>
2024-07-23 13:53:33 -07:00
Mike Nguyen 7c03c7ce58
chore: remove dapr stop steps and add appropriate timeouts (#573)
Signed-off-by: mikeee <hey@mike.ee>
2024-07-22 13:10:02 -07:00
Willi Eggeling 4a9f1800b6
removed unnecessary warnings from actor reflection (#586)
When checking for valid Actor methods, the SDK no longer emits warnings about invalid or inappropriate method signatures for the ones needed to be implemented for each Actor type.

Fixes #585

Signed-off-by: Willi Eggeling <thewilli@users.noreply.github.com>
2024-07-22 12:51:47 -07:00
Mike Nguyen 77c213de61
fix: stop schedule field from always being initialised (#597)
Signed-off-by: mikeee <hey@mike.ee>
2024-07-22 12:19:53 -07:00
Mike Nguyen 967570515b
Implement distributed scheduler building block (#562)
* feat: add jobs/scheduling api (with validation override)

Signed-off-by: mikeee <hey@mike.ee>

* chore: fix deps

Signed-off-by: mikeee <hey@mike.ee>

* fix: use cli fix

Signed-off-by: mikeee <hey@mike.ee>

* fix: ci artifact path set for cli build

Signed-off-by: mikeee <hey@mike.ee>

* chore: remove sidecar step

Signed-off-by: mikeee <hey@mike.ee>

* chore: revert changes to other examples

Signed-off-by: mikeee <hey@mike.ee>

---------

Signed-off-by: mikeee <hey@mike.ee>
Signed-off-by: Mike Nguyen <hey@mike.ee>
2024-07-17 09:04:45 -07:00
Mike Nguyen 01c0f3154f
fix: bidipubsub example (#594)
* fix: bidipubsub example

Signed-off-by: mikeee <hey@mike.ee>

* ci: pin dapr to 1.14.0-rc.2 and cli commit that starts the scheduler

Signed-off-by: mikeee <hey@mike.ee>

---------

Signed-off-by: mikeee <hey@mike.ee>
2024-07-16 10:54:32 -07:00
Josh van Leeuwen b7b90e3f8e
Bidirectional Subscriptions (#578)
* Bidirectional Subscriptions

Adds support for bidirectional subscriptions to PubSubs. Adds two
methods for subscribing- one using a callback and one using an
imperative approach. Both giving support to different programming styles
or use cases.

Adds example with tests.

Signed-off-by: joshvanl <me@joshvanl.dev>

* Linting: Remove unused `closeCh`

Signed-off-by: joshvanl <me@joshvanl.dev>

* Fixes comment order in bidisub.go

Signed-off-by: joshvanl <me@joshvanl.dev>

* Add comment about processing message

Signed-off-by: joshvanl <me@joshvanl.dev>

* Adds dead letter topic example

Signed-off-by: joshvanl <me@joshvanl.dev>

* chore: remove go.mod

Signed-off-by: mikeee <hey@mike.ee>

* Updates go mod to v1.14.0-rc.1

Signed-off-by: joshvanl <me@joshvanl.dev>

---------

Signed-off-by: joshvanl <me@joshvanl.dev>
Signed-off-by: mikeee <hey@mike.ee>
Signed-off-by: Mike Nguyen <hey@mike.ee>
Co-authored-by: mikeee <hey@mike.ee>
2024-07-11 07:43:51 -07:00
Fabian Martinez a1e723bd29
make workflow client struct public (#577)
Signed-off-by: Fabian Martinez <46371672+famarting@users.noreply.github.com>
2024-07-10 09:26:12 +08:00
dependabot[bot] d3eef2eb18
Bump github.com/go-chi/chi/v5 from 5.0.12 to 5.1.0 (#587)
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi) from 5.0.12 to 5.1.0.
- [Release notes](https://github.com/go-chi/chi/releases)
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-chi/chi/compare/v5.0.12...v5.1.0)

---
updated-dependencies:
- dependency-name: github.com/go-chi/chi/v5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-10 09:25:21 +08:00
dependabot[bot] 34129df6fb
Bump google.golang.org/grpc from 1.64.0 to 1.65.0 (#590)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.64.0 to 1.65.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.64.0...v1.65.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-10 09:25:02 +08:00
Sam feb4bb675c
fix(security): bump security vulnerabilities (#582)
* fix(security): bump security vulnerabilities

Signed-off-by: Samantha Coyle <sam@diagrid.io>

* style: make linter happy

Signed-off-by: Samantha Coyle <sam@diagrid.io>

---------

Signed-off-by: Samantha Coyle <sam@diagrid.io>
Signed-off-by: Mike Nguyen <hey@mike.ee>
Co-authored-by: Mike Nguyen <hey@mike.ee>
2024-07-01 17:27:27 -07:00
Mike Nguyen 2e8248517f
chore: cleanup repo (#571)
* chore: cleanup examples

Signed-off-by: mikeee <hey@mike.ee>

* chore: bump dapr and durabletask-go deps

Signed-off-by: mikeee <hey@mike.ee>

* ci: bump golangci and fossa actions versions

Signed-off-by: mikeee <hey@mike.ee>

---------

Signed-off-by: mikeee <hey@mike.ee>
Signed-off-by: Mike Nguyen <hey@mike.ee>
2024-07-01 09:58:37 -07:00
Fabian Martinez c417f950fe
Prevent workflows client nilpointer (#583)
* bump durabletask dep

Signed-off-by: Fabian Martinez <46371672+famarting@users.noreply.github.com>

* workflows client, prevent nilpointer error on convertMetadata

Signed-off-by: Fabian Martinez <46371672+famarting@users.noreply.github.com>

---------

Signed-off-by: Fabian Martinez <46371672+famarting@users.noreply.github.com>
2024-06-26 06:55:42 -07:00
Anton Troshin dd35c21392
Added a check for existing healthz route to avoid overwriting user custom handler (#580)
Signed-off-by: Anton Troshin <anton@diagrid.io>
2024-06-20 12:57:39 -07:00
manojks1999 33180dd89a
Dependabot added in workflow. (#531)
* daily_workflow_added

Signed-off-by: manojks1999 <9743manoj@gmail.com>

* removed_newline

Signed-off-by: manojks1999 <9743manoj@gmail.com>

---------

Signed-off-by: manojks1999 <9743manoj@gmail.com>
2024-05-07 09:04:35 -07:00
Mike Nguyen 0c60bbd3a4
fix: add crypto validation example and fix mechanical markdown (#544)
* fix: add crypto validation example and fix mechanical markdown

Signed-off-by: mikeee <hey@mike.ee>

* fix: update test assertion and remove cleanup step

Signed-off-by: mikeee <hey@mike.ee>

---------

Signed-off-by: mikeee <hey@mike.ee>
2024-05-06 15:35:18 +08:00
Yaron Schneider b2ead493ac
Merge pull request #556 from dapr/dependabot/go_modules/golang.org/x/net-0.23.0
Bump golang.org/x/net from 0.21.0 to 0.23.0
2024-04-20 10:46:08 -07:00
dependabot[bot] 1496a415fa
Bump golang.org/x/net from 0.21.0 to 0.23.0
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.21.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.21.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-19 13:07:09 +00:00
Rutam Prita Mishra b0ea7596ac
Update holopin.yml to award SDK badge to contributors (#547)
# Description

The `yaml` file to award SDK badges had been updated such that each contributor can be awarded with a SDK badge for their contribution to this repo.

## Issue reference

This PR fixes #546 

### Please reference the issue this PR will close: #546 

## Checklist

Please make sure you've  completed the relevant tasks for this PR, out of the following list:

* [x] Code compiles correctly.
* [x] Correct and accurate change has been done as per the issue suggestion.
* [x] YAML doesn't throw any error.

Signed-off-by: Rutam Prita Mishra <rutamprita@gmail.com>
2024-04-15 16:04:57 +08:00
Yaron Schneider 8c7cc2d68b
Merge pull request #529 from mikeee/update-release1.10
Bring release1.10 into main
2024-03-06 07:04:21 -08:00
mikeee 37ff65ccc0
Merge branch 'main' into update-release1.10
Signed-off-by: mikeee <hey@mike.ee>
2024-03-06 14:52:33 +00:00
Yaron Schneider c193b83e10
[1.13] update dapr/dapr dep (#528)
Signed-off-by: yaron2 <schneider.yaron@live.com>
2024-03-06 14:46:38 +00:00
Mike Nguyen 50ffb8861b
chore: bump go to 1.21.8 and protobuf library to 1.33.0 (#524)
* chore: bump go to 1.21.8 and protobuf library to 1.33.0

Signed-off-by: mikeee <hey@mike.ee>

* fix: cleanup 🧹 (go mod tidy)

Signed-off-by: mikeee <hey@mike.ee>

---------

Signed-off-by: mikeee <hey@mike.ee>
2024-03-06 14:46:11 +00:00
dependabot[bot] 9642b712e2
Bump github.com/dapr/dapr from 1.13.0-rc.7 to 1.13.0-rc.8 (#519)
Bumps [github.com/dapr/dapr](https://github.com/dapr/dapr) from 1.13.0-rc.7 to 1.13.0-rc.8.
- [Release notes](https://github.com/dapr/dapr/releases)
- [Commits](https://github.com/dapr/dapr/compare/v1.13.0-rc.7...v1.13.0-rc.8)

---
updated-dependencies:
- dependency-name: github.com/dapr/dapr
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: mikeee <hey@mike.ee>
2024-03-06 14:46:09 +00:00
Yaron Schneider aaf21f29cd
update sdk-version (#517)
Signed-off-by: yaron2 <schneider.yaron@live.com>
Signed-off-by: mikeee <hey@mike.ee>
2024-03-06 14:46:07 +00:00
Mike Nguyen ff491f70ed
chore: bump go to 1.21.8 and protobuf library to 1.33.0 (#524)
* chore: bump go to 1.21.8 and protobuf library to 1.33.0

Signed-off-by: mikeee <hey@mike.ee>

* fix: cleanup 🧹 (go mod tidy)

Signed-off-by: mikeee <hey@mike.ee>

---------

Signed-off-by: mikeee <hey@mike.ee>
2024-03-05 12:58:46 -08:00
dependabot[bot] 5ef7aa2234
Bump github.com/dapr/dapr from 1.13.0-rc.7 to 1.13.0-rc.8 (#519)
Bumps [github.com/dapr/dapr](https://github.com/dapr/dapr) from 1.13.0-rc.7 to 1.13.0-rc.8.
- [Release notes](https://github.com/dapr/dapr/releases)
- [Commits](https://github.com/dapr/dapr/compare/v1.13.0-rc.7...v1.13.0-rc.8)

---
updated-dependencies:
- dependency-name: github.com/dapr/dapr
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-28 17:20:40 -08:00
Yaron Schneider 3bfc94e8a8
update sdk-version (#517)
Signed-off-by: yaron2 <schneider.yaron@live.com>
2024-02-27 08:58:57 -08:00
dependabot[bot] 5ec8e7f3ac
Bump google.golang.org/grpc from 1.61.1 to 1.62.0 (#515)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.61.1 to 1.62.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.61.1...v1.62.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-22 14:03:06 -08:00
dependabot[bot] b6d9960c8e
Bump github.com/dapr/dapr from 1.13.0-rc.6 to 1.13.0-rc.7 (#514)
Bumps [github.com/dapr/dapr](https://github.com/dapr/dapr) from 1.13.0-rc.6 to 1.13.0-rc.7.
- [Release notes](https://github.com/dapr/dapr/releases)
- [Commits](https://github.com/dapr/dapr/compare/v1.13.0-rc.6...v1.13.0-rc.7)

---
updated-dependencies:
- dependency-name: github.com/dapr/dapr
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-22 14:02:40 -08:00
dependabot[bot] 7e5ee73aa8
Bump github.com/go-chi/chi/v5 from 5.0.11 to 5.0.12 (#512)
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi) from 5.0.11 to 5.0.12.
- [Release notes](https://github.com/go-chi/chi/releases)
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-chi/chi/compare/v5.0.11...v5.0.12)

---
updated-dependencies:
- dependency-name: github.com/go-chi/chi/v5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-20 09:25:07 +08:00
dependabot[bot] eaaaf9c27d
Bump github.com/dapr/dapr from 1.13.0-rc.2 to 1.13.0-rc.6 (#511)
Bumps [github.com/dapr/dapr](https://github.com/dapr/dapr) from 1.13.0-rc.2 to 1.13.0-rc.6.
- [Release notes](https://github.com/dapr/dapr/releases)
- [Commits](https://github.com/dapr/dapr/compare/v1.13.0-rc.2...v1.13.0-rc.6)

---
updated-dependencies:
- dependency-name: github.com/dapr/dapr
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-19 07:58:46 -08:00
dependabot[bot] 4d5c9103a3
Bump google.golang.org/grpc from 1.61.0 to 1.61.1 (#505)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.61.0 to 1.61.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.61.0...v1.61.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-16 13:16:01 -08:00
mikeee 3fe2ed0e46
add support for parallel workflows (#509)
Signed-off-by: mikeee <hey@mike.ee>
2024-02-15 07:12:04 -08:00
mikeee 60e472293e
docs: fix authentication header level (#506)
Signed-off-by: mikeee <hey@mike.ee>
2024-02-14 08:48:29 -08:00
Gustavo Chaín 1a347b201c
allow to customize the default logger (#496)
Signed-off-by: Gustavo Chain <me@qustavo.cc>
2024-02-13 10:48:48 -08:00
mikeee ac26e622c4
feat: workflow authoring and management support (#487)
* feat: initial workflow

Signed-off-by: mikeee <hey@mike.ee>

* test: add activity context test for input

Signed-off-by: mikeee <hey@mike.ee>

* test: add context texts

Signed-off-by: mikeee <hey@mike.ee>

* fix/test: identify anonymous functions and add tests to runtime

Signed-off-by: mikeee <hey@mike.ee>

* chore: lint and minor fixes

Signed-off-by: mikeee <hey@mike.ee>

* chore: improve readability+tests and implement context method

Signed-off-by: mikeee <hey@mike.ee>

* test: add nil coverage

Signed-off-by: mikeee <hey@mike.ee>

* feat: workflow implementation wip

Signed-off-by: mikeee <hey@mike.ee>

* chore: add missing actor, configuration and workflow runners for validation

Signed-off-by: mikeee <hey@mike.ee>

* chore: lint

Signed-off-by: mikeee <hey@mike.ee>

* fix: missing formatting directives

Signed-off-by: mikeee <hey@mike.ee>

* feat: implement wf state

Signed-off-by: mikeee <hey@mike.ee>

* feat: add workflow management

Signed-off-by: mikeee <hey@mike.ee>

* chore: fix direct proto field references and general lint

Signed-off-by: mikeee <hey@mike.ee>

* fix: correct states

Signed-off-by: mikeee <hey@mike.ee>

* fix: refactor workflow contexts

Signed-off-by: mikeee <hey@mike.ee>

* fix: increase verbosity and move channel

Signed-off-by: mikeee <hey@mike.ee>

* fix: implement full workflow validation

Signed-off-by: mikeee <hey@mike.ee>

* fix: add dapr-app-id to example

Signed-off-by: mikeee <hey@mike.ee>

* fix: set endpoint

Signed-off-by: mikeee <hey@mike.ee>

* chore: revert actor mod change

Signed-off-by: mikeee <hey@mike.ee>

* chore: revert sum addition

Signed-off-by: mikeee <hey@mike.ee>

* fix: wrap wf management set authtoken in context

Signed-off-by: mikeee <hey@mike.ee>

* fix: migrate to dapr builtin sdk client

Signed-off-by: mikeee <hey@mike.ee>

* fix: correct runtime testing logic and lint
The runtime creation should never be successful in test

Signed-off-by: mikeee <hey@mike.ee>

* fix: implement delayed cancellation

Signed-off-by: mikeee <hey@mike.ee>

* fix(minor): rename getDecorator to getFunctionName

Signed-off-by: mikeee <hey@mike.ee>

* fix: remove alpha workflow

Signed-off-by: mikeee <hey@mike.ee>

* fix(validation): remove redundant result line

Signed-off-by: mikeee <hey@mike.ee>

* feat: initial wfclient implementation

Signed-off-by: mikeee <hey@mike.ee>

* fix: remove redundant closer and fix comparison

Signed-off-by: mikeee <hey@mike.ee>

* tests: improve unit test coverage

Signed-off-by: mikeee <hey@mike.ee>

* fix: cleanup

Signed-off-by: mikeee <hey@mike.ee>

* fix: wording change

Co-authored-by: Chris Gillum <cgillum@gmail.com>
Signed-off-by: mikeee <hey@mike.ee>

* fix: wording change

Co-authored-by: Chris Gillum <cgillum@gmail.com>
Signed-off-by: mikeee <hey@mike.ee>

* chore: bump durabletask-go and deps

Signed-off-by: mikeee <hey@mike.ee>

* chore: add copyright

Signed-off-by: mikeee <hey@mike.ee>

* fix: refactor from runtime to worker and other minor changes

Signed-off-by: mikeee <hey@mike.ee>

* fix: update worker tests

Signed-off-by: mikeee <hey@mike.ee>

* fix: remove workflow component requirement and return worker error

Signed-off-by: mikeee <hey@mike.ee>

* fix: reason field validation removed

Signed-off-by: mikeee <hey@mike.ee>

* fix: remove reason tests

Signed-off-by: mikeee <hey@mike.ee>

* refactoring

Signed-off-by: mikeee <hey@mike.ee>

* fix: inputs

Signed-off-by: mikeee <hey@mike.ee>

* tests: add coverage to activity options

Signed-off-by: mikeee <hey@mike.ee>

* feat: add worker options

Signed-off-by: mikeee <hey@mike.ee>

* fix: remove unused logger

Signed-off-by: mikeee <hey@mike.ee>

* feat: add client options and testing

Signed-off-by: mikeee <hey@mike.ee>

* feat: decouple metadata

Signed-off-by: mikeee <hey@mike.ee>

* chore: remove unused client interface

Signed-off-by: mikeee <hey@mike.ee>

* chore: update tests

Signed-off-by: mikeee <hey@mike.ee>

* chore: lint

Signed-off-by: mikeee <hey@mike.ee>

* test: improve coverage

Signed-off-by: mikeee <hey@mike.ee>

* tests: improve unit coverage

Signed-off-by: mikeee <hey@mike.ee>

* feat: initial workflow

Signed-off-by: mikeee <hey@mike.ee>

* test: add activity context test for input

Signed-off-by: mikeee <hey@mike.ee>

* test: add context texts

Signed-off-by: mikeee <hey@mike.ee>

* fix/test: identify anonymous functions and add tests to runtime

Signed-off-by: mikeee <hey@mike.ee>

* chore: lint and minor fixes

Signed-off-by: mikeee <hey@mike.ee>

* chore: improve readability+tests and implement context method

Signed-off-by: mikeee <hey@mike.ee>

* test: add nil coverage

Signed-off-by: mikeee <hey@mike.ee>

* feat: workflow implementation wip

Signed-off-by: mikeee <hey@mike.ee>

* chore: add missing actor, configuration and workflow runners for validation

Signed-off-by: mikeee <hey@mike.ee>

* chore: lint

Signed-off-by: mikeee <hey@mike.ee>

* fix: missing formatting directives

Signed-off-by: mikeee <hey@mike.ee>

* feat: implement wf state

Signed-off-by: mikeee <hey@mike.ee>

* feat: add workflow management

Signed-off-by: mikeee <hey@mike.ee>

* chore: fix direct proto field references and general lint

Signed-off-by: mikeee <hey@mike.ee>

* fix: correct states

Signed-off-by: mikeee <hey@mike.ee>

* fix: refactor workflow contexts

Signed-off-by: mikeee <hey@mike.ee>

* fix: increase verbosity and move channel

Signed-off-by: mikeee <hey@mike.ee>

* fix: implement full workflow validation

Signed-off-by: mikeee <hey@mike.ee>

* fix: add dapr-app-id to example

Signed-off-by: mikeee <hey@mike.ee>

* fix: set endpoint

Signed-off-by: mikeee <hey@mike.ee>

* chore: revert actor mod change

Signed-off-by: mikeee <hey@mike.ee>

* chore: revert sum addition

Signed-off-by: mikeee <hey@mike.ee>

* fix: wrap wf management set authtoken in context

Signed-off-by: mikeee <hey@mike.ee>

* fix: migrate to dapr builtin sdk client

Signed-off-by: mikeee <hey@mike.ee>

* fix: correct runtime testing logic and lint
The runtime creation should never be successful in test

Signed-off-by: mikeee <hey@mike.ee>

* fix: implement delayed cancellation

Signed-off-by: mikeee <hey@mike.ee>

* fix(minor): rename getDecorator to getFunctionName

Signed-off-by: mikeee <hey@mike.ee>

* fix: remove alpha workflow

Signed-off-by: mikeee <hey@mike.ee>

* fix(validation): remove redundant result line

Signed-off-by: mikeee <hey@mike.ee>

* feat: initial wfclient implementation

Signed-off-by: mikeee <hey@mike.ee>

* fix: remove redundant closer and fix comparison

Signed-off-by: mikeee <hey@mike.ee>

* tests: improve unit test coverage

Signed-off-by: mikeee <hey@mike.ee>

* fix: cleanup

Signed-off-by: mikeee <hey@mike.ee>

* fix: wording change

Co-authored-by: Chris Gillum <cgillum@gmail.com>
Signed-off-by: mikeee <hey@mike.ee>

* fix: wording change

Co-authored-by: Chris Gillum <cgillum@gmail.com>
Signed-off-by: mikeee <hey@mike.ee>

* chore: bump durabletask-go and deps

Signed-off-by: mikeee <hey@mike.ee>

* chore: add copyright

Signed-off-by: mikeee <hey@mike.ee>

* fix: refactor from runtime to worker and other minor changes

Signed-off-by: mikeee <hey@mike.ee>

* fix: update worker tests

Signed-off-by: mikeee <hey@mike.ee>

* fix: remove workflow component requirement and return worker error

Signed-off-by: mikeee <hey@mike.ee>

* fix: reason field validation removed

Signed-off-by: mikeee <hey@mike.ee>

* fix: remove reason tests

Signed-off-by: mikeee <hey@mike.ee>

* refactoring

Signed-off-by: mikeee <hey@mike.ee>

* fix: inputs

Signed-off-by: mikeee <hey@mike.ee>

* tests: add coverage to activity options

Signed-off-by: mikeee <hey@mike.ee>

* feat: add worker options

Signed-off-by: mikeee <hey@mike.ee>

* fix: remove unused logger

Signed-off-by: mikeee <hey@mike.ee>

* feat: add client options and testing

Signed-off-by: mikeee <hey@mike.ee>

* feat: decouple metadata

Signed-off-by: mikeee <hey@mike.ee>

* chore: remove unused client interface

Signed-off-by: mikeee <hey@mike.ee>

* chore: update tests

Signed-off-by: mikeee <hey@mike.ee>

* chore: lint

Signed-off-by: mikeee <hey@mike.ee>

* test: improve coverage

Signed-off-by: mikeee <hey@mike.ee>

* tests: improve unit coverage

Signed-off-by: mikeee <hey@mike.ee>

* fix: implement code review suggestions/refactor and gracefully handle errors

Signed-off-by: mikeee <hey@mike.ee>

* fix: innerfailure handling

Signed-off-by: mikeee <hey@mike.ee>

* docs: add docs to public methods and functions

Signed-off-by: mikeee <hey@mike.ee>

* implements correction

Co-authored-by: Chris Gillum <cgillum@gmail.com>
Signed-off-by: mikeee <hey@mike.ee>

* change typecast assertion

Signed-off-by: mikeee <hey@mike.ee>

* improve clarity of notes

Signed-off-by: mikeee <hey@mike.ee>

* fix mod issues from rebasing interactively on github

Signed-off-by: mikeee <hey@mike.ee>

* implement suggestions from review

- task invoke documentation
- refactor type assertion for startworkflowbeta1

Signed-off-by: mikeee <hey@mike.ee>

* remoove unused definition

Signed-off-by: mikeee <hey@mike.ee>

* fix mod

Signed-off-by: mikeee <hey@mike.ee>

---------

Signed-off-by: mikeee <hey@mike.ee>
Co-authored-by: Chris Gillum <cgillum@gmail.com>
2024-02-09 07:32:36 -08:00
mikeee e45054d1f6
introduces go1.22 to tests (and misc cleanup) (#504)
* introduces go1.22

- dapr-bot updated to use go1.22
- adds go1.22 to the test jobs
- adds go1.22 to tooling tests

Signed-off-by: mikeee <hey@mike.ee>

* remove 1.20 tests

Signed-off-by: mikeee <hey@mike.ee>

* dapr-bot workflow changes

- retrieve go version from go.mod
- run go mod tidy rather than go get

Signed-off-by: mikeee <hey@mike.ee>

* bump action versions and release go version is now from go.mod

Signed-off-by: mikeee <hey@mike.ee>

* bump main and tool mod files to 1.21

Signed-off-by: mikeee <hey@mike.ee>

* fix dapr-bot test

Signed-off-by: mikeee <hey@mike.ee>

* test dapr-bot using go version from go.mod

Signed-off-by: mikeee <hey@mike.ee>

* bump action versions and remove explicit caching

Signed-off-by: mikeee <hey@mike.ee>

* bump examples to go1.21 and bump deps

Signed-off-by: mikeee <hey@mike.ee>

* bump compatibility check to 1.21 in the make flow

Signed-off-by: mikeee <hey@mike.ee>

* bump to dapr1.13rc2

Signed-off-by: mikeee <hey@mike.ee>

* tidy sums

Signed-off-by: mikeee <hey@mike.ee>

* empty commit to trigger tests (flaky example service validation)

Signed-off-by: mikeee <hey@mike.ee>

* remove conditionals for modtidy/checkdiff runs

Signed-off-by: mikeee <hey@mike.ee>

---------

Signed-off-by: mikeee <hey@mike.ee>
2024-02-08 10:08:28 -08:00