Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/codex_lab_package/installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
from .smoke import smoke_check


DEFAULT_REPOSITORY = "cbusillo/codex"
DEFAULT_REPOSITORY = "cbusillo/codex-lab"
DEFAULT_APP_DIR = Path.home() / "Applications" / "Codex Lab.app"
DEFAULT_SHIM_DIR = Path.home() / ".local" / "bin"
DEFAULT_STATE_PATH = (
Expand Down
30 changes: 15 additions & 15 deletions scripts/codex_lab_package/test_distribution_manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ def test_builds_and_validates_distribution_manifest(self) -> None:
version="1.2.3",
bundle_version="42",
commit="abc123",
repository="cbusillo/codex",
repository="cbusillo/codex-lab",
workflow="codex-lab-app",
run_id="100",
run_attempt="2",
release_tag="codex-lab-v1.2.3-lab.42",
download_base_url="https://github.com/cbusillo/codex/releases/download/codex-lab-v1.2.3-lab.42/",
download_base_url="https://github.com/cbusillo/codex-lab/releases/download/codex-lab-v1.2.3-lab.42/",
generated_at="2026-06-07T00:00:00Z",
)

Expand Down Expand Up @@ -70,7 +70,7 @@ def test_builds_and_validates_distribution_manifest(self) -> None:
"archiveRoot": "Codex Lab.app",
"description": "Canonical app update unit containing the embedded Codex Lab CLI.",
"fileName": APP_ZIP,
"downloadUrl": "https://github.com/cbusillo/codex/releases/download/codex-lab-v1.2.3-lab.42/"
"downloadUrl": "https://github.com/cbusillo/codex-lab/releases/download/codex-lab-v1.2.3-lab.42/"
+ APP_ZIP,
"notarized": False,
"sha256": sha256_file(app_zip),
Expand All @@ -84,7 +84,7 @@ def test_builds_and_validates_distribution_manifest(self) -> None:
"archiveRoot": "bin/codex-lab",
"description": "Companion CLI wrapper that resolves an installed or sibling Codex Lab.app.",
"fileName": SHIM_ZIP,
"downloadUrl": "https://github.com/cbusillo/codex/releases/download/codex-lab-v1.2.3-lab.42/"
"downloadUrl": "https://github.com/cbusillo/codex-lab/releases/download/codex-lab-v1.2.3-lab.42/"
+ SHIM_ZIP,
"notarized": False,
"sha256": sha256_file(shim_zip),
Expand Down Expand Up @@ -131,7 +131,7 @@ def test_rejects_signed_artifacts_until_signing_is_real(self) -> None:
version="1.2.3",
bundle_version="42",
commit="abc123",
repository="cbusillo/codex",
repository="cbusillo/codex-lab",
workflow="codex-lab-app",
run_id="100",
run_attempt="2",
Expand All @@ -156,7 +156,7 @@ def test_rejects_invalid_download_url(self) -> None:
version="1.2.3",
bundle_version="42",
commit="abc123",
repository="cbusillo/codex",
repository="cbusillo/codex-lab",
workflow="codex-lab-app",
run_id="100",
run_attempt="2",
Expand All @@ -183,16 +183,16 @@ def test_rejects_download_url_for_wrong_release(self) -> None:
version="1.2.3",
bundle_version="42",
commit="abc123",
repository="cbusillo/codex",
repository="cbusillo/codex-lab",
workflow="codex-lab-app",
run_id="100",
run_attempt="2",
release_tag="codex-lab-v1.2.3",
download_base_url="https://github.com/cbusillo/codex/releases/download/codex-lab-v1.2.3",
download_base_url="https://github.com/cbusillo/codex-lab/releases/download/codex-lab-v1.2.3",
generated_at="2026-06-07T00:00:00Z",
)
manifest["artifacts"]["appZip"]["downloadUrl"] = (
"https://github.com/cbusillo/codex/releases/download/codex-lab-v9.9.9/"
"https://github.com/cbusillo/codex-lab/releases/download/codex-lab-v9.9.9/"
+ APP_ZIP
)

Expand All @@ -213,7 +213,7 @@ def test_rejects_release_without_download_urls(self) -> None:
version="1.2.3",
bundle_version="42",
commit="abc123",
repository="cbusillo/codex",
repository="cbusillo/codex-lab",
workflow="codex-lab-app",
run_id="100",
run_attempt="2",
Expand All @@ -238,7 +238,7 @@ def test_rejects_partial_release_download_urls(self) -> None:
version="1.2.3",
bundle_version="42",
commit="abc123",
repository="cbusillo/codex",
repository="cbusillo/codex-lab",
workflow="codex-lab-app",
run_id="100",
run_attempt="2",
Expand Down Expand Up @@ -267,7 +267,7 @@ def test_requires_release_tag_with_download_base_url(self) -> None:
version="1.2.3",
bundle_version="42",
commit="abc123",
repository="cbusillo/codex",
repository="cbusillo/codex-lab",
workflow="codex-lab-app",
run_id="100",
run_attempt="2",
Expand All @@ -282,7 +282,7 @@ def test_requires_release_tag_with_download_base_url(self) -> None:
version="1.2.3",
bundle_version="42",
commit="abc123",
repository="cbusillo/codex",
repository="cbusillo/codex-lab",
workflow="codex-lab-app",
run_id="100",
run_attempt="2",
Expand All @@ -304,7 +304,7 @@ def test_rejects_malformed_release_tag(self) -> None:
version="1.2.3",
bundle_version="42",
commit="abc123",
repository="cbusillo/codex",
repository="cbusillo/codex-lab",
workflow="codex-lab-app",
run_id="100",
run_attempt="2",
Expand All @@ -331,7 +331,7 @@ def test_rejects_release_tag_version_drift(self) -> None:
version="1.2.3",
bundle_version="42",
commit="abc123",
repository="cbusillo/codex",
repository="cbusillo/codex-lab",
workflow="codex-lab-app",
run_id="100",
run_attempt="2",
Expand Down
4 changes: 2 additions & 2 deletions scripts/codex_lab_package/test_installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ def test_rejects_artifact_url_that_is_not_manifest_sibling(self) -> None:
artifacts["appZip"]["downloadUrl"] = artifacts["appZip"][
"downloadUrl"
].replace(
"cbusillo/codex",
"cbusillo/codex-lab",
"evil/example",
)
release.manifest = manifest
Expand Down Expand Up @@ -1187,7 +1187,7 @@ def build_test_release(
version=version,
bundle_version=bundle_version,
commit=commit,
repository="cbusillo/codex",
repository="cbusillo/codex-lab",
workflow="codex-lab-release",
run_id="100",
run_attempt="1",
Expand Down
Loading