Repository navigation
Mux module
#996
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
A discussion dedicated to the Mux module. Share your thoughts, questions, and feedback here.
Module Scorecard
Drilldown
Presentation & Onboarding — 17 / 17
; file verified present at 249.1 KB.Credential Hygiene — 20 / 20
random_password. No README example contains an inline key or placeholder secret.random_passwordand injects it into the process env and app URL. No user ever pastes a raw key into a template.Restricted-Environment Readiness — 18.5 / 20
registry_url(defaulthttps://registry.npmjs.org) overrides the download URL for@coder/xumin all install paths (npm/pnpm/bun--registryflag and tarball fallbackMETA_URL). Documented in the "Custom Registry" example.install = falseskips all network install and expects a pre-baked binary atinstall_prefix/mux.use_cached = truereuses an existing copy. Both documented with dedicated README examples ("Skip Install", "Use Cached Installation").run.shinstalls to$HOME/.coder-modules/coder/mux, usesmkdir -p,curl,tar,npm install,ln -sf,chmod +x—nosudoinvocation anywhere. Works entirely as an unprivileged user.Engineering Quality — 10 / 10
descriptionand sensible defaults.validationblocks guardpackage_manager,restart_delay_seconds,max_restart_attempts,share, andopen_in. Alifecycle.preconditioncatches theinstall=false+use_cached=trueconflict.mux.tftest.hcl(20+ runs) covers validation, conflict detection, script-content assertions, path defaults, registry override, and package-manager selection.main.test.ts(6 tests) exercises end-to-end install (tarball + npm), argument parsing, signal-kill logging, clean-exit restart, SIGTERM restart, and restart-cap enforcement in real containers.Agent Integration — 5 / 25
random_passwordtoken is a local auth mechanism, not Coder-governed routing or policy enforcement.coder_appresource with healthcheck (/health, 5 s interval, 6 threshold), configurablesubdomain,share,order,group, andopen_in. Documented via the app URL and all README examples.add_projectopens a folder;additional_argumentspasses CLI flags—neither constitutes managed agent configuration.Overall — 77 / 100
Raw 70.5 / 92 → round(70.5 / 92 × 100) = 77
Scored against SCORECARD.md on 2026-10-05 with
solstice-1.All reactions