[codex] add configurable automatic git fetch interval #7559
ci.yml
on: pull_request
Format, Lint, Typecheck, Test, Browser Test, Build
2m 35s
Release Smoke
25s
Annotations
5 errors and 9 warnings
|
Format, Lint, Typecheck, Test, Browser Test, Build
Process completed with exit code 1.
|
|
src/serverSettings.test.ts > server settings > defaults blank binary paths to provider executables:
apps/server/src/serverSettings.ts#L67
ServerSettingsError: Server settings error at <memory>: failed to normalize server settings: Expected a string with no leading or trailing whitespace, got " "
at ["providers"]["codex"]["binaryPath"]
❯ src/serverSettings.ts:67:9
❯ ../../node_modules/.bun/effect@4.0.0-beta.59/node_modules/effect/src/internal/effect.ts:3143:72
❯ body ../../node_modules/.bun/effect@4.0.0-beta.59/node_modules/effect/src/Utils.ts:242:11
❯ internalCall ../../node_modules/.bun/effect@4.0.0-beta.59/node_modules/effect/src/internal/effect.ts:944:94
❯ Object.~effect/Effect/evaluate ../../node_modules/.bun/effect@4.0.0-beta.59/node_modules/effect/src/internal/effect.ts:890:21
❯ FiberImpl.runLoop ../../node_modules/.bun/effect@4.0.0-beta.59/node_modules/effect/src/internal/effect.ts:633:39
❯ runLoop ../../node_modules/.bun/effect@4.0.0-beta.59/node_modules/effect/src/internal/effect.ts:593:22
❯ evaluate ../../node_modules/.bun/effect@4.0.0-beta.59/node_modules/effect/src/internal/effect.ts:1030:14
❯ resume ../../node_modules/.bun/effect@4.0.0-beta.59/node_modules/effect/src/Effect.ts:23234:12
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { settingsPath: '<memory>', detail: 'failed to normalize server settings: Expected a string with no leading or trailing whitespace, got " "\n at ["providers"]["codex"]["binaryPath"]', _tag: 'ServerSettingsError' }
Caused by: Caused by: SchemaError: Expected a string with no leading or trailing whitespace, got " "
at ["providers"]["codex"]["binaryPath"]
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { '~effect/Schema/SchemaError': '~effect/Schema/SchemaError', _tag: 'SchemaError', issue: { '~effect/SchemaIssue/Issue': '~effect/SchemaIssue/Issue', _tag: 'Composite', ast: { '~effect/Schema': '~effect/Schema', annotations: undefined, checks: undefined, encoding: undefined, context: undefined, _tag: 'Objects', propertySignatures: [ { name: 'enableAssistantStreaming', type: { '~effect/Schema': '~effect/Schema', annotations: undefined, checks: undefined, encoding: [ { to: { '~effect/Schema': '~effect/Schema', annotations: undefined, checks: undefined, encoding: undefined, context: undefined, _tag: 'Boolean', constructor: 'Function<Boolean>', getParser: 'Function<getParser>', getExpected: 'Function<getExpected>', toString: 'Function<toString>' }, transformation: { '~effect/SchemaTransformation/Transformation': '~effect/SchemaTransformation/Transformation', _tag: 'Transformation', decode: { run: 'Function<anonymous>', constructor: 'Function<Getter>', map: 'Function<map>', compose: 'Function<compose>', pipe: 'Function<pipe>' }, encode: { run: 'Function<anonymous>', constructor: 'Function<Getter>', map: 'Function<map>', compose: 'Function<compose>', pipe: 'Function<pipe>' }, constructor: 'Function<Transformation>', flip: 'Function<flip>', compose: 'Function<compose>' }, constructor: 'Function<Link>' } ], context: { isOptional: true, isMutable: false, defaultValue: undefined, annotations: undefined, constructor: 'Function<Context>' }, _tag: 'Union', types: [ { '~effect/Schema': '~effect/Schema', annotations: undefined, checks: undefined, encoding: undefined, context: undefined, _tag: 'Boolean', constructor: 'Function<Boolean>', getParser: 'Function<getParser>', getExpected: 'Function<getExpected>', toString: 'Function<toString>' }, { '~effect/Schema': '~effect/Schema', annotations: undefined, checks: undefined, encoding: undefined, context: undefined, _tag: 'Undefined', constructor: 'Function<Undefined>', getParser: 'Function<getParser>', toCodecJson: 'Function<toCodecJson>', getExpected: 'Function<getExpected>', toString: 'Function<toString>' } ], mode: 'anyOf', constructor: 'Function<Union>', getParser: 'Function<getParser>', recur: 'Function<recur>', getExpected: 'Function<getExpected>', toString: 'Function<toString>' }, constructor: 'Function<PropertySignature>' }, { name: 'automaticGitFetchInterval', type: { '~effect/Schema': '~effect/Schema', annotations: undefi
|
|
src/serverSettings.test.ts > server settings > trims observability settings when updates are applied:
apps/server/src/serverSettings.ts#L67
ServerSettingsError: Server settings error at <memory>: failed to normalize server settings: Expected a string with no leading or trailing whitespace, got " ~/Development "
at ["addProjectBaseDirectory"]
❯ src/serverSettings.ts:67:9
❯ ../../node_modules/.bun/effect@4.0.0-beta.59/node_modules/effect/src/internal/effect.ts:3143:72
❯ body ../../node_modules/.bun/effect@4.0.0-beta.59/node_modules/effect/src/Utils.ts:242:11
❯ internalCall ../../node_modules/.bun/effect@4.0.0-beta.59/node_modules/effect/src/internal/effect.ts:944:94
❯ Object.~effect/Effect/evaluate ../../node_modules/.bun/effect@4.0.0-beta.59/node_modules/effect/src/internal/effect.ts:890:21
❯ FiberImpl.runLoop ../../node_modules/.bun/effect@4.0.0-beta.59/node_modules/effect/src/internal/effect.ts:633:39
❯ runLoop ../../node_modules/.bun/effect@4.0.0-beta.59/node_modules/effect/src/internal/effect.ts:593:22
❯ evaluate ../../node_modules/.bun/effect@4.0.0-beta.59/node_modules/effect/src/internal/effect.ts:1030:14
❯ resume ../../node_modules/.bun/effect@4.0.0-beta.59/node_modules/effect/src/Effect.ts:23234:12
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { settingsPath: '<memory>', detail: 'failed to normalize server settings: Expected a string with no leading or trailing whitespace, got " ~/Development "\n at ["addProjectBaseDirectory"]', _tag: 'ServerSettingsError' }
Caused by: Caused by: SchemaError: Expected a string with no leading or trailing whitespace, got " ~/Development "
at ["addProjectBaseDirectory"]
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { '~effect/Schema/SchemaError': '~effect/Schema/SchemaError', _tag: 'SchemaError', issue: { '~effect/SchemaIssue/Issue': '~effect/SchemaIssue/Issue', _tag: 'Composite', ast: { '~effect/Schema': '~effect/Schema', annotations: undefined, checks: undefined, encoding: undefined, context: undefined, _tag: 'Objects', propertySignatures: [ { name: 'enableAssistantStreaming', type: { '~effect/Schema': '~effect/Schema', annotations: undefined, checks: undefined, encoding: [ { to: { '~effect/Schema': '~effect/Schema', annotations: undefined, checks: undefined, encoding: undefined, context: undefined, _tag: 'Boolean', constructor: 'Function<Boolean>', getParser: 'Function<getParser>', getExpected: 'Function<getExpected>', toString: 'Function<toString>' }, transformation: { '~effect/SchemaTransformation/Transformation': '~effect/SchemaTransformation/Transformation', _tag: 'Transformation', decode: { run: 'Function<anonymous>', constructor: 'Function<Getter>', map: 'Function<map>', compose: 'Function<compose>', pipe: 'Function<pipe>' }, encode: { run: 'Function<anonymous>', constructor: 'Function<Getter>', map: 'Function<map>', compose: 'Function<compose>', pipe: 'Function<pipe>' }, constructor: 'Function<Transformation>', flip: 'Function<flip>', compose: 'Function<compose>' }, constructor: 'Function<Link>' } ], context: { isOptional: true, isMutable: false, defaultValue: undefined, annotations: undefined, constructor: 'Function<Context>' }, _tag: 'Union', types: [ { '~effect/Schema': '~effect/Schema', annotations: undefined, checks: undefined, encoding: undefined, context: undefined, _tag: 'Boolean', constructor: 'Function<Boolean>', getParser: 'Function<getParser>', getExpected: 'Function<getExpected>', toString: 'Function<toString>' }, { '~effect/Schema': '~effect/Schema', annotations: undefined, checks: undefined, encoding: undefined, context: undefined, _tag: 'Undefined', constructor: 'Function<Undefined>', getParser: 'Function<getParser>', toCodecJson: 'Function<toCodecJson>', getExpected: 'Function<getExpected>', toString: 'Function<toString>' } ], mode: 'anyOf', constructor: 'Function<Union>', getParser: 'Function<getParser>', recur: 'Function<recur>', getExpected: 'Function<getExpected>', toString: 'Function<toString>' }, constructor: 'Function<PropertySignature>' }, { name: 'automaticGitFetchInterval', type: { '~effect/Schema': '~effect/Schema', anno
|
|
src/serverSettings.test.ts > server settings > trims provider path settings when updates are applied:
apps/server/src/serverSettings.ts#L67
ServerSettingsError: Server settings error at <memory>: failed to normalize server settings: Expected a string with no leading or trailing whitespace, got " /opt/homebrew/bin/codex "
at ["providers"]["codex"]["binaryPath"]
❯ src/serverSettings.ts:67:9
❯ ../../node_modules/.bun/effect@4.0.0-beta.59/node_modules/effect/src/internal/effect.ts:3143:72
❯ body ../../node_modules/.bun/effect@4.0.0-beta.59/node_modules/effect/src/Utils.ts:242:11
❯ internalCall ../../node_modules/.bun/effect@4.0.0-beta.59/node_modules/effect/src/internal/effect.ts:944:94
❯ Object.~effect/Effect/evaluate ../../node_modules/.bun/effect@4.0.0-beta.59/node_modules/effect/src/internal/effect.ts:890:21
❯ FiberImpl.runLoop ../../node_modules/.bun/effect@4.0.0-beta.59/node_modules/effect/src/internal/effect.ts:633:39
❯ runLoop ../../node_modules/.bun/effect@4.0.0-beta.59/node_modules/effect/src/internal/effect.ts:593:22
❯ evaluate ../../node_modules/.bun/effect@4.0.0-beta.59/node_modules/effect/src/internal/effect.ts:1030:14
❯ resume ../../node_modules/.bun/effect@4.0.0-beta.59/node_modules/effect/src/Effect.ts:23234:12
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { settingsPath: '<memory>', detail: 'failed to normalize server settings: Expected a string with no leading or trailing whitespace, got " /opt/homebrew/bin/codex "\n at ["providers"]["codex"]["binaryPath"]', _tag: 'ServerSettingsError' }
Caused by: Caused by: SchemaError: Expected a string with no leading or trailing whitespace, got " /opt/homebrew/bin/codex "
at ["providers"]["codex"]["binaryPath"]
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { '~effect/Schema/SchemaError': '~effect/Schema/SchemaError', _tag: 'SchemaError', issue: { '~effect/SchemaIssue/Issue': '~effect/SchemaIssue/Issue', _tag: 'Composite', ast: { '~effect/Schema': '~effect/Schema', annotations: undefined, checks: undefined, encoding: undefined, context: undefined, _tag: 'Objects', propertySignatures: [ { name: 'enableAssistantStreaming', type: { '~effect/Schema': '~effect/Schema', annotations: undefined, checks: undefined, encoding: [ { to: { '~effect/Schema': '~effect/Schema', annotations: undefined, checks: undefined, encoding: undefined, context: undefined, _tag: 'Boolean', constructor: 'Function<Boolean>', getParser: 'Function<getParser>', getExpected: 'Function<getExpected>', toString: 'Function<toString>' }, transformation: { '~effect/SchemaTransformation/Transformation': '~effect/SchemaTransformation/Transformation', _tag: 'Transformation', decode: { run: 'Function<anonymous>', constructor: 'Function<Getter>', map: 'Function<map>', compose: 'Function<compose>', pipe: 'Function<pipe>' }, encode: { run: 'Function<anonymous>', constructor: 'Function<Getter>', map: 'Function<map>', compose: 'Function<compose>', pipe: 'Function<pipe>' }, constructor: 'Function<Transformation>', flip: 'Function<flip>', compose: 'Function<compose>' }, constructor: 'Function<Link>' } ], context: { isOptional: true, isMutable: false, defaultValue: undefined, annotations: undefined, constructor: 'Function<Context>' }, _tag: 'Union', types: [ { '~effect/Schema': '~effect/Schema', annotations: undefined, checks: undefined, encoding: undefined, context: undefined, _tag: 'Boolean', constructor: 'Function<Boolean>', getParser: 'Function<getParser>', getExpected: 'Function<getExpected>', toString: 'Function<toString>' }, { '~effect/Schema': '~effect/Schema', annotations: undefined, checks: undefined, encoding: undefined, context: undefined, _tag: 'Undefined', constructor: 'Function<Undefined>', getParser: 'Function<getParser>', toCodecJson: 'Function<toCodecJson>', getExpected: 'Function<getExpected>', toString: 'Function<toString>' } ], mode: 'anyOf', constructor: 'Function<Union>', getParser: 'Function<getParser>', recur: 'Function<recur>', getExpected: 'Function<getExpected>', toString: 'Function<toString>' }, constructor: 'Function<PropertySignature>' }, { name: 'automaticGitFetchIn
|
|
Format, Lint, Typecheck, Test, Browser Test, Build
t3#test: command (/home/runner/_work/t3code/t3code/apps/server) /home/runner/.bun/bin/bun run test exited (1)
|
|
react-hooks(exhaustive-deps):
apps/web/src/components/ChatView.tsx#L3249
React Hook useCallback has a missing dependency: 'composerRef.current'
|
|
react-hooks(exhaustive-deps):
apps/web/src/components/ChatView.tsx#L3112
React Hook useCallback has a missing dependency: 'composerRef.current'
|
|
react-hooks(exhaustive-deps):
apps/web/src/components/ChatView.tsx#L3049
React Hook useCallback has a missing dependency: 'composerRef.current'
|
|
react-hooks(exhaustive-deps):
apps/web/src/components/ChatView.tsx#L3022
React Hook useCallback has a missing dependency: 'composerRef.current'
|
|
react-hooks(exhaustive-deps):
apps/web/src/components/ChatView.tsx#L2470
React Hook useEffect has a missing dependency: 'composerRef.current'
|
|
react-hooks(exhaustive-deps):
apps/web/src/components/ChatView.tsx#L1791
React Hook useCallback has a missing dependency: 'composerRef.current'
|
|
react-hooks(exhaustive-deps):
apps/web/src/components/ChatView.tsx#L1783
React Hook useCallback has a missing dependency: 'composerRef.current'
|
|
unicorn(consistent-function-scoping):
apps/web/src/environments/runtime/catalog.test.ts#L98
Function `resolveRegistryRead` does not capture any variables from its parent scope
|
|
oxc(no-map-spread):
apps/web/src/clientPersistenceStorage.ts#L174
Spreading to modify object properties in `map` calls is inefficient
|