Skip to content

Rename estc-downstream-health to internal-downstream-health#515

Merged
strawgate merged 2 commits intomainfrom
feat/internal-downstream-health
Mar 2, 2026
Merged

Rename estc-downstream-health to internal-downstream-health#515
strawgate merged 2 commits intomainfrom
feat/internal-downstream-health

Conversation

@strawgate
Copy link
Collaborator

@strawgate strawgate commented Mar 1, 2026

Summary

  • Renames the downstream health workflow from gh-aw-estc-downstream-health to internal-downstream-health.
  • Keeps .github/workflows/gh-aw-estc-downstream-health.lock.yml as a backward-compatibility copy with a deprecation header pointing to .github/workflows/internal-downstream-health.lock.yml.
  • Renames workflow source and trigger wiring to match the new name:
    • .github/workflows/internal-downstream-health.md
    • .github/workflows/trigger-internal-downstream-health.yml
    • gh-agent-workflows/internal-downstream-health/{README.md,example.yml}
  • Updates references in docs and tooling (gh-agent-workflows/README.md, docs/upgrading.md, docs blog/workflow pages, and scripts/backwards-compat.sh).
  • Removes this workflow from public workflow listings (mkdocs.yml, docs/workflows/gh-agent-workflows.md) and lists it under Internal Workflows in gh-agent-workflows/README.md.

Naming convention

Prefix Meaning
gh-aw-* Public workflows
internal-* Private / use at your own risk
No prefix Repo-only workflows

Test plan

  • make compile succeeds — new internal-downstream-health.lock.yml generated
  • Backwards-compat copy has deprecation header
  • Rename mapping added in scripts/backwards-compat.sh
  • Remaining estc-downstream-health references are limited to migration/compatibility files
  • CI passes

Generated by Update PR Body for issue #515

@coderabbitai
Copy link

coderabbitai bot commented Mar 1, 2026

Warning

Rate limit exceeded

@strawgate has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 3 minutes and 53 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 2d72425 and c856600.

📒 Files selected for processing (14)
  • .github/workflows/gh-aw-dependency-review.lock.yml
  • .github/workflows/gh-aw-estc-downstream-health.lock.yml
  • .github/workflows/internal-downstream-health.lock.yml
  • .github/workflows/internal-downstream-health.md
  • .github/workflows/smoke-test-install.yml
  • .github/workflows/trigger-internal-downstream-health.yml
  • docs/blog/posts/meet-the-watchdogs.md
  • docs/upgrading.md
  • docs/workflows/gh-agent-workflows.md
  • gh-agent-workflows/README.md
  • gh-agent-workflows/internal-downstream-health/README.md
  • gh-agent-workflows/internal-downstream-health/example.yml
  • mkdocs.yml
  • scripts/backwards-compat.sh
📝 Walkthrough

Walkthrough

This pull request renames the "Estc Downstream Health" workflow to "Internal: Downstream Health" across the codebase. It updates all references including workflow file paths (gh-aw-estc-downstream-health.lock.yml to gh-aw-internal-downstream-health.lock.yml), environment variables, concurrency group identifiers, documentation, and example files. The change introduces a new 1496-line workflow file and maintains backwards compatibility through deprecation notices in the renamed file and updates to the backwards-compatibility script.

Possibly related PRs

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/internal-downstream-health

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

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Two blocking issues need correction before merge:

  1. .github/workflows/smoke-test-install.yml:57 — the new entry internal-downstream-health is consumed by gh-aw add ".../.github/workflows/gh-aw-${wf}.md" (:88), which resolves to gh-aw-internal-downstream-health.md. The actual shim is internal-downstream-health.md, so this install path is invalid and the smoke test will fail for this workflow.
  2. gh-agent-workflows/internal-downstream-health/README.md:13-15 — the quick-install command has a blank line immediately after a trailing \, which breaks shell line continuation and makes the snippet fail when copied.

What is this? | From workflow: PR Review

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

Copy link

@coderabbitai coderabbitai bot left a comment

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 the current code and only fix it if needed.

Inline comments:
In @.github/workflows/smoke-test-install.yml:
- Line 57: The WORKFLOWS array includes "internal-downstream-health" but the
installer loop constructs filenames as `gh-aw-${wf}.md`, causing a missing-file
error for workflows without that prefix; update the loop in the
smoke-test-install workflow to either skip/handle entries that already start
with "internal-" (e.g., detect wf.startsWith('internal-') and use `${wf}.md`
instead of `gh-aw-${wf}.md`) or remove "internal-downstream-health" from the
WORKFLOWS array so only prefixed items are processed; adjust the filename
construction logic and any conditional branching around the loop to ensure both
prefixed and internal workflows resolve to the correct markdown filename.

ℹ️ Review info

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 19791b2 and a7576cd.

📒 Files selected for processing (13)
  • .github/workflows/gh-aw-estc-downstream-health.lock.yml
  • .github/workflows/internal-downstream-health.lock.yml
  • .github/workflows/internal-downstream-health.md
  • .github/workflows/smoke-test-install.yml
  • .github/workflows/trigger-internal-downstream-health.yml
  • docs/blog/posts/meet-the-watchdogs.md
  • docs/upgrading.md
  • docs/workflows/gh-agent-workflows.md
  • gh-agent-workflows/README.md
  • gh-agent-workflows/internal-downstream-health/README.md
  • gh-agent-workflows/internal-downstream-health/example.yml
  • mkdocs.yml
  • scripts/backwards-compat.sh
💤 Files with no reviewable changes (2)
  • mkdocs.yml
  • docs/workflows/gh-agent-workflows.md

estc-docs-patrol-external
estc-docs-pr-review
estc-downstream-health
internal-downstream-health
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

# Check for both filename variants
echo "=== Looking for internal-downstream-health files ==="
fd -t f "internal-downstream-health" .github/workflows --extension md

echo -e "\n=== Looking for any gh-aw-internal-downstream-health files ==="
fd -t f "gh-aw-internal-downstream-health" .github/workflows --extension md

echo -e "\n=== Context around line 88 of smoke-test-install.yml ==="
sed -n '80,95p' .github/workflows/smoke-test-install.yml

Repository: elastic/ai-github-actions

Length of output: 782


🏁 Script executed:

# Get the full WORKFLOWS array definition
sed -n '70,87p' .github/workflows/smoke-test-install.yml

echo -e "\n=== All internal-* workflows in .github/workflows ==="
fd -t f "^internal-" .github/workflows --extension md

Repository: elastic/ai-github-actions

Length of output: 661


🏁 Script executed:

# Get the full context around line 57
sed -n '50,75p' .github/workflows/smoke-test-install.yml

Repository: elastic/ai-github-actions

Length of output: 904


🏁 Script executed:

# Check how the other workflows are named
echo "=== All gh-aw-* workflow files ==="
fd -t f "^gh-aw-" .github/workflows --extension md | head -20

echo -e "\n=== Confirm internal-* workflows don't have gh-aw prefix ==="
fd -t f "^(internal-|gh-aw-internal-)" .github/workflows --extension md

Repository: elastic/ai-github-actions

Length of output: 1330


🏁 Script executed:

# Check if internal-gemini-cli is also in the WORKFLOWS array
grep "internal-gemini-cli" .github/workflows/smoke-test-install.yml

Repository: elastic/ai-github-actions

Length of output: 51


Fix path mismatch for internal-downstream-health workflow.

Line 88 constructs paths as gh-aw-${wf}.md, but internal-downstream-health.md doesn't have the gh-aw- prefix. This will cause the smoke test to fail with a file-not-found error when attempting to install it.

Either exclude internal-downstream-health from the WORKFLOWS array or handle internal workflows separately in the loop.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In @.github/workflows/smoke-test-install.yml at line 57, The WORKFLOWS array
includes "internal-downstream-health" but the installer loop constructs
filenames as `gh-aw-${wf}.md`, causing a missing-file error for workflows
without that prefix; update the loop in the smoke-test-install workflow to
either skip/handle entries that already start with "internal-" (e.g., detect
wf.startsWith('internal-') and use `${wf}.md` instead of `gh-aw-${wf}.md`) or
remove "internal-downstream-health" from the WORKFLOWS array so only prefixed
items are processed; adjust the filename construction logic and any conditional
branching around the loop to ensure both prefixed and internal workflows resolve
to the correct markdown filename.

Drop the gh-aw- prefix for internal workflows (convention: gh-aw- for
public, internal- for private/use-at-your-own-risk, no prefix for
repo-only). Updates all references, adds backwards-compat copy, and
removes from public docs.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@strawgate strawgate force-pushed the feat/internal-downstream-health branch from 2d72425 to c242b37 Compare March 2, 2026 17:26
- Rename gh-aw-internal-downstream-health.md → internal-downstream-health.md
- Rename gh-aw-internal-downstream-health.lock.yml → internal-downstream-health.lock.yml
- Update backwards-compat.sh to point to internal-downstream-health.lock.yml
- Update trigger, example.yml, and upgrading.md references
- Remove internal-downstream-health from smoke-test-install (internal workflow)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@strawgate strawgate force-pushed the feat/internal-downstream-health branch from c242b37 to c856600 Compare March 2, 2026 17:29
@strawgate strawgate merged commit beba2a3 into main Mar 2, 2026
15 checks passed
@strawgate strawgate deleted the feat/internal-downstream-health branch March 2, 2026 17:34
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