Skip to content

Commit e73775e

Browse files
committed
fix(ci): update socket-registry SHA, fix flaky cache test TTL
1 parent 39147e7 commit e73775e

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ permissions:
2727
jobs:
2828
ci:
2929
name: Run CI Pipeline
30-
uses: SocketDev/socket-registry/.github/workflows/ci.yml@b56413387eccc05dd8a392d421602289971ac1fe # main
30+
uses: SocketDev/socket-registry/.github/workflows/ci.yml@7fa48b6cd525f57f98d92dbd35794cc9b20f2d14 # main
3131
with:
3232
test-setup-script: 'pnpm run build'
3333
lint-script: 'pnpm run lint --all'
@@ -46,7 +46,7 @@ jobs:
4646
runs-on: ubuntu-latest
4747
timeout-minutes: 10
4848
steps:
49-
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@b56413387eccc05dd8a392d421602289971ac1fe # main
49+
- uses: SocketDev/socket-registry/.github/actions/setup-and-install@7fa48b6cd525f57f98d92dbd35794cc9b20f2d14 # main
5050
with:
5151
node-version: '24'
5252

.github/workflows/provenance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ permissions:
2121

2222
jobs:
2323
publish:
24-
uses: SocketDev/socket-registry/.github/workflows/provenance.yml@b56413387eccc05dd8a392d421602289971ac1fe # main
24+
uses: SocketDev/socket-registry/.github/workflows/provenance.yml@7fa48b6cd525f57f98d92dbd35794cc9b20f2d14 # main
2525
with:
2626
debug: ${{ inputs.debug }}
2727
package-name: '@socketsecurity/lib'

test/unit/cache-with-ttl.test.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ describe.sequential('cache-with-ttl', () => {
3838

3939
// Create a fresh cache instance for each test
4040
cache = createTtlCache({
41-
ttl: 1000, // 1 second for tests
41+
ttl: 60_000, // 60 seconds for tests (prevents flaky failures on slow CI)
4242
prefix: 'test-cache',
4343
memoize: true,
4444
})

0 commit comments

Comments
 (0)