Skip to content

[codex] Use compiler-backed schema previews #1839

[codex] Use compiler-backed schema previews

[codex] Use compiler-backed schema previews #1839

Triggered via pull request May 16, 2026 00:09
Status Failure
Total duration 2m 26s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 5 warnings
Test
Process completed with exit code 1.
Test
@executor-js/json-schema-to-typescript#test: command (/home/runner/work/executor/executor/packages/core/json-schema-to-typescript) /home/runner/.bun/bin/bun run test exited (1)
executor(no-try-catch-or-throw): packages/core/json-schema-to-typescript/src/optionValidator.ts#L5
Do not throw errors in Effect domain code. Model failures with Effect.fail or typed error values instead; at true adapter boundaries use a narrow suppression with a boundary reason. Skill: wrdn-effect-typed-errors.
executor(no-switch-statement): packages/core/json-schema-to-typescript/src/generator.ts#L184
Do not use JavaScript switch statements. Use Effect's Match module (Match.value(...).pipe(Match.tag(...), Match.exhaustive)) for type-safe, exhaustive pattern matching.
executor(no-switch-statement): packages/core/json-schema-to-typescript/src/generator.ts#L124
Do not use JavaScript switch statements. Use Effect's Match module (Match.value(...).pipe(Match.tag(...), Match.exhaustive)) for type-safe, exhaustive pattern matching.
executor(no-switch-statement): packages/core/json-schema-to-typescript/src/generator.ts#L77
Do not use JavaScript switch statements. Use Effect's Match module (Match.value(...).pipe(Match.tag(...), Match.exhaustive)) for type-safe, exhaustive pattern matching.
executor(no-switch-statement): packages/core/json-schema-to-typescript/src/generator.ts#L40
Do not use JavaScript switch statements. Use Effect's Match module (Match.value(...).pipe(Match.tag(...), Match.exhaustive)) for type-safe, exhaustive pattern matching.
executor(no-switch-statement): packages/core/json-schema-to-typescript/src/optimizer.ts#L74
Do not use JavaScript switch statements. Use Effect's Match module (Match.value(...).pipe(Match.tag(...), Match.exhaustive)) for type-safe, exhaustive pattern matching.
executor(no-switch-statement): packages/core/json-schema-to-typescript/src/optimizer.ts#L14
Do not use JavaScript switch statements. Use Effect's Match module (Match.value(...).pipe(Match.tag(...), Match.exhaustive)) for type-safe, exhaustive pattern matching.
executor(no-try-catch-or-throw): packages/core/json-schema-to-typescript/src/index.ts#L197
Do not throw errors in Effect domain code. Model failures with Effect.fail or typed error values instead; at true adapter boundaries use a narrow suppression with a boundary reason. Skill: wrdn-effect-typed-errors.
executor(no-error-constructor): packages/core/json-schema-to-typescript/src/index.ts#L152
Do not construct built-in Error objects in Effect domain code. Use typed domain errors and Effect.fail instead; at true adapter boundaries use a narrow suppression with a boundary reason. Skill: wrdn-effect-typed-errors.
executor(no-try-catch-or-throw): packages/core/json-schema-to-typescript/src/index.ts#L152
Do not throw errors in Effect domain code. Model failures with Effect.fail or typed error values instead; at true adapter boundaries use a narrow suppression with a boundary reason. Skill: wrdn-effect-typed-errors.
Typecheck
Process completed with exit code 2.
Typecheck
@executor-js/plugin-desktop-settings#typecheck: command (/home/runner/work/executor/executor/packages/plugins/desktop-settings) /home/runner/.bun/bin/bun run typecheck exited (2)
Test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Lint
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Typecheck
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Format
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Desktop smoke build
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/