Skip to content

Fixes 35769: let the Redis integration lane be a required check - #35762

Merged
pmbrull merged 3 commits into
mainfrom
pmbrull/redis-it-lane-required
Oct 20, 2026
Merged

pmbrull merged 3 commits into
mainfrom
pmbrull/redis-it-lane-required

Conversation

@pmbrull

@pmbrull pmbrull commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

Describe your changes:

Fixes #35769

This is part of #35761, which stays open to track the rollout.

This lets integration-tests-postgres-elasticsearch-redis become a required check, so a failure that only shows with the Redis cache ejects the merge group instead of reaching main. From 2026-10-16 to 2026-10-18, four merge groups merged with this lane red: #35582, #35320, #35622 and #35679. #35672 broke it too, but through a ruleset bypass that skips required checks. After a bypass merge, the run on pushes to main remains the only Redis signal.

The Redis workflow already ran in every merge group, but it had no pull_request trigger. A required check has to report on the PR as well, or GitHub waits at "Expected" forever. This PR copies what the MySQL + Elasticsearch and PostgreSQL + OpenSearch workflows already do:

  • a pull_request trigger (opened, synchronize, reopened, ready_for_review);
  • Detect Changes and the final integration-tests-postgres-elasticsearch-redis job skip on pull_request, so the build and lanes skip too and no runner starts. GitHub counts the skipped check as passing;
  • PR runs key concurrency on the PR number.

Merge-queue, push and manual-dispatch runs behave as before.

The ruleset change is not in this PR. The decision record lists the order to follow:

  1. Merge this PR, and make sure every open PR's head carries the check. A PR whose last push predates the merge has no run of it, and GitHub would hold it at "Expected" once the check is required. Find such a PR with gh api repos/open-metadata/OpenMetadata/commits/<head>/check-runs?check_name=integration-tests-postgres-elasticsearch-redis --jq .total_count, which returns 0. Unblock it with a push, gh pr update-branch <n>, or a close and reopen.
  2. Confirm main passes the lane (fix(cache): a rolled-back transaction evicts the cache keys it wrote #35722).
  3. Fix or quarantine the lane's recurring failures:
    • LLMModelResourceIT.test_tagUpdateOptimization_*
    • WorkflowDefinitionResourceIT.test_approvalOnlyWorkflowApprovesTheEntity
    • TableResourceIT.test_owner*PropagationToSearchIndex
    • DriveFileUploadIT
  4. An admin adds integration-tests-postgres-elasticsearch-redis (GitHub Actions, integration id 15368) to the merge-rules required status checks.

This PR also updates skills/java-affected-tests/SKILL.md, which called the lane informational. It now says the lane becomes required with the ruleset step.

Type of change:

  • Improvement

High-level design:

Not applicable. This is one workflow change, following the pattern of the two required integration workflows, plus a decision record (docs/decisions/2026-10-19-the-redis-cache-lane-gates-the-merge-queue.md).

Tests:

Use cases covered

  • On a PR, the workflow reports integration-tests-postgres-elasticsearch-redis as skipped, and no runner starts.
  • In the merge queue, on pushes to main and on manual dispatch, the lanes run exactly as before.

Unit tests

Not applicable: workflow change only.

Backend integration tests

Not applicable: no Java change. python3 .github/scripts/plan_local_java_tests.py reports "No Java tests are impacted by this change".

Java test results: NOT NEEDED. No Java tests are impacted by this change.

Ingestion integration tests

Not applicable: no ingestion changes.

Playwright (UI) tests

Not applicable: no UI changes.

Manual testing performed

  1. actionlint .github/workflows/integration-tests-postgres-elasticsearch-redis.yml passes with no findings, and the YAML parses with four triggers (merge_group, workflow_dispatch, push, pull_request).
  2. I compared the gating with integration-tests-postgres-opensearch.yml: the same if: on Detect Changes and on the final job, and the same trigger comment.
  3. This PR is the live test. Its own checks should list integration-tests-postgres-elasticsearch-redis as skipped. Result: on this PR, integration-tests-postgres-elasticsearch-redis reports skipping, like integration-tests-mysql-elasticsearch and integration-tests-postgres-opensearch. Its workflow run (39270201677) concluded skipped without starting a runner.

UI screen recording:

Not applicable: CI-only change.

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR title is Fixes <issue-number>: <short explanation>
  • My PR is linked to a GitHub issue via Fixes #<issue-number> above.
  • I have commented on my code, particularly in hard-to-understand areas.
  • For JSON Schema changes: I updated the migration scripts or explained why it is not needed. Not applicable.
  • For a UI feature or feature task: as part of PR creation, I ran the PR build in Docker with sample data and embedded a verified GitHub-hosted recording plus build/health evidence above. Not applicable.
  • I have added tests (unit / integration / Playwright as applicable) and listed them above. The checks on this PR are the test.
  • Self-review: I reviewed the final diff against REVIEW.md (the pr-checklist skill runs it) and fixed every 🔴 finding, or answered it on the line below.
    • Pass 1 on e0f9f5efeba found no defect in the workflow itself. All of its findings were about the rollout text, and 0f1af33f4cf fixes them:
      • 🔴 Open PRs whose last push predates the merge carry no run of the check, so requiring it would hold them at "Expected". The record now makes refreshing them step 1 and gives the query to find them.
      • 🟡 The record lists the failures from verified test reports, and fixing them is now a numbered step.
      • 🟡 It states that Fixes 35671: Add native ontologies and governed releases #35672 bypassed the queue, and that an ejection costs rebuilds under ALLGREEN.
      • 🟡 It updates the skill text that called the lane informational.
    • Pass 2 on 0f1af33f4cf found no 🔴. e6828782822 fixes both of its 🟡:
  • Decision check: this PR adds docs/decisions/2026-10-19-the-redis-cache-lane-gates-the-merge-queue.md.

🤖 Generated with Claude Code

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; making the check required remains a separate rollout step.

Summary

Prepares the Redis integration check to become required without running integration tests on PRs.

  • The Redis integration workflow reports a skipped check on pull requests.

Reviews (3) · Last reviewed commit: "docs(ci): state which red Redis-lane gro..." · Reviewed by Greptile

Like the MySQL and OpenSearch workflows, the PostgreSQL + Elasticsearch +
Redis workflow now triggers on pull_request and skips every job there, so
its integration-tests-postgres-elasticsearch-redis check reports as skipped
instead of hanging at "Expected". That lets the merge-rules ruleset require
it, so a cache-only failure ejects the merge group instead of reaching main.
@pmbrull
pmbrull requested review from a team, akash-jain-10, harshach and tutte as code owners October 19, 2026 14:34
@github-actions

github-actions Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically.

Maintainers can bypass this check by adding the skip-pr-checks label.

@github-actions github-actions Bot added Ingestion safe to test Add this label to run secure Github workflows on PRs labels Oct 19, 2026
Open PRs whose last push predates the trigger change carry no run of the
check and would hang at "Expected" once it is required, so the record now
lists finding and refreshing them as a step. It also attributes the lane's
merge-queue failures from verified test reports, notes that #35672 bypassed
the queue, qualifies the cost of an ejection, and stops the
java-affected-tests skill from calling the lane informational for good.
…issue

Four of the nine failing merge groups merged with the lane red; the
others failed a required lane or were replaced. The record and the skill
now point at #35761 for the rollout, which stays open when the trigger
change closes #35769.
@pmbrull pmbrull changed the title Fixes 35761: let the Redis integration lane be a required check Fixes 35769: let the Redis integration lane be a required check Oct 19, 2026
@gitar-bot

gitar-bot Bot commented Oct 19, 2026

Copy link
Copy Markdown
Code Review ✅ Approved

🟡 Medium risk · The workflow adds a skipped PR check to enable Redis-lane gating; stale PR heads without that check could wait at “Expected” and block merges.

Adds a pull_request trigger to the Redis integration workflow so integration-tests-postgres-elasticsearch-redis reports as skipped on PRs, preparing it to become a required check. No issues found.

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@pmbrull
pmbrull added this pull request to the merge queue Oct 20, 2026
Merged via the queue into main with commit 2e1d9da Oct 20, 2026
79 of 82 checks passed
@pmbrull
pmbrull deleted the pmbrull/redis-it-lane-required branch October 20, 2026 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ingestion safe to test Add this label to run secure Github workflows on PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Report integration-tests-postgres-elasticsearch-redis on PRs so it can be required

2 participants