diff --git a/changelog.md b/changelog.md index 65b3ed0..b025022 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,13 @@ # Changelog +## 2025-08-19 - 1.3.4 - fix(test) +Increase test timeout, enable DockerImageStore test, update test image name, bump smartrequest patch, and add local claude settings + +- Increase tstest timeout from 120s to 600s in package.json to accommodate longer-running integration tests. +- Unskip the DockerImageStore integration test and change stored image name from 'hello' to 'hello2' in test/test.nonci.node.ts. +- Bump dependency @push.rocks/smartrequest from ^4.3.0 to ^4.3.1. +- Add .claude/settings.local.json to allow local agent permissions for running tests and related tooling. + ## 2025-08-19 - 1.3.3 - fix(classes.host) Adjust requestStreaming timeout and autoDrain; stabilize tests diff --git a/package.json b/package.json index f88cf42..0cfb461 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "typings": "dist_ts/index.d.ts", "type": "module", "scripts": { - "test": "(tstest test/ --verbose --logfile --timeout 120)", + "test": "(tstest test/ --verbose --logfile --timeout 600)", "build": "(tsbuild --web --allowimplicitany)", "buildDocs": "tsdoc" }, @@ -42,7 +42,7 @@ "@push.rocks/smartnetwork": "^4.1.2", "@push.rocks/smartpath": "^6.0.0", "@push.rocks/smartpromise": "^4.2.3", - "@push.rocks/smartrequest": "^4.3.0", + "@push.rocks/smartrequest": "^4.3.1", "@push.rocks/smartstream": "^3.2.5", "@push.rocks/smartstring": "^4.0.15", "@push.rocks/smartunique": "^3.0.9", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5f4b21f..84fd69a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -36,8 +36,8 @@ importers: specifier: ^4.2.3 version: 4.2.3 '@push.rocks/smartrequest': - specifier: ^4.3.0 - version: 4.3.0 + specifier: ^4.3.1 + version: 4.3.1 '@push.rocks/smartstream': specifier: ^3.2.5 version: 3.2.5 @@ -715,8 +715,8 @@ packages: '@push.rocks/smartrequest@2.1.0': resolution: {integrity: sha512-3eHLTRInHA+u+W98TqJwgTES7rRimBAsJC4JxVNQC3UUezmblAhM5/TIQsEBQTsbjAY8SeQKy6NHzW6iTiaD8w==} - '@push.rocks/smartrequest@4.3.0': - resolution: {integrity: sha512-bFfPOoe1LmNC51/62pvbyO1wg0AzhZu+jU1FZ6/HVkA8tCYQCqSagEL/dfUDCFyOqOKmYJnY/01dsKqKG3Zu5g==} + '@push.rocks/smartrequest@4.3.1': + resolution: {integrity: sha512-H5FQSfFEbSJCHpE2A+SasQQcxM5FlxhHIUEzhUsSLjtlCTEu9T7Xb1WzVLFYvdWfyP5VIrg+XM4AMOols8cG+Q==} '@push.rocks/smartrouter@1.3.3': resolution: {integrity: sha512-1+xZEnWlhzqLWAaJ1zFNhQ0zgbfCWQl1DBT72LygLxTs+P0K8AwJKgqo/IX6CT55kGCFnPAZIYSbVJlGsgrB0w==} @@ -3666,7 +3666,7 @@ snapshots: '@push.rocks/smartopen': 2.0.0 '@push.rocks/smartpath': 6.0.0 '@push.rocks/smartpromise': 4.2.3 - '@push.rocks/smartrequest': 4.3.0 + '@push.rocks/smartrequest': 4.3.1 '@push.rocks/smartrx': 3.0.10 '@push.rocks/smartsitemap': 2.0.3 '@push.rocks/smartstream': 3.2.5 @@ -4385,7 +4385,7 @@ snapshots: '@push.rocks/smartlog': 3.1.8 '@push.rocks/smartnpm': 2.0.6 '@push.rocks/smartpath': 6.0.0 - '@push.rocks/smartrequest': 4.3.0 + '@push.rocks/smartrequest': 4.3.1 '@push.rocks/smartshell': 3.3.0 transitivePeerDependencies: - aws-crt @@ -4416,7 +4416,7 @@ snapshots: '@push.rocks/smartmongo': 2.0.12(socks@2.8.7) '@push.rocks/smartpath': 6.0.0 '@push.rocks/smartpromise': 4.2.3 - '@push.rocks/smartrequest': 4.3.0 + '@push.rocks/smartrequest': 4.3.1 '@push.rocks/smarts3': 2.2.6 '@push.rocks/smartshell': 3.3.0 '@push.rocks/smarttime': 4.1.1 @@ -4648,7 +4648,7 @@ snapshots: '@push.rocks/smartfile': 11.2.7 '@push.rocks/smartpath': 6.0.0 '@push.rocks/smartpromise': 4.2.3 - '@push.rocks/smartrequest': 4.3.0 + '@push.rocks/smartrequest': 4.3.1 '@push.rocks/smartrx': 3.0.10 '@push.rocks/smartstream': 3.2.5 '@push.rocks/smartunique': 3.0.9 @@ -4799,7 +4799,7 @@ snapshots: '@push.rocks/smartmime': 2.0.4 '@push.rocks/smartpath': 6.0.0 '@push.rocks/smartpromise': 4.2.3 - '@push.rocks/smartrequest': 4.3.0 + '@push.rocks/smartrequest': 4.3.1 '@push.rocks/smartstream': 3.2.5 '@types/fs-extra': 11.0.4 '@types/js-yaml': 4.0.9 @@ -4917,7 +4917,7 @@ snapshots: '@push.rocks/smartfile': 11.2.7 '@push.rocks/smartpath': 6.0.0 '@push.rocks/smartpromise': 4.2.3 - '@push.rocks/smartrequest': 4.3.0 + '@push.rocks/smartrequest': 4.3.1 '@push.rocks/smarttime': 4.1.1 '@push.rocks/smartversion': 3.0.5 package-json: 8.1.1 @@ -4999,7 +4999,7 @@ snapshots: agentkeepalive: 4.5.0 form-data: 4.0.4 - '@push.rocks/smartrequest@4.3.0': + '@push.rocks/smartrequest@4.3.1': dependencies: '@push.rocks/smartenv': 5.0.13 '@push.rocks/smartpath': 6.0.0 diff --git a/test/test.nonci.node.ts b/test/test.nonci.node.ts index 5a4eb21..56a3b6d 100644 --- a/test/test.nonci.node.ts +++ b/test/test.nonci.node.ts @@ -152,7 +152,7 @@ tap.test('should import images', async () => { expect(importedImage).toBeInstanceOf(docker.DockerImage); }); -tap.skip.test('should expose a working DockerImageStore', async () => { +tap.test('should expose a working DockerImageStore', async () => { // lets first add am s3 target const s3Descriptor = { endpoint: await testQenv.getEnvVarOnDemand('S3_ENDPOINT'), @@ -163,7 +163,7 @@ tap.skip.test('should expose a working DockerImageStore', async () => { await testDockerHost.addS3Storage(s3Descriptor); // - await testDockerHost.imageStore.storeImage('hello', plugins.smartfile.fsStream.createReadStream(plugins.path.join(paths.nogitDir, 'testimage.tar'))); + await testDockerHost.imageStore.storeImage('hello2', plugins.smartfile.fsStream.createReadStream(plugins.path.join(paths.nogitDir, 'testimage.tar'))); }) tap.test('cleanup', async () => { diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 3aea763..479b653 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@apiclient.xyz/docker', - version: '1.3.3', + version: '1.3.4', description: 'Provides easy communication with Docker remote API from Node.js, with TypeScript support.' }