Skip to content

fix(langgraph): unblock release — empty-stream mock fails lint#690

Merged
blove merged 3 commits into
mainfrom
blove/fix-langgraph-lint-empty-generator
Jun 18, 2026
Merged

fix(langgraph): unblock release — empty-stream mock fails lint#690
blove merged 3 commits into
mainfrom
blove/fix-langgraph-lint-empty-generator

Conversation

@blove

@blove blove commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Summary

A release dry-run (Publish workflow, dry-run mode) failed at langgraph:lint:

agent.fn.spec.ts:921  error  Unexpected empty async generator function  @typescript-eslint/no-empty-function

The construction-only test stub used (async function* () {})(). The rule flags the empty body as an error, which fails the publish path's fresh lint (--skip-nx-cache). Normal CI was green because ci.yml lint runs cached and isn't a required status check, so the error reached main (via #681).

Fix documents the empty generator body so the rule passes — behaviour unchanged (still yields no events).

Test Plan

  • npx nx lint langgraph --skip-nx-cache → passes (was failing)
  • CI green
  • Re-run Publish dry-run on updated main → fully green before cutting v0.0.50

🤖 Generated with Claude Code

The construction-only test stub used an empty async generator
`(async function* () {})()` which @typescript-eslint/no-empty-function
flags as an error, breaking `langgraph:lint` in the publish path (which
lints fresh via --skip-nx-cache). Document the empty body so the rule
passes; behaviour is unchanged (still yields no events).

Surfaced by a release dry-run; not caught at merge because ci.yml lint
is not a required status check.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@blove blove enabled auto-merge (squash) June 18, 2026 20:41
@vercel

vercel Bot commented Jun 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
threadplane Ignored Ignored Preview Jun 18, 2026 9:25pm

Request Review

blove and others added 2 commits June 18, 2026 14:02
@blove blove merged commit 6bfd443 into main Jun 18, 2026
4 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