Skip to content

OAPE-752 | CI-Monitor Phase 1#61

Draft
neha037 wants to merge 9 commits into
openshift-eng:mainfrom
neha037:OAPE-752
Draft

OAPE-752 | CI-Monitor Phase 1#61
neha037 wants to merge 9 commits into
openshift-eng:mainfrom
neha037:OAPE-752

Conversation

@neha037

@neha037 neha037 commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@openshift-ci

openshift-ci Bot commented Jun 8, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: neha037
Once this PR has been reviewed and has the lgtm label, please assign shivprakashmuley for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@swghosh swghosh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Perhaps we should reuse the OpenShift Prow CI here, instead of having to reinvent this with GitHub Actions altogether. Using GitHub Actions would cost us more (atleast in terms of setup and reusability, if not direct $$) than using Prow from https://github.com/openshift/release.

IIUC, to get this into action you need periodic jobs which Prow can provide us for this use case.

Comment thread OAPE-710-subtasks.md Outdated

| Aspect | HyperShift | OAPE PR Agent |
| ----------------- | --------------------------------------- | -------------------------------------------------------------------------------------------------- |
| CI platform | GitHub Actions | GitHub Actions |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
| CI platform | GitHub Actions | GitHub Actions |
| CI platform | OpenShift Prow CI | GitHub Actions |

Comment thread OAPE-710-subtasks.md
| On-demand trigger | `/test address-review-comments` | Target repo trigger (`check_run`/`status` failure → `repository_dispatch`), or `workflow_dispatch` |
| PR scope | `app/hypershift-jira-solve-ci` PRs only | All open PRs in allowed repos (`team-repos.csv`) |
| Max items per run | 10 PRs (review agent) | 4 PRs (configurable via `PR_AGENT_MAX_PRS`) |
| Max budget per PR | $5.00 per PR | $5.00 per PR (configurable via `MAX_BUDGET_PER_PR`, passed to `--max-budget-usd`) |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Not sure, https://hypershift.pages.dev/how-to/ci/ai-assisted-ci-jobs/#review-agent but looks like Max Budget and Max Agentic Turns per PR are different?

We should prefer the cost budgeting approach tho.

Comment thread .github/workflows/periodic-pr-agent.yml Outdated
types: [opened, synchronize]
workflow_dispatch:
inputs:
pr_url:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

QQ: where does the input for the pr_url populate from?

Comment thread .github/workflows/periodic-pr-agent.yml Outdated
- name: Authenticate to GCP (Workload Identity Federation)
uses: google-github-actions/auth@v2
with:
workload_identity_provider: ${{ secrets.GCP_WORKLOAD_IDENTITY_PROVIDER }}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

An eg. pitfall for Prow vs GH Actions is the challenge of sharing secrets over GitHub repos securely for multiple team members (our org perhaps restricts direct repo access to all members for security reasons - which can quickly turn into a problem for you).

This is something the OpenShift CI natively solves, might want to look at https://docs.ci.openshift.org/how-tos/adding-a-new-secret-to-ci/.

@neha037 neha037 marked this pull request as draft June 10, 2026 06:32
@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants