fix(cli): suppress verbose lock generation messages in generate-metadata#8357
fix(cli): suppress verbose lock generation messages in generate-metadata#8357rubenfiszel merged 3 commits intomainfrom
Conversation
Pass noStaleMessage flag through to updateRawAppRunnables and updateAppInlineScripts to suppress verbose "Generating lock for..." messages when running generate-metadata command. Also fixes a stray `}` character in a template literal. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Deploying windmill with
|
| Latest commit: |
7350308
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://2006cb98.windmill.pages.dev |
| Branch Preview URL: | https://fix-cli-dirty-output.windmill.pages.dev |
|
Claude finished @pyranota's task in 2m 39s —— View job PR Review: fix(cli): suppress verbose lock generation messages in generate-metadata
SummaryThis PR correctly threads the FindingsBug fix (template literal) — Good catch ✅ The original code had: `Generating lock for runnable ${runnableId} (${language})
}`This produced output like
The No issues found. The changes are minimal, focused, and follow established patterns. Error messages ( VerdictLGTM — clean, focused fix. No bugs, no security concerns, no performance issues. Reproduction instructionsRun |
Display inline script names that were relocked when processing flows and apps in the generate-metadata command output. For example: [4/5] app u/admin/test__raw_app: a, b, c This provides visibility into what work was done without verbose per-script logging that clutters the output. - Add AppLocksResult and FlowLocksResult types to track updated scripts - Update internal functions to return lists of updated script names - Display script names inline with progress in generate-metadata 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
Claude finished @pyranota's task in 1m 35s —— View job PR Review: fix(cli): suppress verbose lock generation messages in generate-metadata
SummaryThis PR correctly threads the FindingsTemplate literal bug fix — Good catch ✅ The original code in `Generating lock for runnable ${runnableId} (${language})
}`This produced output with a stray
The pattern is already used throughout the codebase. This PR fills the gap in Return type changes — Sound but with one minor concern The return types Frontend scripts correctly excluded ✅ In
Moving Progress output ordering ✅ The log line is now printed after the work completes (moved after the VerdictLGTM — clean, focused fix. No bugs, no security concerns, no performance issues. The changes are minimal, well-structured, and follow established patterns in the codebase. Reproduction InstructionsTo verify these changes, use the Windmill CLI with a workspace that contains apps (both raw and normal) and flows with inline scripts. Run |
Improves generate-metadata command output by:
Before
After
[4/5] app u/admin/testrawapp__raw_app: a
[5/5] app u/admin/ttt__raw_app: a
Multiple inline scripts are shown comma-separated:
[4/5] app u/admin/my_app: a, b, c
[5/5] flow u/admin/my_flow: step1, step2
Changes