Add vinwolf client workflows#20
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughAdds two new GitHub Actions workflows for the vinwolf target (fuzz and scheduled performance runs) that reuse existing reusable workflows and update README to add a vinwolf row in the Status table. Workflows pass docker image and Changes
Sequence Diagram(s)sequenceDiagram
participant Trigger as Trigger (cron / PR / manual)
participant GH as GitHub Actions
participant Reusable as Reusable Workflow
participant Docker as Docker Image
participant Target as vinwolf Target
Trigger->>GH: start workflow
GH->>Reusable: invoke reusable workflow with inputs
Reusable->>Docker: start container with `--fuzz {TARGET_SOCK}`
Docker->>Target: run vinwolf process
Target-->>Reusable: emit readiness ("listening on")
Reusable-->>GH: report run status
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.github/workflows/vinwolf-performance.yml:
- Line 16: The workflow is referencing a private Docker image via the
docker_image key value 'ghcr.io/bloppan/vinwolf:latest' which will produce 401
Unauthorized at runtime; either replace that value in vinwolf-performance.yml
(and the same reference in vinwolf-fuzz.yml) with a publicly accessible image
tag, or add steps to authenticate to GHCR (e.g., use actions/checkout +
docker/login-action with a PAT or GITHUB_TOKEN) before pulling so the runner can
pull the private image; update the docker_image reference or add authentication
steps consistently across both workflows.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 029ca77d-bb53-4502-a892-118b69d33d18
📒 Files selected for processing (4)
.github/workflows/vinwolf-fuzz.yml.github/workflows/vinwolf-performance.ymlREADME.mdteams/vinwolf/.gitkeep
|
@bloppan can you take a look at this failure: https://github.com/FluffyLabs/jam-testing/actions/runs/23221230115/job/67522727307?pr=20 I think there is some misconfiguration with CLI args. |
|
Hey @tomusdrw , pushed a fix — the ./vinwolf prefix in docker_cmd was being passed as an argument to the entrypoint, causing Error: Unknown argument './vinwolf', so I removed it. |
|
Can you also please update to latest main? The workflow file template now needs token scope explicit permissions defined. |
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
.github/workflows/vinwolf-fuzz.yml (1)
5-7: Include the reusable workflow file in the PR path filter.Right now this workflow won’t run when
./.github/workflows/demo-source.ymlchanges, even though this file depends on it. That can hide vinwolf-specific breakages until later.Suggested diff
on: workflow_dispatch: pull_request: paths: - '.github/workflows/vinwolf-fuzz.yml' + - '.github/workflows/demo-source.yml'🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In @.github/workflows/vinwolf-fuzz.yml around lines 5 - 7, Update the pull_request path filter in vinwolf-fuzz.yml so changes to the reusable workflow are included: in the pull_request.paths array (in vinwolf-fuzz.yml) add the reusable workflow file(s) used by this workflow (e.g. '.github/workflows/demo-source.yml' or whichever reusable workflow the vinwolf-fuzz workflow calls) so edits to those files will trigger the workflow as well.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.github/workflows/vinwolf-fuzz.yml:
- Around line 3-17: Add an explicit top-level permissions block to the workflow
to replace relying on default token scopes: update the
.github/workflows/vinwolf-fuzz.yml file (the workflow that defines the "demo"
job which uses ./.github/workflows/demo-source.yml) and add a top-level
permissions mapping matching your latest main template (include the exact
permission keys/scopes required by the demo-source template, e.g., repository
contents, pull-requests, workflows, or any other scopes your main template
specifies) so the workflow runs with the explicit token privileges expected by
the template.
---
Nitpick comments:
In @.github/workflows/vinwolf-fuzz.yml:
- Around line 5-7: Update the pull_request path filter in vinwolf-fuzz.yml so
changes to the reusable workflow are included: in the pull_request.paths array
(in vinwolf-fuzz.yml) add the reusable workflow file(s) used by this workflow
(e.g. '.github/workflows/demo-source.yml' or whichever reusable workflow the
vinwolf-fuzz workflow calls) so edits to those files will trigger the workflow
as well.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 407f760a-db30-4662-b31c-6b069594730d
📒 Files selected for processing (4)
.github/workflows/vinwolf-fuzz.yml.github/workflows/vinwolf-performance.ymlREADME.mdteams/vinwolf/.gitkeep
🚧 Files skipped from review as they are similar to previous changes (2)
- .github/workflows/vinwolf-performance.yml
- README.md
|
@bloppan can you look at the minifuzz issue? Failure here indicates some conformance mismatch (unless it's spurious, which I doubt). |
|
@tomusdrw I found a bug on my impl, now I pass all minifuzz tests. I've updated the docker image. |
Summary by CodeRabbit