Skip to content

Request response workspace#545

Merged
bretambrose merged 82 commits intomainfrom
RequestResponseWorkspace
Jul 10, 2025
Merged

Request response workspace#545
bretambrose merged 82 commits intomainfrom
RequestResponseWorkspace

Conversation

@bretambrose
Copy link
Copy Markdown
Contributor

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Bret Ambrose and others added 30 commits May 10, 2024 10:07
- Add tests for Greengrass samples: IPC and discovery.
- Add new CI job for Greengrass tests.
* Bump braces from 3.0.2 to 3.0.3

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* update dependency

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [ws](https://github.com/websockets/ws) from 7.5.9 to 7.5.10.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@7.5.9...7.5.10)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: GitHub Actions <aws-sdk-common-runtime@amazon.com>
* Add refresh field to GetSecretValueRequest
Co-authored-by: GitHub Actions <aws-sdk-common-runtime@amazon.com>
@bretambrose bretambrose marked this pull request as ready for review March 10, 2025 19:27
} else if (err instanceof CrtError) {
reject(createServiceError("??", err as CrtError));
} else {
reject(createServiceError((err as Error).toString()));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If deserialization fails, the error currently falls into createServiceError((err as Error).toString()), but this might be misleading since it's not actually a service error. Should we consider handling deserialization errors through a different path or introduce a separate error type for clarity?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Service error is a wrapper for every failure possibility. The contract is that failure always gives you a service error, and digging inside gives more details. That being said, the "??" needs to be fixed.

Comment thread lib/iotidentity/iotidentityclient.ts
@bretambrose bretambrose merged commit 92e15d0 into main Jul 10, 2025
15 of 16 checks passed
@bretambrose bretambrose deleted the RequestResponseWorkspace branch July 10, 2025 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants