Commit Graph

7 Commits

Author SHA1 Message Date
Iain Sproat f761cbf854 tests(integration): mock server validates requests (#130)
* tests(integration): mock server validates requests

* chore(logging): improve error message

* more logging improvements

* fix logging which failed if response was not json

* Use createError method in mock server

* Improve mock server error presentation

* Add speckle_function_command to integration test using github action

* fix broken merge; ours strategy was too agressive

* Resolve 'a sequence was not expected' error message in main.yml

* Tidy up commit to match existing in main

* use tag if available, otherwise commit sha.
2023-06-23 15:58:26 +02:00
Gergő Jedlicska c04f38c738 add function input schema and command processing, TEMP disable annotations 2023-06-22 16:49:21 +02:00
Iain Sproat 17d75370e8 GitHub action should match server (#94)
* fix(response): should match server
2023-05-19 13:24:09 +01:00
Iain Sproat 6365357c7c fix(post schema): match server expectations (#93)
* fix(post schema): match server expectations
* Update example specklefunction
* remove steps property from specklefunction definition
2023-05-19 13:05:36 +01:00
dependabot[bot] 405d0af68d build(deps-dev): bump @typescript-eslint/parser from 5.57.0 to 5.57.1 (#32)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.57.0 to 5.57.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.57.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  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>
Co-authored-by: Iain Sproat <68657+iainsproat@users.noreply.github.com>
2023-04-05 15:20:35 +01:00
Iain Sproat 336f03c1ed feat(client): The client should retry (#16)
* feat(client): implement backoff retries

* feat(client): retries are implemented with exponential backoff & jitter
2023-03-24 22:04:45 +00:00
Iain Sproat 1fceda4724 test(coverage): 100% test coverage & refactor to vitest and msw (#6)
* chore(refactor): tests use vitest and msw
* fix(directory): Ensure filenames conform to eslint requirements
* chore(yarn): Specify node engine version
* fix(yarn): use the proper nodelinker
* fix(GitHub workflow): yarn install with caching
* docs(README): update to match changes

---------

Co-authored-by: Gergő Jedlicska <gergo@jedlicska.com>
2023-03-23 15:37:32 +00:00