diff --git a/scripts/codex_lab_package/installer.py b/scripts/codex_lab_package/installer.py index bc27660dd586..fcb0f329adba 100644 --- a/scripts/codex_lab_package/installer.py +++ b/scripts/codex_lab_package/installer.py @@ -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 = ( diff --git a/scripts/codex_lab_package/test_distribution_manifest.py b/scripts/codex_lab_package/test_distribution_manifest.py index 7d6cc8177837..5caa3999a2ec 100644 --- a/scripts/codex_lab_package/test_distribution_manifest.py +++ b/scripts/codex_lab_package/test_distribution_manifest.py @@ -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", ) @@ -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), @@ -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), @@ -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", @@ -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", @@ -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 ) @@ -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", @@ -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", @@ -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", @@ -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", @@ -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", @@ -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", diff --git a/scripts/codex_lab_package/test_installer.py b/scripts/codex_lab_package/test_installer.py index dc75691a5ab0..91895f07fc23 100644 --- a/scripts/codex_lab_package/test_installer.py +++ b/scripts/codex_lab_package/test_installer.py @@ -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 @@ -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",