Skip to content

fix: address best-practice deviations and inconsistencies across features#123

Merged
georglauterbach merged 2 commits intomainfrom
copilot/check-repository-best-practices
Apr 12, 2026
Merged

fix: address best-practice deviations and inconsistencies across features#123
georglauterbach merged 2 commits intomainfrom
copilot/check-repository-best-practices

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 12, 2026

Several bugs, a security issue, and minor inconsistencies found during a cross-feature audit of src/.

Bug fixes

  • lang-sh broken shellcheck rcfile path: DCF_LANG_SH_DIR was set to ghcr.io (dots) in both devcontainer-feature.json and install.sh, while shellcheck.customArgs already referenced ghcr_io (underscores). The VS Code shellcheck extension would silently fail to load the rcfile at runtime. Aligned to ghcr_io throughout, consistent with all other features.

  • lang-rust README: undefined container env variable: Pretty-printing snippet referenced ${containerEnv:DCF_LANG_RUST_LLDB_PRETTIFIER}, which is never exported as a containerEnv. NOTES.md (the source of truth) correctly used ${containerEnv:DCF_LANG_RUST_DIR}/lldb_prettifier.py; the README is updated to match.

Security

  • chmod 777 on lldb prettifier script: lang-rust/install.sh set world-writable permissions on lldb_prettifier.py. Changed to 644.

Typos / noise

  • vscode-cache-extensions/README.md: "Fearure" → "Feature"
  • vscode-cache-extensions/install.sh comment: "cary" → "carry"
  • hermes/install.sh: removed a stray # shellcheck disable=SC2154 — no variables in that script trigger SC2154

@georglauterbach georglauterbach marked this pull request as ready for review April 12, 2026 18:30
Signed-off-by: Georg Lauterbach <44545919+georglauterbach@users.noreply.github.com>
@georglauterbach georglauterbach self-requested a review April 12, 2026 18:32
@georglauterbach georglauterbach merged commit f71664a into main Apr 12, 2026
2 checks passed
@georglauterbach georglauterbach deleted the copilot/check-repository-best-practices branch April 12, 2026 18:34
Copilot stopped work on behalf of georglauterbach due to an error April 12, 2026 18:35
Copilot stopped work on behalf of georglauterbach due to an error April 12, 2026 18:39
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.

2 participants