Title: home: PR #695's dead-env cleanup left two in the same block — file watcher is not actually off (dead DISABLE_FILEWATCHER name) and LSP_TOOL still set · Issue #698 · developing-today/code · GitHub
Open Graph Title: home: PR #695's dead-env cleanup left two in the same block — file watcher is not actually off (dead DISABLE_FILEWATCHER name) and LSP_TOOL still set · Issue #698 · developing-today/code
X Title: home: PR #695's dead-env cleanup left two in the same block — file watcher is not actually off (dead DISABLE_FILEWATCHER name) and LSP_TOOL still set · Issue #698 · developing-today/code
Description: Finding PR #695 (merged, merge commit 3d7b96a5cd4d5476942ec5efa6a7df128159e244, commit 2446d3e999c86c16754bbda901c535b552395154) dropped three dead OpenCode env vars from home/common/default.nix, citing developing-today-forks/opencode#10...
Open Graph Description: Finding PR #695 (merged, merge commit 3d7b96a5cd4d5476942ec5efa6a7df128159e244, commit 2446d3e999c86c16754bbda901c535b552395154) dropped three dead OpenCode env vars from home/common/default.nix, c...
X Description: Finding PR #695 (merged, merge commit 3d7b96a5cd4d5476942ec5efa6a7df128159e244, commit 2446d3e999c86c16754bbda901c535b552395154) dropped three dead OpenCode env vars from home/common/default.nix, c...
Opengraph URL: https://github.com/developing-today/code/issues/698
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"home: PR #695's dead-env cleanup left two in the same block — file watcher is not actually off (dead DISABLE_FILEWATCHER name) and LSP_TOOL still set","articleBody":"## Finding\n\nPR #695 (merged, merge commit `3d7b96a5cd4d5476942ec5efa6a7df128159e244`, commit `2446d3e999c86c16754bbda901c535b552395154`) dropped three dead OpenCode env vars from `home/common/default.nix`, citing developing-today/opencode#105 and developing-today/opencode#115 — but the same `sessionVariables` block still sets two more names those same issues adjudicated as dead, and one of them carries an active behavioural intent that is silently not happening.\n\nFound by the pr-diff-review job reviewing PR #695; verified against current main of both repos on 2026-10-23 (code `3d7b96a5`, opencode `fe5d6c8e943882a01d7914264b710c7e8ac11b5a`), cross-checked via local clones and `gh api` contents.\n\n## Evidence\n\n### 1. `OPENCODE_EXPERIMENTAL_DISABLE_FILEWATCHER` — the file watcher is NOT off, despite the config saying it is\n\n- `home/common/default.nix:1252-1255` on current main:\n ```\n # File watcher off by default (Drew, 2026-10-20): the working trees\n # are giant, and watching costs more than the live-external-edit\n # awareness it buys. Diffs are git-computed on demand either way.\n OPENCODE_EXPERIMENTAL_DISABLE_FILEWATCHER = \"1\";\n ```\n- Nothing in opencode reads that name: `git grep OPENCODE_EXPERIMENTAL_DISABLE_FILEWATCHER` on opencode main returns only docs rows (`packages/web/.../cli.mdx`), no code reader.\n- The actual gate is `packages/cli/src/server-process.ts:146` in opencode:\n ```ts\n filewatcher: !truthy(process.env.OPENCODE_FILEWATCHER_DISABLE ?? process.env.OPENCODE_DISABLE_FILEWATCHER),\n ```\n i.e. the watcher defaults to ON and is disabled only via `OPENCODE_DISABLE_FILEWATCHER` / `OPENCODE_FILEWATCHER_DISABLE`. Neither correct name is set anywhere in this repo (`git grep` on main: no hits).\n- This exact dead name was already adjudicated in opencode: #104 (\"filewatcher-disable sets a dead env name — OPENCODE_EXPERIMENTAL_DISABLE_FILEWATCHER is read nowhere\", CLOSED, fixed there by renaming opencode's own setters to `OPENCODE_DISABLE_FILEWATCHER`), and #115's body calls it out again. PR #695 removed `OPENCODE_EXPERIMENTAL_ICON_DISCOVERY` ~7 lines above this line, in the same block, but left this one.\n\n### 2. `OPENCODE_EXPERIMENTAL_LSP_TOOL` — dead line from the same #105 set PR #695 was cleaning up\n\n- `home/common/default.nix:1240` on current main: `OPENCODE_EXPERIMENTAL_LSP_TOOL = \"1\";`\n- opencode#105 named this variable explicitly as one of its four dead vars (\"the LSP-tool gate (`OPENCODE_EXPERIMENTAL_LSP_TOOL`…)\"), with `git grep` excluding docs returning zero hits; re-verified this run on opencode main `fe5d6c8e`: zero hits outside `packages/web`. #105 is CLOSED and its English docs row for this variable is gone.\n- PR #695's stated four-var list covered three of #105's vars plus #115's icon-discovery var; this one — the fourth #105 var — was not in the list and survives.\n\n## Why it matters\n\n- Item 1 is not cosmetic: the home config's stated intent (Drew, 2026-10-20 — watcher off because the working trees are giant and watching costs more than it buys) is silently not in effect on any machine built from this config. The server spawns with the file watcher on by default.\n- Item 2 is the same silent-no-op class PR #695 was created to eliminate; leaving it re-creates the \"set but unread\" trap for the next reader of this block.\n- Cross-repo scope checked: neither dead name is set in developing-today/openchamber or dezren39/nix (`git grep` on their mains: no hits) — this is a code-repo-only setter, so this single issue tracks the whole finding.\n\n## Acceptance criteria\n\n- [ ] `home/common/default.nix` sets `OPENCODE_DISABLE_FILEWATCHER = \"1\";` (the name `server-process.ts` actually reads) in place of the dead `OPENCODE_EXPERIMENTAL_DISABLE_FILEWATCHER` line, keeping the \"file watcher off by default\" comment accurate.\n- [ ] The `OPENCODE_EXPERIMENTAL_LSP_TOOL = \"1\";` line is removed (mirroring PR #695's drop decision for its #105 siblings), or a reader is implemented in opencode with a test — dropping is the expected route.\n- [ ] `git grep -n \"OPENCODE_EXPERIMENTAL_DISABLE_FILEWATCHER\\|OPENCODE_EXPERIMENTAL_LSP_TOOL\"` over this repo's tracked tree returns no setters (a historical comment noting the rename, if kept, is fine).\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-23T23:22:27Z","url":"https://github.com/developing-today/code/issues/698"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:8a03da81-9674-d019-f766-868062b8c8fc |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A8DC:5F360:7075A8:922C65:6B06268D |
| html-safe-nonce | 0c2257ed0a3cf11300b5a010c5d3f4db72e3361721aba1e8517c320ce652c1d8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOERDOjVGMzYwOjcwNzVBODo5MjJDNjU6NkIwNjI2OEQiLCJ2aXNpdG9yX2lkIjoiMjMyMjYxMDYxNDg3MjQ1MDcwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | acca09a2a23281559c019d3e376ffd798731f77e4803fa5ab362f454a5afe1bd |
| hovercard-subject-tag | issue:6006913178 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/698/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cf215015da2711963dc935e50f5ffcc3fb610a4307c7a6b33fc0565922d70e26/developing-today/code/issues/698 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cf215015da2711963dc935e50f5ffcc3fb610a4307c7a6b33fc0565922d70e26/developing-today/code/issues/698 |
| og:image:alt | Finding PR #695 (merged, merge commit 3d7b96a5cd4d5476942ec5efa6a7df128159e244, commit 2446d3e999c86c16754bbda901c535b552395154) dropped three dead OpenCode env vars from home/common/default.nix, c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9e10bb0ecc0bd0f8692aa89586ee9b54e498d7ab9f244a44cdb5b93653a125ce |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 32e57d5cc2ce6ce92ec6dceb65858344750c27c2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width