Skip to content

Conversation

@Geeknasty
Copy link

@Geeknasty Geeknasty commented Jan 31, 2026

Summary

This PR enables the KYBER_MODULE_CHANNEL update system on Linux and adds support for non-interactive gRPC service authentication via the KYBER_TOKEN environment variable.

  • Removed the !Platform.isLinux restriction to allow the update check to run on Linux.
  • Added early authentication via KYBER_TOKEN environment variable to support update fetching in Docker environment.

While Platform.isLinux is now allowed, the code now respects the logic that KYBER_MODULE_CHANNEL must be set for Linux. On Linux systems, updates are disabled by default UNLESS the user has explicitly set the KYBER_MODULE_CHANNEL environment variable. This ensures we aren't forcing updates on Linux users.

Rationale

These changes allow dedicated servers to automatically maintain the correct module version without requiring an interactive login flow.

Verification

Tested in a Docker container; verified that the CLI successfully authenticates, checks for updates, and downloads the module artifact based on the provided environment variables.

📸 VIEW SCREENSHOT: (Linux/Docker) kyber-module update using KYBER_MODULE_CHANNEL env variable. (Click to expand) Docker KYBER_MODULE_CHANNEL Screenshot

closes: #27

- Removed the `!Platform.isLinux` restriction to allow the update check to run on Linux.
- Added early authentication via `KYBER_TOKEN` environment variable to support update fetching in non-interactive (Docker) environments.
@Geeknasty Geeknasty requested a review from 7reax as a code owner January 31, 2026 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Support KYBER_MODULE_CHANNEL automated module updates with (Linux/Docker) kyber_cli

1 participant