Skip to content

Upgrade Flue to 2.3.1 - #30

Merged
markphelps merged 4 commits into
mainfrom
markphelps/upgrade-flue-latest
Nov 21, 2026
Merged

markphelps merged 4 commits into
mainfrom
markphelps/upgrade-flue-latest

Conversation

@markphelps

Copy link
Copy Markdown
Contributor

Summary

  • Upgrade Flue runtime, CLI, and Vite integration from 0.11.1 to 2.3.1.
  • Migrate both agents to hook-based definitions and standalone Node orchestration, preserving deterministic GitHub writes and review cancellation.
  • Preserve composite action inputs and provider credentials; update local launchers, documentation, and Node minimum to 22.19.0.

Validation

  • Vite build and TypeScript check pass.
  • All 46 tests pass on Node 22.19.0, including real Flue runtime tests with a mocked provider for structured results and cancellation.
  • Frozen-lockfile install and git diff checks pass.
  • Fresh-eyes review completed; runtime integration test is included in the release gate.

Caveats

  • No live model/GitHub end-to-end run performed.
  • Production dependency audit reports 67 advisories (down from 78), including one critical advisory present before and after the upgrade. Transitive dependency remediation is not included.

@markphelps

Copy link
Copy Markdown
Contributor Author

Fixed the CI failure: the new launcher loaded the full Flue Vite plugin, which asynchronously bootstrapped a server runtime before the standalone job called start(). This was new code, not an old workflow/new-code mismatch.

The launcher now uses a non-listening module loader matching Flue 2.3.1’s own CLI. The runtime integration test shares that exact loader. Re-enabling project config loading reproduces the same CI error, so the regression is covered.

Validation: all 46 tests pass on Node 22.19.0; TypeScript and Vite build pass. Fresh-eyes review found no further issues. Pushed the fix; the new CI run still needs to complete.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Verdict: approve

Upgrade to Flue 2.3.1 is clean. The migration to hook-based agents and standalone Node orchestration is correct, with proper token handling in githubIo(), comprehensive valibot schema validation, appropriate error handling, and all shell commands properly escaped. Tests pass and both workflows (pr-review and issue-health) work as intended.

🤖 Automated review by the Flipt PR review agent.

@markphelps
markphelps marked this pull request as ready for review November 21, 2026 13:52
@markphelps
markphelps merged commit 064a854 into main Nov 21, 2026
2 checks passed
@markphelps
markphelps deleted the markphelps/upgrade-flue-latest branch November 21, 2026 13:55
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