-
Notifications
You must be signed in to change notification settings - Fork 1
release: sync dev/v0.9 to main for v0.9.3 #87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
9a0ab13
916ae81
82a9801
c87ba80
0727611
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -54,7 +54,7 @@ go test -run='^$' -fuzz='^FuzzMCPHandler$' -fuzztime=5s ./internal/mcp/ | |||||
|
|
||||||
| ## Conventions | ||||||
|
|
||||||
| - **Commits:** emoji conventional commits — `<emoji> <type>(scope): <description>` (see CONTRIBUTING.md). Enforced by lefthook via `scripts/validate-commit-msg.sh`. | ||||||
| - **Commits:** plain Conventional Commits, no emoji — `<type>(scope): <description>` (see CONTRIBUTING.md). Enforced by lefthook via `scripts/validate-commit-msg.sh`. | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win State that the scope is optional. Line 57 presents Proposed fix-- **Commits:** plain Conventional Commits, no emoji — `<type>(scope): <description>` (see CONTRIBUTING.md). Enforced by lefthook via `scripts/validate-commit-msg.sh`.
+- **Commits:** plain Conventional Commits, no emoji — `<type>: <description>` or `<type>(scope): <description>` (see CONTRIBUTING.md). Enforced by lefthook via `scripts/validate-commit-msg.sh`.📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||
| - **Branches:** `main` is production; one active dev branch is the next release; feature branches merge into the dev branch promptly and are deleted after merge. | ||||||
| - **Tests:** table-driven with `httptest`; anything touching goroutines runs under `-race` in CI — write tests accordingly (no unsynchronized `httptest.ResponseRecorder` access from a handler goroutine; wrap with a mutex-guarded recorder). | ||||||
| - **Errors:** wrap with `fmt.Errorf("context: %w", err)`; structured logging via `log/slog` only. | ||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: CodesWhat/portwing
Length of output: 225
🏁 Script executed:
Repository: CodesWhat/portwing
Length of output: 3474
🏁 Script executed:
Repository: CodesWhat/portwing
Length of output: 734
Fail closed when
origin/${BASE_REF}cannot be resolved.set -euo pipefaildoes not propagate thegit logstatus from process substitution. A failedgit logcan leave the loop with no subjects andfailed=0. Validate the ref and write the log to a temporary file before the loop.Proposed fix
📝 Committable suggestion
🤖 Prompt for AI Agents