Skip to content

#31 add job_run_id#32

Merged
matthewdevenny merged 1 commit intomainfrom
matt/31-add-job-id
Apr 3, 2026
Merged

#31 add job_run_id#32
matthewdevenny merged 1 commit intomainfrom
matt/31-add-job-id

Conversation

@matthewdevenny
Copy link
Copy Markdown
Contributor

@matthewdevenny matthewdevenny commented Apr 1, 2026

Adds job_run_id to the CreateCargoWallActionJobRequest

We'll start with it as optional and then make it required once its been fully adopted

Related to code-cargo/cargowall-action#39

Copilot AI review requested due to automatic review settings April 1, 2026 21:17
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new job_run_id field to the action job “create” request so clients can optionally include a GitHub Actions run identifier when pushing results to the API.

Changes:

  • Add job_run_id to CreateCargoWallActionJobRequest in the protobuf schema.
  • Regenerate Go protobuf bindings to include JobRunId accessors/fields.
  • Add a new --job-run-id CLI flag and include it in the API request when provided.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
proto/v1/cargo_wall_action.proto Adds job_run_id to the request message (currently implemented by renumbering fields).
pb/cargowall/v1/cargo_wall_action.pb.go Regenerated Go bindings reflecting the new request field.
cmd/summary.go Adds CLI flag and sets JobRunId on the outgoing request when non-zero.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Signed-off-by: Matthew DeVenny <matt@codecargo.com>
@matthewdevenny matthewdevenny merged commit e58b7ff into main Apr 3, 2026
12 checks passed
@matthewdevenny matthewdevenny deleted the matt/31-add-job-id branch April 3, 2026 14:36
@matthewdevenny matthewdevenny mentioned this pull request Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants