CLI-244 CLI-245 callback infrastructure#157
Conversation
SummarySummaryThis PR implements a callback infrastructure for the SonarQube CLI that moves hook business logic from bash/PowerShell templates into TypeScript command handlers. Instead of embedding complex shell logic in hook scripts, scripts now delegate to centralized Five new hook handlers are introduced:
Supporting infrastructure:
Architecture improvements:
What reviewers should knowReview GuideStart with: Key design decisions:
Testing coverage:
Things to watch:
Integration points:
|
da371c5 to
91be621
Compare
91be621 to
e5bc9f8
Compare
e5bc9f8 to
6f2f053
Compare
6f2f053 to
aa6bc64
Compare
b2c895c to
b8e4288
Compare
aa6bc64 to
3a31a77
Compare
3a31a77 to
c4b4665
Compare
b8e4288 to
26b6e97
Compare
e44c9d3 to
d117a3a
Compare
26b6e97 to
74d9271
Compare
sophio-japharidze-sonarsource
left a comment
There was a problem hiding this comment.
I love the direction this is going 😍
I left a few comments & suggestions, mainly about duplication of secrets scanning logic. I will test it now.
74d9271 to
8e2ad74
Compare
d117a3a to
4b1d963
Compare
4b1d963 to
fc175e7
Compare
8e2ad74 to
b9df45c
Compare
468e45c to
38f15b5
Compare
00173a3 to
9191141
Compare
9191141 to
129cc50
Compare
557751a to
5ca64ea
Compare
PR feedback: rename symbols, remove codex stub, fix hook naming, update tests - Rename scanFiles → scanFilesForSecrets in secrets-scan.ts - Rename callbackCommand → hookCommand in command-tree.ts - Remove codex-pre-tool-use command (out of scope) - Remove PR-specific comments from command-tree.ts - Rename agent-prompt-submit → claude-prompt-submit - Rename agent-post-tool-use → claude-post-tool-use - Consolidate duplicate hook.test.ts tests, assert description shown - Update README.md via gen:docs Improve coverage: unit tests for readStdinJson / readRawStdin
25d692d to
585206d
Compare
585206d to
92f5752
Compare
|



No description provided.