codex: fix CI failure on PR #31952

This commit is contained in:
Adam Perry
2026-07-10 01:52:00 +00:00
parent 5d7578251e
commit 3d792450b5
11 changed files with 130 additions and 56 deletions
@@ -401,9 +401,13 @@
"type": "string"
},
"subpath": {
"type": [
"string",
"null"
"anyOf": [
{
"$ref": "#/definitions/LegacyAppPathString"
},
{
"type": "null"
}
]
}
},
@@ -455,9 +459,13 @@
"type": "string"
},
"subpath": {
"type": [
"string",
"null"
"anyOf": [
{
"$ref": "#/definitions/LegacyAppPathString"
},
{
"type": "null"
}
]
}
},
@@ -186,9 +186,13 @@
"type": "string"
},
"subpath": {
"type": [
"string",
"null"
"anyOf": [
{
"$ref": "#/definitions/LegacyAppPathString"
},
{
"type": "null"
}
]
}
},
@@ -240,9 +244,13 @@
"type": "string"
},
"subpath": {
"type": [
"string",
"null"
"anyOf": [
{
"$ref": "#/definitions/LegacyAppPathString"
},
{
"type": "null"
}
]
}
},
@@ -182,9 +182,13 @@
"type": "string"
},
"subpath": {
"type": [
"string",
"null"
"anyOf": [
{
"$ref": "#/definitions/LegacyAppPathString"
},
{
"type": "null"
}
]
}
},
@@ -236,9 +240,13 @@
"type": "string"
},
"subpath": {
"type": [
"string",
"null"
"anyOf": [
{
"$ref": "#/definitions/LegacyAppPathString"
},
{
"type": "null"
}
]
}
},
@@ -1482,9 +1482,13 @@
"type": "string"
},
"subpath": {
"type": [
"string",
"null"
"anyOf": [
{
"$ref": "#/definitions/LegacyAppPathString"
},
{
"type": "null"
}
]
}
},
@@ -1536,9 +1540,13 @@
"type": "string"
},
"subpath": {
"type": [
"string",
"null"
"anyOf": [
{
"$ref": "#/definitions/LegacyAppPathString"
},
{
"type": "null"
}
]
}
},
+14 -6
View File
@@ -763,9 +763,13 @@
"type": "string"
},
"subpath": {
"type": [
"string",
"null"
"anyOf": [
{
"$ref": "#/definitions/LegacyAppPathString"
},
{
"type": "null"
}
]
}
},
@@ -817,9 +821,13 @@
"type": "string"
},
"subpath": {
"type": [
"string",
"null"
"anyOf": [
{
"$ref": "#/definitions/LegacyAppPathString"
},
{
"type": "null"
}
]
}
},
@@ -9758,9 +9758,13 @@
"type": "string"
},
"subpath": {
"type": [
"string",
"null"
"anyOf": [
{
"$ref": "#/definitions/v2/LegacyAppPathString"
},
{
"type": "null"
}
]
}
},
@@ -9812,9 +9816,13 @@
"type": "string"
},
"subpath": {
"type": [
"string",
"null"
"anyOf": [
{
"$ref": "#/definitions/v2/LegacyAppPathString"
},
{
"type": "null"
}
]
}
},
@@ -5998,9 +5998,13 @@
"type": "string"
},
"subpath": {
"type": [
"string",
"null"
"anyOf": [
{
"$ref": "#/definitions/LegacyAppPathString"
},
{
"type": "null"
}
]
}
},
@@ -6052,9 +6056,13 @@
"type": "string"
},
"subpath": {
"type": [
"string",
"null"
"anyOf": [
{
"$ref": "#/definitions/LegacyAppPathString"
},
{
"type": "null"
}
]
}
},
@@ -193,9 +193,13 @@
"type": "string"
},
"subpath": {
"type": [
"string",
"null"
"anyOf": [
{
"$ref": "#/definitions/LegacyAppPathString"
},
{
"type": "null"
}
]
}
},
@@ -247,9 +251,13 @@
"type": "string"
},
"subpath": {
"type": [
"string",
"null"
"anyOf": [
{
"$ref": "#/definitions/LegacyAppPathString"
},
{
"type": "null"
}
]
}
},
@@ -186,9 +186,13 @@
"type": "string"
},
"subpath": {
"type": [
"string",
"null"
"anyOf": [
{
"$ref": "#/definitions/LegacyAppPathString"
},
{
"type": "null"
}
]
}
},
@@ -240,9 +244,13 @@
"type": "string"
},
"subpath": {
"type": [
"string",
"null"
"anyOf": [
{
"$ref": "#/definitions/LegacyAppPathString"
},
{
"type": "null"
}
]
}
},
@@ -1,5 +1,6 @@
// GENERATED CODE! DO NOT MODIFY BY HAND!
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
import type { LegacyAppPathString } from "../LegacyAppPathString";
export type FileSystemSpecialPath = { "kind": "root" } | { "kind": "minimal" } | { "kind": "project_roots", subpath: string | null, } | { "kind": "tmpdir" } | { "kind": "slash_tmp" } | { "kind": "unknown", path: string, subpath: string | null, };
export type FileSystemSpecialPath = { "kind": "root" } | { "kind": "minimal" } | { "kind": "project_roots", subpath: LegacyAppPathString | null, } | { "kind": "tmpdir" } | { "kind": "slash_tmp" } | { "kind": "unknown", path: string, subpath: LegacyAppPathString | null, };
@@ -14,11 +14,12 @@ use codex_utils_absolute_path::test_support::PathBufExt;
use core_test_support::test_path_buf;
use pretty_assertions::assert_eq;
use std::path::Path;
use std::path::PathBuf;
fn fake_shell_name() -> String {
let shell = crate::shell::Shell {
shell_type: ShellType::Bash,
shell_path: "/bin/bash".to_string(),
shell_path: PathBuf::from("/bin/bash"),
};
shell.name().to_string()
}