SD-10194: Change push to PR open#167
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
85c247c to
e4f0459
Compare
This comment has been minimized.
This comment has been minimized.
|
Claude finished @inesp's task in 2m 11s —— View job The PR cleanly delivers the RBAC→PR fallback and the latest commit resolved all prior MEDIUM findings (non-forcing push, random branch suffix, deferred [LOW] docs/rbac.md still documents the old branch name without the new random suffixLocation: docs/rbac.md:38 Issue: The doc says the asset is committed to a branch Suggestion: Update the example to [LOW]
|
|
Claude finished @inesp's task in 2m 53s —— View job The PR is in solid shape: the prior review's findings are either fixed ( [LOW] Compare-URL fallback still prints a non-actionable link for non-GitHub remotes (documented as deferred)Location: internal/vault/gitrepo_pr.go:202-218 ( Issue: When Suggestion: Fine to ship as-is given the decision-doc note. If/when revisited: detect a GitHub host in [LOW] Commit/push not re-asserted to be on the PR branch under the lock (documented as deferred)Location: internal/vault/gitrepo_pr.go:100-129 ( Issue: PR mode spans three independent lock scopes — Suggestion: Acceptable to defer. The recorded cheap guard — re-check [LOW] `handleIdenticalAsset` path skips the edit gate (likely intentional — flagging for confirmation)Location: internal/commands/add.go:314-318, 499-549 Issue: The RBAC edit gate ( Suggestion: No change needed if intended; a one-line comment on Beyond the above, the implementation reads well: the deferred |
- Append random suffix to PR branch names so attempts never collide - Revert PushSetUpstream to a non-forcing push - Add GitVault.AbortPRBranch, deferred so a mid-flow failure restores the clone - Resolve the PR base from the remote default branch (origin/HEAD), not local HEAD - Document the load-bearing decisions
|
Claude finished @inesp's task in 2m 6s —— View job Review of PR #167 — RBAC → PR fallbackThe implementation is solid and thoroughly documented; all prior-review findings are either fixed or consciously deferred in [LOW] Compare-URL fallback builds a non-actionable link for non-GitHub remotes (documented as deferred)Location: internal/vault/gitrepo_pr.go:135-160, 196-218 ( Issue: When Suggestion: Acceptable to ship. If revisited: detect a GitHub host in [LOW] Commit/push not re-asserted to be on the PR branch under the lock (documented as deferred)Location: internal/vault/gitrepo_pr.go:100-129 ( Issue: PR mode spans three independent lock scopes — Suggestion: Acceptable to defer. The recorded cheap guard — re-check [LOW]
|

Failed:

Succeded:

the pr:

https://github.com/sleuth-io/skills-repository/pull/2/changes