Skip to content

initial work for updateItemQuery #53

initial work for updateItemQuery

initial work for updateItemQuery #53

Triggered via pull request March 26, 2024 19:32
Status Failure
Total duration 46s
Artifacts

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
src/queryBuilders/updateItemQueryBuilder.integration.test.ts > UpdateItemQueryBuilder > handles update item query with SET statements: src/queryBuilders/updateItemQueryBuilder.ts#L264
ResourceNotFoundException: Cannot do operations on a non-existent table ❯ de_ResourceNotFoundExceptionRes node_modules/.pnpm/@AWS-SDK+client-dynamodb@3.529.1/node_modules/@aws-sdk/client-dynamodb/dist-cjs/index.js:2385:21 ❯ de_CommandError node_modules/.pnpm/@AWS-SDK+client-dynamodb@3.529.1/node_modules/@aws-sdk/client-dynamodb/dist-cjs/index.js:2066:19 ❯ node_modules/.pnpm/@smithy+middleware-serde@2.2.1/node_modules/@smithy/middleware-serde/dist-cjs/index.js:35:20 ❯ node_modules/.pnpm/@AWS-SDK+lib-dynamodb@3.529.1_@aws-sdk+client-dynamodb@3.529.1/node_modules/@aws-sdk/lib-dynamodb/dist-cjs/index.js:158:30 ❯ node_modules/.pnpm/@smithy+core@1.3.7/node_modules/@smithy/core/dist-cjs/index.js:165:18 ❯ node_modules/.pnpm/@smithy+middleware-retry@2.1.6/node_modules/@smithy/middleware-retry/dist-cjs/index.js:320:38 ❯ node_modules/.pnpm/@AWS-SDK+middleware-logger@3.523.0/node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js:33:22 ❯ UpdateItemQueryBuilder.execute src/queryBuilders/updateItemQueryBuilder.ts:264:18 ❯ src/queryBuilders/updateItemQueryBuilder.integration.test.ts:17:5 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { '$fault': 'client', '$metadata': { httpStatusCode: 400, requestId: 'c25bcedb-bdf2-441a-ba92-ecbe820e7c7b', extendedRequestId: undefined, cfId: undefined, attempts: 1, totalRetryDelay: +0 }, __type: 'com.amazonaws.dynamodb.v20120810#ResourceNotFoundException', '$response': { statusCode: 400, reason: 'Bad Request', headers: { server: 'Jetty(12.0.2)', date: 'Tue, 26 Mar 2024 19:32:47 GMT', 'x-amzn-requestid': 'c25bcedb-bdf2-441a-ba92-ecbe820e7c7b', 'content-type': 'application/x-amz-json-1.0', 'content-length': '128' }, body: { _events: { close: undefined, error: 'Function<anonymous>', data: undefined, end: 'Function<responseOnEnd>', readable: undefined }, _readableState: { highWaterMark: 16384, buffer: [], bufferIndex: +0, length: +0, pipes: [], awaitDrainWriters: null, constructor: 'Function<ReadableState>', objectMode: false, ended: true, endEmitted: true, reading: false, constructed: true, sync: true, needReadable: false, emittedReadable: false, readableListening: false, resumeScheduled: false, errorEmitted: false, emitClose: true, autoDestroy: true, destroyed: true, closed: true, closeEmitted: true, multiAwaitDrain: false, readingMore: true, dataEmitted: true, errored: null, defaultEncoding: 'utf8', decoder: null, encoding: null, flowing: false, pipesCount: +0, paused: true }, _maxListeners: undefined, socket: null, httpVersionMajor: 1, httpVersionMinor: 1, httpVersion: '1.1', complete: true, rawHeaders: [ 'Server', 'Jetty(12.0.2)', 'Date', 'Tue, 26 Mar 2024 19:32:47 GMT', 'x-amzn-RequestId', 'c25bcedb-bdf2-441a-ba92-ecbe820e7c7b', 'Content-Type', 'application/x-amz-json-1.0', 'Content-Length', '128' ], rawTrailers: [], joinDuplicateHeaders: undefined, aborted: false, upgrade: false, url: '', method: null, statusCode: 400, statusMessage: 'Bad Request', client: { connecting: false, _hadError: false, _parent: null, _host: 'localhost', _closeAfterHandlingError: false, _events: { close: 'Function<onClose>', error: 'Function<bound onceWrapper>', prefinish: undefined, finish: undefined, drain: undefined, data: undefined, end: 'Function<onReadableStreamEnd>', readable: undefined, connect: undefined, free: 'Function<onFree>', timeout: 'Function<onTimeout>', agentRemove: 'Function<onRemove>' }, _readableState: { highWaterMark: 16384, buffer: [], bufferIndex: +0, length: +0, pipes: [], awaitDrainWriters: null, constructor: 'Function<ReadableState>', objectMode: false, ended: false, endEmitted: false, reading: true, constructed: true, sync: false, needReadable: true, emittedReadable: false, readableListening: false, resumeScheduled: false, errorEmitted: false, emitClose: false, autoDestroy: true, destroyed: false, closed: false, closeEmitted: false, multiAwaitDrain: false, readingMore: false, dataEmitted: true, errored: null, defaultEncoding: 'utf8', decoder: null, encoding: null, flowing: true, pipesCount: +0, paused: false }, _writableState: { highWaterMark: 16384, length: +0, corked: +0, onwrite:
test
Process completed with exit code 1.
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.