Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: eqms/ctop
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.8.5
Choose a base ref
...
head repository: eqms/ctop
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.8.6
Choose a head ref
  • 7 commits
  • 12 files changed
  • 3 contributors

Commits on Mar 29, 2026

  1. Configuration menu
    Copy the full SHA
    f09eb15 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2026

  1. [CHG] Bump Go 1.24 -> 1.26

    Go 1.24 reached EOL on 2026-02-11. Bump module directive and
    all CI setup-go actions to Go 1.26 to match current supported
    release line.
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
    eqms and claude committed Apr 21, 2026
    Configuration menu
    Copy the full SHA
    59005f3 View commit details
    Browse the repository at this point in the history
  2. [CHG] Upgrade runc v1.1.14 -> v1.4.0, fix races in runc connector

    Patches three unpatched 2025 container-escape CVEs ungepatcht in
    runc 1.1.x line (CVE-2025-31133, CVE-2025-52565, CVE-2025-52881).
    runc 1.1.x is end-of-life and receives no further security fixes.
    
    Changes:
    - go.mod: opencontainers/runc v1.1.14 -> v1.4.0
    - go.mod: fsouza/go-dockerclient v1.7.0 -> v1.13.1 (transitive
      dep on docker/docker v20.10-beta1 blocked runc upgrade because
      it pulled the removed libcontainer/user package)
    - Implicit: cilium/ebpf unpinned from v0.7.0 -> v0.17.3, making
      commit f3fc1f5 (cilium/ebpf pin for runc 1.1.14 compat) obsolete
    
    libcontainer API migration (v1.2+ removed the Factory pattern):
    - connector/runc.go: libcontainer.New + factory.Load(id)
      -> libcontainer.Load(root, id)
    - Container is now *libcontainer.Container (struct pointer)
      instead of libcontainer.Container (interface)
    - connector/collector/runc.go: import path
      runc/libcontainer/cgroups -> opencontainers/cgroups (extracted
      into its own module in runc v1.2)
    
    Race and bug fixes in connector/runc.go (see audit):
    - GetLibc: wrap map read with RLock/RUnlock (previously
      unlocked read while MustGet/delByID wrote under Lock)
    - refreshAll: snapshot container IDs under RLock before channel
      send to avoid racing with concurrent map mutations
    - Get/All: downgrade Lock -> RLock for read-only paths
    - NewRunc: initialise needsRefresh channel (was nil in original;
      any send/receive would have deadlocked silently)
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
    eqms and claude committed Apr 21, 2026
    Configuration menu
    Copy the full SHA
    43fe2ae View commit details
    Browse the repository at this point in the history
  3. [CHG] Migrate golangci-lint v1 -> v2 (config + CI)

    v1 config syntax is no longer supported by golangci-lint v2.x.
    Migrated via 'golangci-lint migrate' (v2.11.4) and verified
    locally with 0 issues.
    
    - .golangci.yml: rewritten to v2 schema (version: "2",
      linters/settings, exclusions/rules, formatters block).
      Functional equivalent: same exclusions for QF1008, SA4004 in
      connector/docker.go, and errcheck suppressions for TUI
      render/refresh functions.
    - ci.yml: golangci-lint-action v6 -> v8, version v1.64 -> v2.11
      (v6/v1.x action-version combo cannot read v2 config).
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
    eqms and claude committed Apr 21, 2026
    Configuration menu
    Copy the full SHA
    c1e4fd2 View commit details
    Browse the repository at this point in the history
  4. [ADD] Phase 3 plan: Bubbletea TUI migration

    Implementation plan for replacing the dead TUI stack
    (gizak/termui v2 pre-release + nsf/termbox-go archived) with
    the maintained Charm ecosystem (Bubble Tea + Lipgloss + Bubbles).
    
    Approach is incremental behind a build tag so the legacy UI
    keeps working until the rewrite lands in full. Six phases,
    estimated 5-7 days of focused work, with open questions to
    resolve before starting.
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
    eqms and claude committed Apr 21, 2026
    Configuration menu
    Copy the full SHA
    8c213d2 View commit details
    Browse the repository at this point in the history
  5. [CHG] Release v0.8.6: runc CVE patches, race fixes, Go 1.26

    - VERSION bump 0.8.5 -> 0.8.6
    - RELEASE_NOTES.md: add bilingual v0.8.6 section covering runc
      CVE patches (CVE-2025-31133, CVE-2025-52565, CVE-2025-52881),
      runC connector race fixes, Go 1.24 -> 1.26, golangci-lint
      v1 -> v2 migration, and the Bubble Tea migration plan
    - README.md: prerequisite Go 1.22+ -> 1.26+ (EN + DE)
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
    eqms and claude committed Apr 21, 2026
    Configuration menu
    Copy the full SHA
    49667b9 View commit details
    Browse the repository at this point in the history
  6. [FIX] CI: Dockerfile Go 1.26 + filter .dockerbuild artifact

    Follow-up to the Go 1.24 -> 1.26 bump in 59005f3. The Dockerfile
    builder image was not updated, so the docker job in CI failed with
    "go.mod requires go >= 1.26.0 (running go 1.24.13)". Bumping the
    builder base to golang:1.26-alpine fixes the docker build.
    
    The release and homebrew jobs also failed because
    actions/download-artifact@v4 downloaded the .dockerbuild provenance
    artifact that docker/build-push-action@v6 uploads automatically,
    and that artifact's download retries exhausted. Adding
    pattern: ctop-* to both download-artifact steps scopes the download
    to the 5 ctop-* binary artifacts only, which is what release and
    homebrew need (SHA computation / release asset upload).
    
    Required to complete the v0.8.6 release after the initial tag
    push produced no GitHub Release, no GHCR image, and no Homebrew
    formula update.
    
    Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
    eqms and claude committed Apr 21, 2026
    Configuration menu
    Copy the full SHA
    ac5a4db View commit details
    Browse the repository at this point in the history
Loading
⌂ 换网址