Conversation
📝 WalkthroughWalkthroughUpdates GitHub Actions workflow references from v2.15.0 to v2.16.0 across multiple CI/CD pipelines. E2E workflow branch switches to feat/delete-extra-resources with new deletion controls, reduced timeouts, and cleanup parameters. E2E test configuration sets skipDelete to True and restructures resource manifests. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 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)
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: 2
🤖 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/on-pr.yaml:
- Line 45: Replace the fragile feature-branch reference
"unbounded-tech/workflows-crossplane/.github/workflows/e2e.yaml@feat/delete-extra-resources"
with a stable pinned ref (release tag or commit SHA) used in the other workflow
(see on-push-main.yaml) so the action points at a permanent version; after the
upstream feature is merged update the ref to the official release tag (or the
same stable ref used in on-push-main.yaml) to keep both workflows consistent and
avoid breakage.
In @.github/workflows/on-push-main.yaml:
- Line 41: The workflow references a feature branch in the uses statement
('unbounded-tech/workflows-crossplane/.github/workflows/e2e.yaml@feat/delete-extra-resources')
which is unsafe for a main branch; change that reference to a stable tag (for
example replace '@feat/delete-extra-resources' with a release tag like
'@v2.16.0') or, if the change is truly temporary, add a clear comment in the
same file near the uses line documenting that this is a short-lived reference
pending merge and who owns it, and ensure the PR that introduces this workflow
includes a follow-up task to update to the final tag.
ℹ️ Review info
Configuration used: defaults
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (4)
.github/workflows/on-pr.yaml.github/workflows/on-push-main.yaml.github/workflows/on-version-tagged.yamltests/e2etest-observe/main.k
|
|
||
| e2e: | ||
| uses: unbounded-tech/workflows-crossplane/.github/workflows/e2e.yaml@v2.15.0 | ||
| uses: unbounded-tech/workflows-crossplane/.github/workflows/e2e.yaml@feat/delete-extra-resources |
There was a problem hiding this comment.
Same concern: feature branch reference is fragile.
As noted in on-push-main.yaml, using feat/delete-extra-resources branch reference is risky. This should be updated to a stable version once the feature is merged into the upstream workflow repository.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In @.github/workflows/on-pr.yaml at line 45, Replace the fragile feature-branch
reference
"unbounded-tech/workflows-crossplane/.github/workflows/e2e.yaml@feat/delete-extra-resources"
with a stable pinned ref (release tag or commit SHA) used in the other workflow
(see on-push-main.yaml) so the action points at a permanent version; after the
upstream feature is merged update the ref to the official release tag (or the
same stable ref used in on-push-main.yaml) to keep both workflows consistent and
avoid breakage.
|
|
||
| e2e: | ||
| uses: unbounded-tech/workflows-crossplane/.github/workflows/e2e.yaml@feat/more-usage-debugging | ||
| uses: unbounded-tech/workflows-crossplane/.github/workflows/e2e.yaml@feat/delete-extra-resources |
There was a problem hiding this comment.
Using a feature branch reference in production workflow is risky.
The e2e workflow references feat/delete-extra-resources branch instead of a stable version tag. This branch could be deleted, rebased, or force-pushed, causing this main branch workflow to break unexpectedly.
Consider using a stable version tag (e.g., v2.16.0) once the feature is merged, or at minimum document that this is a temporary state pending the feature branch merge.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In @.github/workflows/on-push-main.yaml at line 41, The workflow references a
feature branch in the uses statement
('unbounded-tech/workflows-crossplane/.github/workflows/e2e.yaml@feat/delete-extra-resources')
which is unsafe for a main branch; change that reference to a stable tag (for
example replace '@feat/delete-extra-resources' with a release tag like
'@v2.16.0') or, if the change is truly temporary, add a clear comment in the
same file near the uses line documenting that this is a short-lived reference
pending merge and who owns it, and ensure the PR that introduces this workflow
includes a follow-up task to update to the final tag.
Published Crossplane PackageThe following Crossplane package was published as part of this PR: Package: ghcr.io/hops-ops/stack-aws-observe:pr-2-cc57b6e9a4eaf9854c259e0b38be49e942287b71 |
Summary by CodeRabbit
Chores
Tests