Skip to content

#38 add job_run_id#39

Merged
matthewdevenny merged 6 commits intomainfrom
matt/38-add-job-run-id
Apr 3, 2026
Merged

#38 add job_run_id#39
matthewdevenny merged 6 commits intomainfrom
matt/38-add-job-run-id

Conversation

@matthewdevenny
Copy link
Copy Markdown
Contributor

@matthewdevenny matthewdevenny commented Apr 1, 2026

closes #38

TODO:

  • publish cargowall v1.0.1
  • update setup.ts CARGOWALL_VERSION to refer to v1.0.1
  • remove the check logic around --job-run-id (v1.0.1 will have --job-run-id)

Signed-off-by: Matthew DeVenny <matt@codecargo.com>
Copilot AI review requested due to automatic review settings April 1, 2026 21:55
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 job identifier to the audit summary/API push flow so results can be correlated back to the specific GitHub Actions job/check run (Issue #38).

Changes:

  • Introduces a new Action input job-id (defaulting via workflow expression) for the current job’s check run ID.
  • Conditionally forwards that value to the cargowall summary command as --job-run-id (only if the binary supports the flag).
  • Logs the job ID in the startup configuration output and updates bundled dist/ artifacts accordingly.

Reviewed changes

Copilot reviewed 3 out of 5 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
src/summary.ts Reads job-id and conditionally appends --job-run-id to the summary API push args; updates API-arg removal list.
src/start.ts Logs the configured job identifier in the startup configuration group.
action.yml Adds new job-id input with a default expression.
dist/post/index.js Bundled output reflecting the src/summary.ts change.
dist/main/index.js Bundled output reflecting the src/start.ts change.

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

Signed-off-by: Matthew DeVenny <matt@codecargo.com>
Signed-off-by: Matthew DeVenny <matt@codecargo.com>
Signed-off-by: Matthew DeVenny <matt@codecargo.com>
Signed-off-by: Matthew DeVenny <matt@codecargo.com>
Signed-off-by: Matthew DeVenny <matt@codecargo.com>
@matthewdevenny matthewdevenny merged commit 2c11914 into main Apr 3, 2026
14 checks passed
@matthewdevenny matthewdevenny deleted the matt/38-add-job-run-id branch April 3, 2026 17:51
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.

Add job-id

2 participants