Skip to content

chore(skills): capture review conventions from secret-paths tooling - #5647

Merged
shekhar-rudder merged 2 commits into
developfrom
chore/skills-secret-paths-review
Oct 14, 2026
Merged

shekhar-rudder merged 2 commits into
developfrom
chore/skills-secret-paths-review

Conversation

@shekhar-rudder

@shekhar-rudder shekhar-rudder commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

What

Folds the review points from #5641 that will recur beyond the secret-paths tooling into the existing skills. No new skill. The generator-specific rules are already recorded in src/secretPaths/tooling/README.md.

  • writing-tests: new section "Fixture Secrets Are Distinctive and Reach the Request". Since feat(secret-paths): derive and publish credential masking paths #5641, the secret-path generator reads every component fixture. A fixture secret that is reused as a non-secret value or appears inside other fixture data publishes a wrong masking path. An auth mock that returns a constant token instead of the case's secret publishes []. Neither fails a test, and regenerating turns CI green again. All three happened in feat(secret-paths): derive and publish credential masking paths #5641.
  • CLAUDE.md: Post-Change Verification step 4. Regenerate secretPaths.json after changing a destination's transform or fixtures. The "Verify generated secret paths" job byte-compares it on every PR, and nothing documented that.
  • code-structure → "Reuse Existing Repo-Wide Utilities": now also covers infrastructure. Reuse the jest entry under jest.config.js, registerAxiosMocks, getTestData and commander instead of re-implementing them. In feat(secret-paths): derive and publish credential masking paths #5641 these were four separate comments, and every re-implementation had already drifted from the original.
  • code-structure → "Avoid eslint-disable": new paragraph. Directives under .eslintignore paths do nothing. Audit them with --no-ignore --no-inline-config before moving code into src/.

Testing

Docs only. Ran Prettier --check on the changed files.

🤖 Generated with Claude Code

Fold the recurring review points from #5641 into the existing skills:

- writing-tests: fixture secrets must be distinctive, never double as
  non-secret values, and auth mocks must carry the case's secret, since
  the secret-path generator now reads every component fixture
- CLAUDE.md: regenerate secretPaths.json when a destination's transform
  or fixtures change; CI byte-compares it on every PR
- code-structure: reuse existing infrastructure (jest entry, registerAxiosMocks,
  getTestData, commander) instead of re-implementing it; don't guard
  states the build cannot produce; test the path production calls
- code-structure: audit eslint-disable directives with --no-inline-config;
  directives under .eslintignore paths do nothing

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@shekhar-rudder
shekhar-rudder requested review from a team as code owners October 12, 2026 07:06
@coderabbitai

coderabbitai Bot commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5aed54a4-e0b2-4f84-8a89-3c26287c3e8d

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Oct 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.11%. Comparing base (f39e815) to head (a6aa561).
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #5647   +/-   ##
========================================
  Coverage    92.11%   92.11%           
========================================
  Files          708      708           
  Lines        39529    39529           
  Branches      9263     9264    +1     
========================================
  Hits         36412    36412           
  Misses        2852     2852           
  Partials       265      265           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@shekhar-rudder
shekhar-rudder merged commit 9124525 into develop Oct 14, 2026
38 of 39 checks passed
@shekhar-rudder
shekhar-rudder deleted the chore/skills-secret-paths-review branch October 14, 2026 16:24
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