From 979a7a6b3889d7cb4ef3fa9a816f635f3ac1ac98 Mon Sep 17 00:00:00 2001 From: Nathan Herald Date: Tue, 29 Sep 2026 18:23:25 +0200 Subject: [PATCH 1/2] Check CI for private machine, person, and agent names Public repositories hold invented examples only: no machine or host names, no personal home paths, no real person IDs, no internal agent or fleet IDs. scripts/check-private-names.py fails on any of those in a tracked file, and a new workflow runs it on every push and pull request. What it found here is now invented: a machine name in an e2e comment, the tailnet hostname example in DaemonRuntime and the tailscale URL tests, and home directories in the peers-file and session-list-view tests. The SSH user in the README and the peers tests is alex, and the comments that credited a bug report to a person no longer do. --- .github/workflows/private-names.yml | 15 ++++ README.md | 2 +- browser/src/session-list-view.ts | 2 +- integration/e2e.test.ts | 2 +- integration/peers-file.test.ts | 8 +- integration/ssh-ls.test.ts | 8 +- scripts/check-private-names.py | 124 ++++++++++++++++++++++++++++ src/relay/daemon-runtime.ts | 2 +- test/daemon-runtime.test.ts | 8 +- test/local-status-probe.test.ts | 4 +- test/peers-file.test.ts | 10 +-- test/session-list-view.test.ts | 8 +- 12 files changed, 166 insertions(+), 27 deletions(-) create mode 100644 .github/workflows/private-names.yml create mode 100755 scripts/check-private-names.py diff --git a/.github/workflows/private-names.yml b/.github/workflows/private-names.yml new file mode 100644 index 0000000..7a1b5fa --- /dev/null +++ b/.github/workflows/private-names.yml @@ -0,0 +1,15 @@ +name: Private names + +on: + pull_request: + push: + branches: [main] + +jobs: + check: + runs-on: ubuntu-latest + timeout-minutes: 5 + steps: + - uses: actions/checkout@v4 + - name: No private machine, person, or agent names + run: python3 scripts/check-private-names.py diff --git a/README.md b/README.md index 7d9bee3..03e4c34 100644 --- a/README.md +++ b/README.md @@ -280,7 +280,7 @@ mutation — drop a file at the documented path and `ls`/`peek`/`send`/ #