Skip to content

fix(workflow): read GRAPHRAG_UI_URL from secrets, not vars#480

Closed
galshubeli wants to merge 1 commit into
mainfrom
fix-graphrag-url-secret
Closed

fix(workflow): read GRAPHRAG_UI_URL from secrets, not vars#480
galshubeli wants to merge 1 commit into
mainfrom
fix-graphrag-url-secret

Conversation

@galshubeli
Copy link
Copy Markdown
Contributor

Summary

First real merge to main hit curl: (3) URL rejected: No host part in the URL because the workflow reads ${{ vars.GRAPHRAG_UI_URL }} but the repo has the URL configured as a secret, not a variable, so the env var resolved to an empty string.

A public URL doesn't strictly need to live in the secret namespace (variables are fine and visible in the UI for debugging), but matching the workflow to where the value already exists is the least-disruptive fix.

Change

One line in .github/workflows/update-graph.yml:

-      GRAPHRAG_UI_URL: ${{ vars.GRAPHRAG_UI_URL }}
+      GRAPHRAG_UI_URL: ${{ secrets.GRAPHRAG_UI_URL }}

After merge

The next .md push to main should run the workflow successfully end-to-end. Result will mirror the wet-run done earlier today (docs_v6_* pending → smoke test → atomic alias flip on :Graph node).

🤖 Generated with Claude Code

The repo has ``GRAPHRAG_UI_URL`` set as a GitHub Actions secret, so
``${{ vars.GRAPHRAG_UI_URL }}`` resolved to an empty string and curl
failed with ``URL rejected: No host part in the URL`` on the first
real PR merge to main.

A public URL doesn't strictly need to be in the secret namespace
(variables are fine and visible in the UI for debugging), but
matching the workflow to where the value already lives is the
least-disruptive fix.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 13, 2026

Warning

Rate limit exceeded

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

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ 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.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 7a82eb42-a7af-443a-81e2-0e4885adc72f

📥 Commits

Reviewing files that changed from the base of the PR and between f7229b8 and cbe3398.

📒 Files selected for processing (1)
  • .github/workflows/update-graph.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix-graphrag-url-secret

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.

❤️ Share

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

@galshubeli
Copy link
Copy Markdown
Contributor Author

Closing — is now set as a repo variable (the cleaner approach), so the workflow on main reads it correctly as-is. Variable: https://staging.graphrag.falkordb.com.

@galshubeli galshubeli closed this May 13, 2026
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