Repository navigation
Hey guys new 0.4.0 version here
@Decipher @NriotHrreion @maxime-pharmania @MVoikolesco did a lot to improve this project. cheer for them first
Except for CLI app and API tokens, it's not a big change actually. just read it as update note since the last release 0.3.1.
Will focus more on review quality, speed and context for next version.
Changes since 0.3.1
API tokens
Settings can mint a scoped API token. The secret is shown once. The server keeps a hash and a short prefix, plus expiry and last used time. A token cannot create or revoke another token.
Scopes are repository, activity, model, access, and settings, each with read and write.
CLI
proval is a command line client over that API.
proval auth login --url <instance> --token <token>
proval repo list | show | enable | disable | set
proval activity list | show | log | cancel | retry
proval settings get | set
Token create stays in the dashboard. review trigger is wired on the client but the server route is not out yet.
I will try to ship this through package managers such as Homebrew and dnf.
Rate limit hold
If an agent loop dies on a provider quota limit, every review and reply on that provider goes into the queue, including the one that was running. New work stays queued until the reset time. The model provider page shows which provider is held and when it opens again. There is a manual reset that only clears Proval's lock, not the provider's actual usage.
Z.ai and OpenCode Go are supported so far.
Rerun on restart
Proval can wait for running activities on shutdown (set stop_grace_period on the container) and rerun interrupted queued or started work on boot. Duplicate reviews for the same PR are folded together before that rerun. Both options live on the settings page and save with the rest of the instance flags.
Cancel on PR close
When a pull request is merged or closed, repository policy decides what happens to the review.
continuekeeps work that already started. This is the default.continue if already startedkeeps a started review and cancels queued ones.cancelstops both.
Streaming
OpenAI compatible calls stream by default, so an edge proxy cannot cut a long reasoning pass.
Model metadata
Context window length is applied from the models.dev catalog, and the repository form only offers reasoning effort values that model actually supports.
Gitea compatibility
The Forgejo provider now runs against Gitea hosts too. It detects Gitea versus Forgejo from the hostname or /api/forgejo/v1/version, then uses the matching endpoints for inline replies, reactions, approvals, and issue or PR search. Where the APIs diverge, Gitea paths are tried first with a Forgejo fallback.
Additional Notes
- The dashboard log viewer now keeps up to 32000 characters, pretty prints JSON, and highlights
get_file_contentresults.
- Reopening a pull request skips a new review when the current head already has a completed one.
- Pushes that land while a pull request is closed are ignored until it is open again.
- The review detail page shows queued and started times, and hides queued_at when it matches started_at.
- Custom instructions now accept up to 50000 characters.
- Each activity records the reasoning effort that actually ran.
- The repository form can set GitLab and Forgejo webhook token type, secret, and a link to the host's webhook settings.
- GitLab notes that omit
object_attributes.action(GitLab before 16.11) are treated as create, so merge request and issue replies are not skipped. - The sidebar and settings page show the app version.
- Review language has autocomplete.
- Review and reply prompts now carry an author mention policy so the agent uses the author's name correctly.
- Benchmark gained
scoreandpublish, plus GitHub Actions and a full GitLab batch. Results go to proval-benchmark-result. - There is a manual Docker publish workflow for an existing git tag.
Related
- Stream the model completions by @maxime-pharmania in #71
- Scoped API tokens with a dashboard to manage them by @Decipher in #62
- Operate an instance from the command line by @Decipher in #85
- Wait for running activities on shutdown and rerun interrupted work by @seoes in #91
- Cancel running reviews when a PR is merged or closed by @seoes in #92
- Prettier log result with longer maximum length by @seoes in #94
- Benchmark evaluation and publish by @seoes in #95
- Defer reviews until the provider's quota resets by @seoes in #98
- Load model metadata by @seoes in #100
- Gitea compatibility by @MVoikolesco in #101
- Gitea compatibility follow up by @seoes in #102
- Prevent skipping GitLab note replies without action by @NriotHrreion in #104
New Contributors
- @MVoikolesco made first contribution in #101
Full Changelog: 0.3.1...0.4.0