-
Notifications
You must be signed in to change notification settings - Fork 21
add random job id to eval tests template #197
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: maorfr The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
WalkthroughAdds a generated JOB_ID parameter to test/prow/template.yaml and updates the Job metadata.name to include this parameter, making the job name dynamic. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Pre-merge checks (3 passed)✅ Passed checks (3 passed)
Tip 👮 Agentic pre-merge checks are now available in preview!Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.
Please see the documentation for more information. Example: reviews:
pre_merge_checks:
custom_checks:
- name: "Undocumented Breaking Changes"
mode: "warning"
instructions: |
Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal).Please share your feedback with us on this Discord post. ✨ Finishing Touches🧪 Generate unit tests
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 |
eranco74
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (2)
test/prow/template.yaml (2)
9-16: Add job-id labels for traceability.Including the JOB_ID in labels (Job and Pod template) makes log filtering, cleanup, and metrics grouping easier when multiple runs overlap.
metadata: name: assisted-chat-eval-test-${JOB_ID} labels: app: assisted-chat-eval-test + job-id: ${JOB_ID} ... metadata: labels: app: assisted-chat-eval-test + job-id: ${JOB_ID}
46-48: Generation is fine; document intent and confirm apply/create flow.
- Add a brief description to clarify usage.
- If your pipeline uses oc create (not oc apply), consider using metadata.generateName: "assisted-chat-eval-test-" instead of a parameter. Otherwise your current approach is preferable.
- name: JOB_ID generate: expression from: "[0-9a-f]{7}" + description: "Random 7-hex suffix for Job name; leave empty to auto-generate"Please confirm whether your deployment uses oc apply or oc create so we know if generateName is viable without changing behavior.
|
@maorfr: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
f10503a
into
rh-ecosystem-edge:main
part of https://issues.redhat.com/browse/MGMT-21415
this change will cause a new job to be created after each deployment, guaranteeing more reliable results.
Summary by CodeRabbit