Skip to content

PPE 5/5: Remove the laptop CPEX build after the deprecation window #1801

Closed

Description

@huang195

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-fast must 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). The build-cpex job blocks publish (release-binaries.yaml:380-383);
    • install.sh --cpex (scripts/install.sh:181, 219-229, 415-433, 1181-1248);
    • agentop update keeps the cpex build (cmd/agentop/cmd_update.go:122), and so do doctor (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).
  • Kubernetes artifacts, which stay: cmd/cortex-cpex/Dockerfile, build.yaml:71-161, scripts/profile-tags profiles cpex and fullcpex, core/plugins/cpex/, scripts/fetch-cpex-ffi.sh, cmd/cortex-cpex/CPEX_FFI_*, and go-ci-cpex (ci.yaml:120-197).
  • The operator repo has no reference to cpex. It selects images by mode (images.authbridge).

Requirements

  1. Remove the cortex-cpex tarball legs and the build-cpex job from release-binaries.yaml. If build-cpex also builds something that the image or another job needs, keep that part and say so in the PR. publish no longer waits for a cpex tarball.
  2. In install.sh, --cpex exits with an error that names --praxis and docs/praxis-policy.md. Remove cpex_platform_check, require_cpex_build and the cpex download path.
  3. 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 update installs the normal cortex and prints one line that says why.
  4. Remove the --cpex part of the Linux release smoke test.
  5. Keep make cortex-cpex only if the image build uses it. Otherwise remove it.
  6. Update docs/cpex-plugin.md, docs/laptop-service.md, cmd/README.md and README.md: the laptop build is gone, and Kubernetes use is unchanged.
  7. Run go mod tidy -diff in every module. Run the full cmd/agentop suite with scripts/dev/go-test-shards.sh -race cmd/agentop, and from cmd/agentop run go 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: actionlint on the workflow, if it is available. Check the publish job's required-tarball list by reading it.

Task 2: install.sh (no dependency).

  • File: scripts/install.sh.
  • Test: a case in scripts/install_test.sh that --cpex exits 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-cpex image. Kubernetes still uses them.

For a human after review

  • Add a release-notes line that says the laptop CPEX build is removed.

Activity

  1. self-assigned this
    on Nov 11, 2026
  2. added
    laptop
    on Nov 11, 2026
  3. huang195 commented on Nov 16, 2026

    @huang195
    MemberAuthor

    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 that publish makes let an old agentop update to the default build.

    Steps that remain:

    • On the next release, make sure its notes have the cpex line and its assets have the three cortex-cpex_* copies.
    • Tell the CPEX contributor that the laptop build is gone.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

laptop

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions