CLAUDE.md: comments should be concise, explained at first mention, cross-referenced with above/below - #74
Conversation
…d cross-reference with above/below Prompted by a review pass on PR Postgres-Extensions#54's test-harness comments, which had drifted into unnecessary length and repetition. Two rules worth keeping for every future comment, not just that PR: humans have limited context too, so say the point in as few words as it needs; and a comment referencing another spot in the same file should say whether that spot is above or below, so the reader isn't left searching both directions.
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Claude finished @jnasbyupgrade's task in 1m 19s —— View job Review: PR #74 — CLAUDE.md comment conciseness rules
Diff is a clean, doc-only addition (+8/-0) under Findings:
Overall: straightforward, well-scoped documentation change. No changes requested. |
Distilled from PR Postgres-Extensions#54's back-and-forth over where TEST_SCHEMA and the update-testing check should live: a make-level dimension runs locally and never costs a container/job, while a ci.yml-level one always does unless deliberately batched -- which is its own added complexity. The one real exception is when a dimension's whole point is isolation (pg_tle needing its own cluster), not just another combination to run.
|
Claude finished @jnasbyupgrade's task in 9m 19s —— View job Review: PR #74 — CLAUDE.md comment conciseness rules
The PR now contains two commits (the second was pushed after the initial automated review, which only covered the first): 1. 2. New
Both commits are self-consistent, doc-only, and match the conventions elsewhere in the file. No changes requested. |
…le list It was never a valid example -- cat_tools' control file pins schema = 'cat_tools' with relocatable = false, so there's no schema dimension to put anywhere, in make or ci.yml. The general make-vs-ci.yml principle itself is unaffected; it just needed a real example in its place.
|
Claude finished @jnasbyupgrade's task in 1m 9s —— View job Review: PR #74 — CLAUDE.md comment conciseness rules
Since the last automated pass (which covered the first two commits), a third commit was pushed:
Removes All three commits together (comment-conciseness rules, test-matrix-placement section, this example fix) remain doc-only, self-consistent, and match the file's existing conventions — e.g. No changes requested. |
Prompted directly by PR Postgres-Extensions#54/Postgres-Extensions#75 turning into hard-to-follow walls of text (a real contributor to a costly mid-PR mix-up), versus Postgres-Extensions#74's own description staying easy to follow despite covering real backstory. Length past the opening isn't the problem -- an unstructured mass of prose is.
|
Claude finished @jnasbyupgrade's task in 1m 14s —— View job Review: PR #74 — CLAUDE.md comment conciseness rules
A fourth commit (
All four commits together (comment-conciseness rules, test-matrix-placement section, the schema-targeting example fix, and this PR-description-structure bullet) remain doc-only, self-consistent, and match the file's existing conventions. No changes requested. |
Concrete exception worth naming: already mid-explanation of A, need to mention B (which also needs explaining) -- fully explaining B right there often confuses A's explanation more than deferring B would.
|
Claude finished @jnasbyupgrade's task in 1m 29s —— View job Review: PR #74 — CLAUDE.md comment conciseness rules
One new commit since the last automated pass:
Softens the first-mention rule added earlier in this PR (
All five commits together (comment-conciseness + first-mention rules, the test-matrix-placement section, the schema-targeting example fix, and the PR-description-structure bullet) remain doc-only, self-consistent, and match the file's existing conventions (e.g. Aside (not a PR issue): the local working tree has an uncommitted modification to No changes requested. |
…text-leak in PR descriptions Two fixes: the test-matrix-dimension example list didn't need full enumeration (an "etc." example works fine) and implied ci.yml would never grow, plus overstated isolation as the ONLY reason to prefer it -- it's a real tradeoff, just one to bias against by default. Separately, the PR-description structure rule covered organization but not plain wordiness or including discussion history that never resulted in merged code -- both worth calling out on their own.
|
Claude finished @jnasbyupgrade's task in 1m 43s —— View job Review: PR #74 — CLAUDE.md comment conciseness rules
All 6 commits are doc-only changes to
Minor nit (non-blocking): the reworded test-matrix paragraph's closing clause — "weigh the actual tradeoff, just start from a bias toward Everything else (previously reviewed, still holds):
No factual errors, no bare PR/issue-number references, no formatting issues. No changes requested. Aside (not a PR issue): the sandbox's local working tree has an uncommitted modification to |
Prompted by a review pass on PR #54's test-harness comments, which had drifted into unnecessary length and repetition. Two rules worth keeping for every future comment, not just that PR: humans have limited context too, so say the point in as few words as it needs; and a comment referencing another spot in the same file should say whether that spot is above or below, so the reader isn't left searching both directions.