benvin
cb54c67be1
Merge pull request 'feat(watchpr): poll GitHub PRs alongside Gitea' ( #32 ) from benvin/watchpr-github into main
...
ci/woodpecker/tag/release Pipeline was successful
Reviewed-on: #32
v0.14.1
2026-11-22 16:50:49 +11:00
benvin
85c80493ac
Merge pull request 'agentgh: add clone and setup for app-attributed pushes' ( #31 ) from benvin/agentgh-clone into main
...
Reviewed-on: #31
2026-11-22 16:50:10 +11:00
unkin-agent
7b9511500b
docs(watchpr): describe rate-limit pause and 403 token re-mint accurately
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
2026-11-22 14:38:50 +11:00
unkin-agent
08340cce22
fix(watchpr): re-read GitHub CI every poll and page through check runs
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
2026-11-22 02:07:25 +11:00
unkin-agent
6261b8e8d3
docs(watchpr): say forge, not Gitea, in the disarmed-conflict hint
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
2026-11-22 02:01:16 +11:00
unkin-agent
05c665857d
fix(watchpr): pause on GitHub rate limits and skip settled CI reads
2026-11-22 02:01:16 +11:00
unkin-agent
2332cf4b5f
fix(watchpr): accept GitHub PR URLs with a trailing path, query or fragment
2026-11-22 02:01:16 +11:00
unkin-agent
c4471975a3
style: gofmt githubpr_test
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
2026-11-22 01:52:58 +11:00
unkin-agent
161a33c2ed
feat(watchpr): poll GitHub PRs alongside Gitea
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline failed
ci/woodpecker/pr/test Pipeline was successful
2026-11-22 01:51:26 +11:00
unkin-agent
2faf4eff59
agentgh: pin origin URLs against insteadOf and bake a stable quoted helper
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
2026-11-21 23:47:53 +11:00
unkin-agent
6c6044c6a0
agentgh: add clone and setup to push github.com clones as the app
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
2026-11-21 23:44:08 +11:00
benvin
10d93aaa90
Merge pull request 'build: add make pre-commit target' ( #30 ) from benvin/make-pre-commit into main
...
ci/woodpecker/tag/release Pipeline was successful
Reviewed-on: #30
v0.14.0
2026-11-21 20:28:47 +11:00
benvin
15ea8b68e5
Merge pull request 'feat: add agentgh github app token tool' ( #29 ) from benvin/agentgh into main
...
Reviewed-on: #29
2026-11-21 20:28:28 +11:00
unkin-agent
22d3d5ba85
build: add make pre-commit target
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
2026-11-21 18:05:50 +11:00
unkin-agent
fa615d1733
fix(agentgh): require https for creds, pin gh to github.com, map signal exits
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
2026-11-21 18:05:15 +11:00
unkin-agent
79a269ebe0
feat: add agentgh github app token tool
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
2026-11-21 18:02:18 +11:00
benvin
e21f41f35c
Merge pull request 'feat: add agentreview github webhook reviewer' ( #28 ) from benvin/agentreview into main
...
ci/woodpecker/tag/release Pipeline was successful
Reviewed-on: #28
v0.13.0
2026-11-18 22:37:16 +11:00
unkin-agent
01e2f94a1f
fix(agentreview): scope git auth to the GitHub host, redact logged errors, cap diff size
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
2026-11-16 23:15:45 +11:00
unkin-agent
be7801a6ed
fix(agentreview): require repo allowlist, pin clone host, block symlinks and secret leaks
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
2026-11-16 23:11:22 +11:00
unkin-agent
37125a0bdd
chore: drop stray agentreview binary
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
2026-11-16 23:06:14 +11:00
unkin-agent
e7058e1fe2
feat: add agentreview github webhook reviewer
2026-11-16 23:06:09 +11:00
benvin
78ed660066
Merge pull request 'ci: authenticate artifactapi rpm upload with a vault token' ( #27 ) from benvin/artifactapi-upload-token into main
...
ci/woodpecker/tag/release Pipeline was successful
Reviewed-on: #27
v0.12.1
2026-10-25 20:27:50 +11:00
unkin-agent
2d342bc463
ci: send vault-minted bearer token on artifactapi rpm upload
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
2026-10-25 19:08:18 +11:00
benvin
836fcc0aa5
Merge pull request 'Add --base to agentpr pr edit' ( #26 ) from benvin/agentpr-edit-base into main
...
ci/woodpecker/tag/release Pipeline was successful
Reviewed-on: #26
v0.12.0
2026-10-17 21:54:02 +11:00
unkin-agent
4ef8f458e2
Add --base to agentpr pr edit to retarget a PR
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
2026-10-17 12:52:36 +11:00
benvin
5b6e15b50f
Merge pull request 'watchpr: add --max-wait with distinct timeout exit code' ( #25 ) from benvin/watchpr-max-wait into main
...
ci/woodpecker/tag/release Pipeline was successful
Reviewed-on: #25
v0.11.0
2026-10-05 22:14:49 +11:00
unkin-agent
00ba3df49c
watchpr: reject --max-wait with --once, test exit-code mapping
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
2026-10-05 22:05:09 +11:00
unkin-agent
639bcbda49
watchpr: add --max-wait, exit 3 on timeout
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
2026-10-05 22:03:13 +11:00
benvin
0f2132b236
Merge pull request 'ci: use container-rpmbuilder image' ( #24 ) from benvin/rpmbuilder-image into main
...
Reviewed-on: #24
2026-10-05 21:44:32 +11:00
unkin-agent
f98414518e
ci: use container-rpmbuilder image
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
2026-10-05 14:39:17 +11:00
benvin
4f95e2f59c
Merge pull request 'ci: switch Go steps to gobuilder, enable S3 build cache' ( #23 ) from benvin/gocache into main
...
Reviewed-on: #23
2026-10-02 23:51:56 +10:00
unkin-agent
0056be8a65
ci: switch Go steps to gobuilder, enable S3 build cache
...
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
golang:1.25 and the stale almalinux9-gobuilder pin are replaced by
gobuilder:0.1.2-alma9 on every step that invokes the Go toolchain, with
GOCACHEPROG wired to the baked-in go-cache-plugin against the shared
S3 cache bucket.
- build.yaml/test.yaml/release.yaml: build+test steps use gobuilder,
cache env added
- pre-commit.yaml: switch pin, add cache (hooks run go vet/go test)
- lint step (test.yaml) and rpm/upload/release steps left untouched
2026-10-02 23:41:39 +10:00
benvin
215e4a96d3
Merge pull request 'agentws: refuse rm on an ambiguous branch name' ( #22 ) from benvin/agentws-rm-ambiguous into main
...
ci/woodpecker/tag/release Pipeline was successful
Reviewed-on: #22
v0.10.2
2026-10-02 23:03:57 +10:00
unkin-agent
6c88d17736
agentws: refuse rm on a branch name shared by several repos
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
2026-10-02 22:50:59 +10:00
benvin
5488a1ddc6
Merge pull request 'watchpr: start the conflict window at the arm' ( #21 ) from benvin/watchpr-arm-window-start into main
...
ci/woodpecker/tag/release Pipeline was successful
Reviewed-on: #21
v0.10.1
2026-09-26 23:45:14 +10:00
unkin-agent
ebdd25f725
watchpr: describe arming as a one-way latch, not a window restart
...
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
The docs claimed every later head/base move restarts the conflict window.
arm() returns early once armed, so only the first move sets armedAt and
every move after it is a no-op. State the real trade-off instead: repeated
moves do not extend the debounce, so a conflict can be confirmed while the
newest recompute is younger than the window.
Also narrow the --json stderr claim to the notices watchpr writes itself
(cobra's terminal Error: line is plain text), rename the test to what it
covers, and stop the unknown-mergeability baseline implying a false answer
arms the rule.
2026-09-26 22:30:14 +10:00
unkin-agent
5928233a97
watchpr: start the conflict window at the arm
...
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
The window ran from the first non-mergeable poll even while the rule was
disarmed, so the poll that armed it confirmed a run it played no part in.
Measure from the later of the run's start and the arm; re-arming stays a
no-op so a base moving under every poll still confirms.
2026-09-26 22:14:25 +10:00
benvin
7ffa123e3d
Merge pull request 'watchpr: only alert on mergeability lost after the baseline' ( #20 ) from benvin/watchpr-baseline-from-first-poll into main
...
Reviewed-on: #20
2026-09-26 21:26:48 +10:00
unkin-agent
91509cb9b2
docs: name the conflict watchpr will never report
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
2026-09-26 21:14:20 +10:00
unkin-agent
15c527ee56
watchpr: emit the baseline under --json
...
The baseline is the only notice that a watch started against an already
conflicted PR, and it was missing from the mode automation uses. It goes to
stderr as a JSON record, leaving stdout a single result record.
2026-09-26 21:14:20 +10:00
unkin-agent
27e48ac45e
watchpr: debounce conflicts on elapsed time, not poll count
...
Merge-input movement arms the conflict rule and no longer clears the run of
non-mergeable observations, so an arming poll's own false cannot be half the
evidence and a base branch moving under every poll cannot starve a real
conflict. The run must now span conflictWindow, measured on the tick that
fired each poll.
2026-09-26 21:14:20 +10:00
unkin-agent
7baa194c52
docs: mergeable is a plain bool, not a tri-state on the wire
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
2026-09-26 20:48:31 +10:00
unkin-agent
54c1d868d3
watchpr: arm the conflict rule on a new merge computation
...
A mergeable=false baseline meant a conflict could never be reported, since
Gitea sends false while it recomputes after a push. Arm on a head or base SHA
change as well as on a mergeable poll, break the conflict run on unknown and
failed polls, and print the baseline with the conditions it suppresses.
2026-09-26 20:48:31 +10:00
unkin-agent
6988be9ff3
watchpr: only alert on mergeability lost after the baseline
...
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
Track mergeability across the whole run and decode it as a tri-state, so a PR already conflicted when watching starts is polled on instead of reported.
2026-09-26 18:45:48 +10:00
benvin
0cf41409f1
Merge pull request 'agentpr: close and reopen issues' ( #19 ) from benvin/agentpr-issue-state into main
...
ci/woodpecker/tag/release Pipeline was successful
Reviewed-on: #19
v0.10.0
2026-09-20 23:08:34 +10:00
unkin-agent
9de9dffab1
agentpr: close and reopen issues
...
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
- add issue close and issue reopen subcommands
- add GetIssue and SetIssueState to the Gitea client
- fail when the issue is already in the requested state
- document the new subcommands in README.md and AGENTS.md
2026-09-20 23:06:15 +10:00
benvin
d77607c4f0
Merge pull request 'Name the cause when a watch stops on an auth failure' ( #18 ) from benvin/watchpr-auth-failure into main
...
ci/woodpecker/tag/release Pipeline was successful
Reviewed-on: #18
v0.9.0
2026-09-19 17:04:18 +10:00
unkin-agent
ff8ac5ea2d
Merge main into watchpr auth failure branch
...
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/pre-commit Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
Keep both sides' additions to client_test.go and adopt main's
EditPROptions -> EditOptions rename.
2026-09-19 16:40:44 +10:00
benvin
81ae4041cd
Merge pull request 'agentws: check out --branch from origin when it exists' ( #17 ) from benvin/agentws-branch-checkout into main
...
Reviewed-on: #17
2026-09-19 16:36:45 +10:00
benvin
2610ea5c09
Merge pull request 'Add agentpr issue create/comment/edit' ( #16 ) from benvin/agentpr-issue into main
...
Reviewed-on: #16
2026-09-19 16:28:33 +10:00