Repository navigation
Closed
Labels
laptopThe local (laptop) tool: install, abctl, the numbers
Description
Parent: #1785. Part 5 of 5. Depends on #1800 and on a deprecation window.
Do not start this issue until Hai writes on it that the deprecation window has ended. The window starts with the first release that ships #1800. Until then,
/sdd-fastmust not run on this issue.
Goal
Remove the laptop CPEX build. Keep everything that Kubernetes needs: the Go plugin, the cpex build profile, the authbridge-cpex image, the CPEX FFI pins and go-ci-cpex.
Facts (2026-11-11, upstream main b1a87e38)
- Laptop artifacts:
- the
cortex-cpex_<v>_<os>_<arch>release tarballs (.github/workflows/release-binaries.yaml:205-302, 500). Thebuild-cpexjob blockspublish(release-binaries.yaml:380-383); install.sh --cpex(scripts/install.sh:181, 219-229, 415-433, 1181-1248);agentop updatekeeps the cpex build (cmd/agentop/cmd_update.go:122), and so dodoctor(cmd_doctor_checks.go:88) and the binaries step (setup_step_binaries.go:172);- the Linux release smoke test with
--cpex(scripts/release_smoke_test_linux.sh:365-404); make cortex-cpex(Makefile:87-109).
- the
- Kubernetes artifacts, which stay:
cmd/cortex-cpex/Dockerfile,build.yaml:71-161,scripts/profile-tagsprofilescpexandfullcpex,core/plugins/cpex/,scripts/fetch-cpex-ffi.sh,cmd/cortex-cpex/CPEX_FFI_*, andgo-ci-cpex(ci.yaml:120-197). - The operator repo has no reference to
cpex. It selects images by mode (images.authbridge).
Requirements
- Remove the
cortex-cpextarball legs and thebuild-cpexjob fromrelease-binaries.yaml. Ifbuild-cpexalso builds something that the image or another job needs, keep that part and say so in the PR.publishno longer waits for a cpex tarball. - In
install.sh,--cpexexits with an error that names--praxisanddocs/praxis-policy.md. Removecpex_platform_check,require_cpex_buildand the cpex download path. - In
agentop, remove the code that keeps a cpex build on update, in doctor and in the binaries step. On an install that runs a cpex build today,agentop updateinstalls the normalcortexand prints one line that says why. - Remove the
--cpexpart of the Linux release smoke test. - Keep
make cortex-cpexonly if the image build uses it. Otherwise remove it. - Update
docs/cpex-plugin.md,docs/laptop-service.md,cmd/README.mdandREADME.md: the laptop build is gone, and Kubernetes use is unchanged. - Run
go mod tidy -diffin every module. Run the fullcmd/agentopsuite withscripts/dev/go-test-shards.sh -race cmd/agentop, and fromcmd/agentoprungo test -race $(go list ./... | grep -v 'agentop$').
Plan
Task 1: release and CI (no dependency).
- Files:
.github/workflows/release-binaries.yaml,scripts/release_smoke_test_linux.sh. - Test:
actionlinton the workflow, if it is available. Check thepublishjob's required-tarball list by reading it.
Task 2: install.sh (no dependency).
- File:
scripts/install.sh. - Test: a case in
scripts/install_test.shthat--cpexexits non-zero with the new message.
Task 3: agentop (no dependency).
- Files:
cmd/agentop/cmd_update.go,cmd_doctor_checks.go,setup_step_binaries.go, and their tests. - Test: an update scene where a cpex build is installed. The result is the normal build and the one line.
Task 4: docs and Makefile (needs Tasks 1-3).
- Files:
Makefile,docs/cpex-plugin.md,docs/laptop-service.md,cmd/README.md,README.md.
Order: Tasks 1-3 in parallel, then Task 4. One PR.
Done when
- The requirements hold, and the tests and suites above pass.
go vet ./...passes in all 7 modules.
Not in scope
- Removing the Go plugin or the
authbridge-cpeximage. Kubernetes still uses them.
For a human after review
- Add a release-notes line that says the laptop CPEX build is removed.
Metadata
Metadata
Assignees
Labels
laptopThe local (laptop) tool: install, abctl, the numbers
Type
Projects
- StatusShow more project fieldsDone
Activity
docs: Plan the removal of the laptop cpex build (rossoctl#1801)
huang195 commentedon Nov 16, 2026
PR #1868 did this work. It merged on 2026-11-16.
We did not wait for the deprecation window. No release has shipped #1866 yet, so the next release deprecates and removes the laptop cpex build at the same time. The
cortex-cpex_*alias tarballs thatpublishmakes let an old agentop update to the default build.Steps that remain:
cortex-cpex_*copies.