langchain - 💡(How to fix) Fix Scheduled "Refresh Model Profiles" workflow fails daily on forks

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

refresh_model_profiles.yml runs on a daily cron (0 8 * * *). GitHub runs scheduled workflows on forks too, as long as Actions is enabled, so every actions-enabled fork of this repo gets a failing run each day.

The refresh itself succeeds. The run dies at the PR-creation step, where actions/create-github-app-token needs the MODEL_PROFILE_BOT_APP_ID and MODEL_PROFILE_BOT_PRIVATE_KEY secrets. Those only exist on langchain-ai/langchain, so on a fork, the step errors with: The 'client-id' (or deprecated 'app-id') input must be set to a non-empty string.

The other scheduled workflows (bump_uv_pin.yml, integration_tests.yml) already skip on forks via if: github.repository_owner == 'langchain-ai'.

refresh_model_profiles.yml is the only one missing from the guard.

Fix: add the same one-line guard to the refresh-profiles job, matching what bump_uv_pin.yml does.

Failing run on my fork: https://github.com/kambleakash0/langchain/actions/runs/27201491765

It's only a one-liner; I can send a PR for this. Please assign the issue to me.

Error Message

Error: The 'client-id' (or deprecated 'app-id') input must be set to a non-empty string. If using a secret or variable, ensure it is available in this workflow context. at run (/home/runner/work/_actions/actions/create-github-app-token/bcd2ba49218906704ab6c1aa796996da409d3eb1/dist/main.cjs:23425:11)

Root Cause

# Not a Python bug — this is a GitHub Actions workflow bug. Steps:
#
# 1. Fork langchain-ai/langchain and leave GitHub Actions enabled.
# 2. Wait for the daily cron of refresh_model_profiles.yml (08:00 UTC),
#    or trigger the workflow manually via workflow_dispatch.
# 3. The run fails at the "create-github-app-token" step because the
#    MODEL_PROFILE_BOT_APP_ID / MODEL_PROFILE_BOT_PRIVATE_KEY secrets
#    only exist on langchain-ai/langchain, not on forks.
#
# Failing run on my fork:
# https://github.com/kambleakash0/langchain/actions/runs/27201491765

Fix Action

Fix / Workaround

  • This is a bug, not a usage question.
  • I added a clear and descriptive title that summarizes this issue.
  • I used the GitHub search to find a similar question and didn't find it.
  • I am sure that this is a bug in LangChain rather than my code.
  • The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).
  • This is not related to the langchain-community package.
  • I posted a self-contained, minimal, reproducible example. A maintainer can copy it and run it AS IS.
# Not a Python bug — this is a GitHub Actions workflow bug. Steps:
#
# 1. Fork langchain-ai/langchain and leave GitHub Actions enabled.
# 2. Wait for the daily cron of refresh_model_profiles.yml (08:00 UTC),
#    or trigger the workflow manually via workflow_dispatch.
# 3. The run fails at the "create-github-app-token" step because the
#    MODEL_PROFILE_BOT_APP_ID / MODEL_PROFILE_BOT_PRIVATE_KEY secrets
#    only exist on langchain-ai/langchain, not on forks.
#
# Failing run on my fork:
# https://github.com/kambleakash0/langchain/actions/runs/27201491765

Code Example

# Not a Python bug — this is a GitHub Actions workflow bug. Steps:
#
# 1. Fork langchain-ai/langchain and leave GitHub Actions enabled.
# 2. Wait for the daily cron of refresh_model_profiles.yml (08:00 UTC),
#    or trigger the workflow manually via workflow_dispatch.
# 3. The run fails at the "create-github-app-token" step because the
#    MODEL_PROFILE_BOT_APP_ID / MODEL_PROFILE_BOT_PRIVATE_KEY secrets
#    only exist on langchain-ai/langchain, not on forks.
#
# Failing run on my fork:
# https://github.com/kambleakash0/langchain/actions/runs/27201491765

---

Error: The 'client-id' (or deprecated 'app-id') input must be set to a non-empty string. If using a secret or variable, ensure it is available in this workflow context.
    at run (/home/runner/work/_actions/actions/create-github-app-token/bcd2ba49218906704ab6c1aa796996da409d3eb1/dist/main.cjs:23425:11)
RAW_BUFFERClick to expand / collapse

Submission checklist

  • This is a bug, not a usage question.
  • I added a clear and descriptive title that summarizes this issue.
  • I used the GitHub search to find a similar question and didn't find it.
  • I am sure that this is a bug in LangChain rather than my code.
  • The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).
  • This is not related to the langchain-community package.
  • I posted a self-contained, minimal, reproducible example. A maintainer can copy it and run it AS IS.

Package (Required)

  • langchain
  • langchain-openai
  • langchain-anthropic
  • langchain-classic
  • langchain-core
  • langchain-model-profiles
  • langchain-tests
  • langchain-text-splitters
  • langchain-chroma
  • langchain-deepseek
  • langchain-exa
  • langchain-fireworks
  • langchain-groq
  • langchain-huggingface
  • langchain-mistralai
  • langchain-nomic
  • langchain-ollama
  • langchain-openrouter
  • langchain-perplexity
  • langchain-qdrant
  • langchain-xai
  • Other / not sure / general

Related Issues / PRs

No response

Reproduction Steps / Example Code (Python)

# Not a Python bug — this is a GitHub Actions workflow bug. Steps:
#
# 1. Fork langchain-ai/langchain and leave GitHub Actions enabled.
# 2. Wait for the daily cron of refresh_model_profiles.yml (08:00 UTC),
#    or trigger the workflow manually via workflow_dispatch.
# 3. The run fails at the "create-github-app-token" step because the
#    MODEL_PROFILE_BOT_APP_ID / MODEL_PROFILE_BOT_PRIVATE_KEY secrets
#    only exist on langchain-ai/langchain, not on forks.
#
# Failing run on my fork:
# https://github.com/kambleakash0/langchain/actions/runs/27201491765

Error Message and Stack Trace (if applicable)

Error: The 'client-id' (or deprecated 'app-id') input must be set to a non-empty string. If using a secret or variable, ensure it is available in this workflow context.
    at run (/home/runner/work/_actions/actions/create-github-app-token/bcd2ba49218906704ab6c1aa796996da409d3eb1/dist/main.cjs:23425:11)

Description

refresh_model_profiles.yml runs on a daily cron (0 8 * * *). GitHub runs scheduled workflows on forks too, as long as Actions is enabled, so every actions-enabled fork of this repo gets a failing run each day.

The refresh itself succeeds. The run dies at the PR-creation step, where actions/create-github-app-token needs the MODEL_PROFILE_BOT_APP_ID and MODEL_PROFILE_BOT_PRIVATE_KEY secrets. Those only exist on langchain-ai/langchain, so on a fork, the step errors with: The 'client-id' (or deprecated 'app-id') input must be set to a non-empty string.

The other scheduled workflows (bump_uv_pin.yml, integration_tests.yml) already skip on forks via if: github.repository_owner == 'langchain-ai'.

refresh_model_profiles.yml is the only one missing from the guard.

Fix: add the same one-line guard to the refresh-profiles job, matching what bump_uv_pin.yml does.

Failing run on my fork: https://github.com/kambleakash0/langchain/actions/runs/27201491765

It's only a one-liner; I can send a PR for this. Please assign the issue to me.

System Info

System Information

OS: Darwin OS Version: Darwin Kernel Version 25.5.0: Mon Apr 27 20:40:51 PDT 2026; root:xnu-12377.121.6~2/RELEASE_ARM64_T8112 Python Version: 3.13.9 (main, Nov 19 2025, 23:39:32) [Clang 21.1.4 ]

Package Information

langchain_core: 1.4.3 langsmith: 0.8.0 langchain_protocol: 0.0.14

(N/A to this bug — it occurs on GitHub Actions ubuntu-latest runners, independent of any local environment.)

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING