Skip to content

Update osac repo's required status check for CaaS Netris rename - #166

Merged
eliorerz merged 1 commit into
osac-project:mainfrom
eliorerz:fix-caas-netris-required-check
Aug 5, 2026
Merged

Update osac repo's required status check for CaaS Netris rename#166
eliorerz merged 1 commit into
osac-project:mainfrom
eliorerz:fix-caas-netris-required-check

Conversation

@eliorerz

@eliorerz eliorerz commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Why

osac-project/osac#110 (merged 2026-08-05) deleted e2e-caas-full-install.yml and replaced it with e2e-caas-netris-full-install.yml, but this repo's branch protection for osac still requires the old check name (e2e-caas-full-install / e2e). That check will never report again, which would permanently block every future PR on osac's ruleset (short of an admin bypass).

What

Points the required status check at the new workflow's gating job (e2e-caas-netris-full-install / e2e) — same <workflow-basename> / e2e pattern already used for the vmaas/bmaas entries.

Summary by CodeRabbit

  • Bug Fixes
    • Updated required validation checks to use the correct end-to-end installation workflow.

osac-project/osac#110 replaced e2e-caas-full-install.yml with
e2e-caas-netris-full-install.yml, so the "e2e-caas-full-install / e2e"
required check will never report again -- blocking every future PR on
osac's branch protection forever. Point the required check at the new
workflow's gating job instead.

Signed-off-by: Elior Erez <eerez@redhat.com>
@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown

Review Change Stack

Walkthrough

The repo_osac module now requires the e2e-caas-netris-full-install / e2e status check instead of e2e-caas-full-install / e2e.

Changes

repo_osac status check

Layer / File(s) Summary
Update required E2E status check
repositories.tf
Replaces the required e2e-caas-full-install / e2e status check with e2e-caas-netris-full-install / e2e.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related PRs

Suggested reviewers: larsks, omer-vishlitzky

🚥 Pre-merge checks | ✅ 11
✅ Passed checks (11 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly describes the required status check update for the osac repository after the CaaS Netris rename.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
No-Hardcoded-Secrets ✅ Passed The only change is a public GitHub status-check context string; the patch adds no API keys, tokens, passwords, credentials, private keys, or credential-bearing URLs.
No-Weak-Crypto ✅ Passed The PR changes only one Terraform status-check string; the patch contains no MD5, SHA1, DES, RC4, 3DES, Blowfish, ECB, custom crypto, or secret comparison usage.
No-Injection-Vectors ✅ Passed The PR changes one Terraform literal status-check context; it adds no SQL, shell, eval/exec, pickle, YAML, os.system, or HTML injection sink.
Container-Privileges ✅ Passed The only change replaces a Terraform status-check string; no privileged, host namespace, SYS_ADMIN, or privilege-escalation settings were added.
No-Sensitive-Data-In-Logs ✅ Passed The commit changes only one Terraform status-check context; repository searches found no logging constructs or sensitive values emitted to logs.
Ai-Attribution ✅ Passed The PR description and sole introduced commit do not mention AI tools; the commit has only a Signed-off-by trailer and no Co-Authored-By trailer.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@repositories.tf`:
- Line 150: Add a Red Hat AI attribution trailer to the commit message for the
change near the e2e-caas-netris-full-install integration entry, using either an
Assisted-by or Generated-by trailer; do not use a Co-Authored-By trailer for
this attribution.
- Line 150: Update the repository configuration entry’s context value to exactly
“E2E CaaS Netris Full Install / e2e” while preserving integration_id = 15368.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository: osac-project/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 620826de-9300-4c6a-b8bc-b6fa0c9ccf20

📥 Commits

Reviewing files that changed from the base of the PR and between 2d0fea9 and 6969e69.

📒 Files selected for processing (1)
  • repositories.tf

Comment thread repositories.tf
{ context = "e2e-vmaas-full-install / e2e", integration_id = 15368 },
{ context = "e2e-bmaas-full-install / e2e", integration_id = 15368 },
{ context = "e2e-caas-full-install / e2e", integration_id = 15368 },
{ context = "e2e-caas-netris-full-install / e2e", integration_id = 15368 },

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

message="$(git log -1 --format=%B)"
printf '%s\n' "$message"

grep -Eiq '^(Assisted-by|Generated-by):.*Red Hat' <<<"$message" ||
  { echo "Missing Red Hat Assisted-by or Generated-by trailer" >&2; exit 1; }

if grep -Eiq '^Co-Authored-By:.*(AI|GPT|Claude|Copilot|bot)' <<<"$message"; then
  echo "AI tool must not appear in Co-Authored-By" >&2
  exit 1
fi

Repository: osac-project/github-config

Length of output: 631


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "Commit:"
git show -s --format='%H%n%P%n%s' HEAD

echo
echo "Parsed trailers:"
git show -s --format='%B' HEAD | git interpret-trailers --parse || true

echo
echo "Full commit message:"
git show -s --format='%B' HEAD

Repository: osac-project/github-config

Length of output: 819


Add the required AI attribution trailer.

The commit message lacks a Red Hat Assisted-by or Generated-by trailer. No AI tool appears in a Co-Authored-By trailer.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@repositories.tf` at line 150, Add a Red Hat AI attribution trailer to the
commit message for the change near the e2e-caas-netris-full-install integration
entry, using either an Assisted-by or Generated-by trailer; do not use a
Co-Authored-By trailer for this attribution.

Source: Coding guidelines


🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

rg -n --hidden --glob '!.git/**' \
  'e2e-caas-netris-full-install|e2e-caas-full-install|^\s*(name|e2e):' .

Repository: osac-project/github-config

Length of output: 432


🏁 Script executed:

#!/bin/bash
set -euo pipefail

printf '%s\n' '--- repositories.tf context ---'
sed -n '135,160p' repositories.tf

printf '%s\n' '--- workflow files ---'
git ls-files '.github/workflows/*' | while IFS= read -r file; do
  printf '\n### %s\n' "$file"
  sed -n '1,220p' "$file"
done

printf '%s\n' '--- relevant references ---'
rg -n --hidden --glob '!.git/**' \
  '15368|e2e-caas-netris-full-install|e2e-caas-full-install|repo_osac|Assisted-by|Generated-by|Co-Authored-By' .

printf '%s\n' '--- recent commit trailers ---'
git log -8 --format='%H%n%s%n%(trailers:key=Assisted-by,only)%n%(trailers:key=Generated-by,only)%n%(trailers:key=Co-Authored-By,only)%n---'

Repository: osac-project/github-config

Length of output: 6702


🏁 Script executed:

#!/bin/bash
set -euo pipefail

printf '%s\n' '--- change introducing the context ---'
git show --format=fuller --stat --oneline 6969e69068961fb0c253b15c0182c6cef3956d8c
git show --format= --no-ext-diff 6969e69068961fb0c253b15c0182c6cef3956d8c -- repositories.tf

printf '%s\n' '--- repository remotes ---'
git remote -v

printf '%s\n' '--- public osac workflow definitions ---'
curl -fsSL https://api.github.com/repos/osac-project/osac/actions/workflows \
  | jq -r '.workflows[] | [.name, .path, .state] | `@tsv`' \
  | grep -E 'e2e|install|workflow' || true

printf '%s\n' '--- matching workflow content ---'
for path in \
  .github/workflows/e2e-caas-netris-full-install.yaml \
  .github/workflows/e2e-caas-netris-full-install.yml \
  .github/workflows/e2e-caas-full-install.yaml \
  .github/workflows/e2e-caas-full-install.yml
do
  url="https://raw.githubusercontent.com/osac-project/osac/main/$path"
  if content=$(curl -fsSL "$url" 2>/dev/null); then
    printf '\n### %s\n' "$path"
    printf '%s\n' "$content" | sed -n '1,180p'
  fi
done

Repository: osac-project/github-config

Length of output: 5089


Use the workflow’s exact check context. The workflow emits E2E CaaS Netris Full Install / e2e, not e2e-caas-netris-full-install / e2e. Update context and retain integration_id = 15368.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@repositories.tf` at line 150, Update the repository configuration entry’s
context value to exactly “E2E CaaS Netris Full Install / e2e” while preserving
integration_id = 15368.

@eliorerz
eliorerz merged commit 2a0da0f into osac-project:main Aug 5, 2026
2 checks passed
@eliorerz
eliorerz deleted the fix-caas-netris-required-check branch August 5, 2026 19:24
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.

1 participant