Skip to content

Revert "Update osac repo's required status check for CaaS Netris rename" - #168

Merged
eliorerz merged 1 commit into
mainfrom
revert-166-fix-caas-netris-required-check
Aug 5, 2026
Merged

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

Conversation

@eliorerz

@eliorerz eliorerz commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Netris Job is still not stable and blocking PRs reverting #166

Summary by CodeRabbit

  • Chores
    • Updated required status checks for repo_osac to use the current end-to-end installation check.

@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown

Review Change Stack

Walkthrough

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

Changes

repo_osac status check

Layer / File(s) Summary
Update required E2E check
repositories.tf
The repo_osac module now requires the e2e-caas-full-install / e2e status check.

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

Possibly related PRs

Suggested reviewers: larsks, omer-vishlitzky, amej

🚥 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 states that the pull request reverts the required status check update for 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 added value is the status-check name e2e-caas-full-install / e2e; scans found no credential assignments, embedded credentials, private-key material, or long base64 strings.
No-Weak-Crypto ✅ Passed The HEAD patch changes only one Terraform status-check context; it adds no weak crypto, custom crypto, or secret comparison usage.
No-Injection-Vectors ✅ Passed The patch changes only a literal Terraform status-check string; no SQL concatenation, shell execution, eval/exec, pickle, unsafe YAML, or HTML injection patterns are present.
Container-Privileges ✅ Passed The PR changes only a Terraform status-check context in repositories.tf; no privileged, host namespace, SYS_ADMIN, or allowPrivilegeEscalation settings are present.
No-Sensitive-Data-In-Logs ✅ Passed The PR changes one Terraform status-check string only; it adds no logging calls or sensitive values, and the changed line contains no secret or PII data.
Ai-Attribution ✅ Passed The PR description and HEAD commit contain no AI-tool mention, Assisted-by, Generated-by, or AI Co-Authored-By trailer.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch revert-166-fix-caas-netris-required-check

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: 1

🤖 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: Update the required status context entry in repositories.tf from
“e2e-caas-full-install / e2e” to “e2e-caas-netris-full-install / e2e”,
preserving the existing integration_id and surrounding configuration.
🪄 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: 74b31426-bef1-42bc-a8be-58278fadab4c

📥 Commits

Reviewing files that changed from the base of the PR and between f789509 and c7d36ef.

📒 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-netris-full-install / e2e", integration_id = 15368 },
{ context = "e2e-caas-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.

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

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

rg -n -C 8 \
  'e2e-caas-full-install|e2e-caas-netris-full-install|integration_id\s*=\s*15368|name:\s*e2e' \
  --glob '*.tf' --glob '*.yml' --glob '*.yaml' .

Repository: osac-project/github-config

Length of output: 5846


🏁 Script executed:

#!/bin/bash
set -euo pipefail

printf '%s\n' '--- candidate workflow and configuration files ---'
git ls-files | rg '(^|/)(\.github/workflows/|.*\.(ya?ml|tf)$)' | sed -n '1,240p'

printf '%s\n' '--- all repository references to the required contexts ---'
rg -n -C 5 \
  'e2e-(vmaas|bmaas|caas)-full-install|integration_id\s*=\s*15368|OSAC|osac-ci|workflow_call|name:\s*e2e' \
  . --glob '!**/.git/**' | sed -n '1,320p'

printf '%s\n' '--- recent commit subjects and trailers ---'
git log -8 --format='%H%n%B%n---' | sed -n '1,240p'

Repository: osac-project/github-config

Length of output: 17147


🏁 Script executed:

#!/bin/bash
set -euo pipefail

printf '%s\n' '--- affected commits and parent state ---'
git show --no-ext-diff --format=fuller --stat c7d36ef8684901c9d2e6793bf84a73fcff7ee8f
git show --no-ext-diff --format= --unified=12 c7d36ef8684901c9d2e6793bf84a73fcff7ee8f -- repositories.tf
git show --no-ext-diff --format= --unified=12 2a0da0f0759ea5a6101425737131052ce229bd85 -- repositories.tf

printf '%s\n' '--- osac workflow files ---'
curl --fail --silent --show-error \
  -H 'Accept: application/vnd.github+json' \
  https://api.github.com/repos/osac-project/osac/contents/.github/workflows \
  | jq -r '.[].name' | sort

printf '%s\n' '--- CaaS workflow definitions ---'
for file in e2e-caas-full-install.yml e2e-caas-netris-full-install.yml; do
  url="https://raw.githubusercontent.com/osac-project/osac/main/.github/workflows/$file"
  printf '\n--- %s ---\n' "$file"
  curl --silent --show-error --fail "$url" \
    | nl -ba \
    | rg -n -C 8 '^( *[0-9]+\s+)?\s*(name:|jobs:|[A-Za-z0-9_-]+:|run:|uses:|workflow_call:)' \
    | sed -n '1,260p' || printf 'not present\n'
done

Repository: osac-project/github-config

Length of output: 3544


🏁 Script executed:

#!/bin/bash
set -u

for ref in main master; do
  for file in e2e-caas-full-install.yml e2e-caas-netris-full-install.yml; do
    url="https://raw.githubusercontent.com/osac-project/osac/$ref/.github/workflows/$file"
    printf '\n--- %s %s ---\n' "$ref" "$file"
    if curl --silent --show-error --location --fail "$url" -o /tmp/osac-workflow.yml; then
      cat -n /tmp/osac-workflow.yml \
        | rg -n -C 12 'name:|jobs:|e2e|netris|^ *[A-Za-z0-9_-]+:' \
        | sed -n '1,320p'
    else
      printf 'not available\n'
    fi
  done
done

printf '\n--- referenced pull request metadata ---\n'
curl --silent --show-error --location \
  'https://github.com/osac-project/osac/pull/110.patch' \
  | sed -n '1,220p'

Repository: osac-project/github-config

Length of output: 20507


🏁 Script executed:

#!/bin/bash
set -euo pipefail

workflow_url='https://raw.githubusercontent.com/osac-project/osac/main/.github/workflows/e2e-caas-netris-full-install.yml'
curl --silent --show-error --location --fail "$workflow_url" -o /tmp/e2e-caas-netris-full-install.yml

python3 - <<'PY'
import re
from pathlib import Path

text = Path('/tmp/e2e-caas-netris-full-install.yml').read_text()
workflow_name = re.search(r'^name:\s*(.+)$', text, re.MULTILINE).group(1)
job_names = re.findall(r'^  ([A-Za-z0-9_-]+):\s*$', text, re.MULTILINE)
e2e_block = re.search(r'^  e2e:\s*$([\s\S]*?)(?=^  [A-Za-z0-9_-]+:\s*$|\Z)', text, re.MULTILINE)

print(f'workflow name: {workflow_name}')
print(f'job names: {job_names}')
print(f'gating job present: {bool(e2e_block)}')
if e2e_block:
    print('gating job needs:', re.search(r'^\s*needs:\s*(.+)$', e2e_block.group(1), re.MULTILINE).group(1))
print('old CaaS job present:', bool(re.search(r'^  e2e-caas-full-install:\s*$', text, re.MULTILINE)))
print('Netris CaaS job present:', bool(re.search(r'^  e2e-caas-netris-full-install:\s*$', text, re.MULTILINE)))
PY

printf '%s\n' '--- trailers for the affected github-config commits ---'
for commit in c7d36ef8684901c9d2e6793bf84a73fcff7ee8f 2a0da0f0759ea5a6101425737131052ce229bd85; do
  printf '\ncommit %s\n' "$commit"
  git show -s --format='%B' "$commit" | sed -n '/^Signed-off-by:/p;/^Assisted-by:/p;/^Generated-by:/p;/^Co-Authored-By:/p'
done

Repository: osac-project/github-config

Length of output: 673


Change the required CaaS check to e2e-caas-netris-full-install / e2e. The osac repository removed the old workflow and now exposes the Netris workflow with the e2e gating job. The current context will never report and will block pull requests.

🤖 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 required status context entry in
repositories.tf from “e2e-caas-full-install / e2e” to
“e2e-caas-netris-full-install / e2e”, preserving the existing integration_id and
surrounding configuration.

@eliorerz
eliorerz merged commit eeeb296 into main Aug 5, 2026
3 checks passed
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