Skip to content

Commit 9acf0f8

Browse files
authored
perf(tests): drop dead upload-context re-exports and unify the CI dummy key (#7369)
1 parent d8ecc5b commit 9acf0f8

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/test-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ jobs:
190190
NODE_OPTIONS: '--no-warnings --max-old-space-size=8192'
191191
NEXT_PUBLIC_APP_URL: 'https://www.sim.ai'
192192
DATABASE_URL: 'postgresql://postgres:postgres@localhost:5432/simstudio'
193-
ENCRYPTION_KEY: '7cf672e460e430c1fba707575c2b0e2ad5a99dddf9b7b7e3b5646e630861db1c' # dummy key for CI only
193+
ENCRYPTION_KEY: '0000000000000000000000000000000000000000000000000000000000000000' # dummy key for CI only
194194
TURBO_CACHE_DIR: .turbo
195195
SIM_TEST_SHARD: 1/2
196196
run: bun run test
@@ -360,6 +360,6 @@ jobs:
360360
STRIPE_WEBHOOK_SECRET: 'dummy_secret_for_ci_only'
361361
RESEND_API_KEY: 'dummy_key_for_ci_only'
362362
AWS_REGION: 'us-west-2'
363-
ENCRYPTION_KEY: '7cf672e460e430c1fba707575c2b0e2ad5a99dddf9b7b7e3b5646e630861db1c' # dummy key for CI only
363+
ENCRYPTION_KEY: '0000000000000000000000000000000000000000000000000000000000000000' # dummy key for CI only
364364
TURBO_CACHE_DIR: .turbo
365365
run: bunx turbo run build --filter=@sim/app

apps/sim/lib/uploads/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ export {
55
} from '@/lib/uploads/config'
66
export * as ChatFiles from '@/lib/uploads/contexts/chat'
77
export * as CopilotFiles from '@/lib/uploads/contexts/copilot'
8-
export * as ExecutionFiles from '@/lib/uploads/contexts/execution'
9-
export * as WorkspaceFiles from '@/lib/uploads/contexts/workspace'
108
export {
119
getFileMetadata,
1210
getServePathPrefix,

0 commit comments

Comments
 (0)