Skip to content

Commit a32c6ef

Browse files
authored
chore: Update Core to a8150d5c (+job ordering update) (#1513)
1 parent 1c6f96c commit a32c6ef

File tree

13 files changed

+232
-222
lines changed

13 files changed

+232
-222
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ We welcome contributions from the community. To contribute, please start by open
2929

3030
The current maintainers are:
3131

32-
- [Roey `bergundy`](https://github.com/bergundy)
33-
- [James `mjameswh`](https://github.com/mjameswh)
32+
- [James Waktins-Harvey](https://github.com/mjameswh)
33+
- [Antonio Lain](https://github.com/antlai-temporal)
3434

35-
If you'd like to join us, [email Roey](mailto:roey@temporal.io). We'd be happy to have help with any of these things:
35+
If you'd like to give a hand, pelase reach us on our [community Slack workspace](https://temporalio.slack.com/channels/typescript-sdk). We'd be happy to have help with any of these things:
3636

3737
- Triaging issues
3838
- Reviewing PRs

packages/common/src/converter/payload-converter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ export function arrayFromPayloads(converter: PayloadConverter, payloads?: Payloa
8787
export function mapFromPayloads<K extends string>(
8888
converter: PayloadConverter,
8989
map?: Record<K, Payload> | null | undefined
90-
): Record<K, unknown> | undefined | null {
91-
if (map == null) return map;
90+
): Record<K, unknown> | undefined {
91+
if (map == null) return undefined;
9292
return Object.fromEntries(
9393
Object.entries(map).map(([k, payload]): [K, unknown] => {
9494
const value = converter.fromPayload(payload as Payload);

packages/common/src/internal-non-workflow/codec-helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ export async function decodeOptionalMap(
122122
): Promise<Record<string, DecodedPayload> | null | undefined> {
123123
if (payloads == null) return payloads;
124124
return Object.fromEntries(
125-
await Promise.all(Object.entries(payloads).map(async ([k, v]) => [k, await decode(codecs, [v])]))
125+
await Promise.all(Object.entries(payloads).map(async ([k, v]) => [k, (await decode(codecs, [v]))[0]]))
126126
);
127127
}
128128

packages/core-bridge/Cargo.lock

Lines changed: 86 additions & 88 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/core-bridge/sdk-core

Submodule sdk-core updated 65 files

packages/test/src/test-sinks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ if (RUN_INTEGRATION_TESTS) {
115115
workflowType: 'sinksWorkflow',
116116
lastFailure: undefined,
117117
lastResult: undefined,
118-
memo: undefined,
118+
memo: {},
119119
parent: undefined,
120120
searchAttributes: {},
121121
historyLength: 3,

0 commit comments

Comments
 (0)