Skip to content

chore: strip remaining shell comments and fix here-string parsing - #29

Merged
dhruvjainin merged 1 commit into
mainfrom
chore/strip-shell-comments
Dec 3, 2026
Merged

dhruvjainin merged 1 commit into
mainfrom
chore/strip-shell-comments

Conversation

@dhruvjainin

Copy link
Copy Markdown
Contributor

Summary

  • Fixed bash here-string (<<<) handling in scripts/check-comments.py so <<< is not misparsed as a heredoc (<<) skipping the rest of the file.
  • Stripped the 11 remaining non-directive shell comments in scripts/run-g2-azure.sh (preserving the shebang and # shellcheck disable=SC1090).
  • Verified all 149 .rs, 12 .ts/.mjs, 6 .py, and 12 .sh files have zero non-directive comments (AGENTS.md and scripts/comment-ratchet.json were already updated in chore: ban non-directive code comments and enforce with CI ratchet #24).

Verification

  • python3 scripts/check-comments.py — passed (0 files with comments)
  • python3 -m py_compile on all .py files — passed
  • bash -n on all .sh files — passed
  • cargo fmt --all -- --check — passed
  • cargo check --workspace --all-targets --locked — passed

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying tulipfarm-keep with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2bc7286
Status: ✅  Deploy successful!
Preview URL: https://a6fb3668.tulipfarm-keep.pages.dev
Branch Preview URL: https://chore-strip-shell-comments.tulipfarm-keep.pages.dev

View logs

@dhruvjainin
dhruvjainin merged commit 0a5b941 into main Dec 3, 2026
4 checks passed
@dhruvjainin
dhruvjainin deleted the chore/strip-shell-comments branch December 3, 2026 08:10
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.

1 participant