Skip to content

feat(cli): better stale scripts detection#8310

Draft
pyranota wants to merge 12 commits intomainfrom
relative-imports-cli-skip-fix
Draft

feat(cli): better stale scripts detection#8310
pyranota wants to merge 12 commits intomainfrom
relative-imports-cli-skip-fix

Conversation

@pyranota
Copy link
Contributor

No description provided.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 10, 2026

Deploying windmill with  Cloudflare Pages  Cloudflare Pages

Latest commit: 518e9b2
Status: ✅  Deploy successful!
Preview URL: https://afce4f1a.windmill.pages.dev
Branch Preview URL: https://relative-imports-cli-skip-fi.windmill.pages.dev

View logs

Signed-off-by: pyranota <pyra@duck.com>
@pyranota pyranota force-pushed the relative-imports-cli-skip-fix branch from 4925c8a to 10017ea Compare March 10, 2026 18:10
pyranota and others added 8 commits March 10, 2026 19:28
Signed-off-by: pyranota <pyra@duck.com>
Signed-off-by: pyranota <pyra@duck.com>
Signed-off-by: pyranota <pyra@duck.com>
Signed-off-by: pyranota <pyra@duck.com>
@pyranota pyranota changed the title feat(cli): add unified generate-metadata command feat(cli): better stale script detection Mar 12, 2026
@pyranota pyranota changed the title feat(cli): better stale script detection feat(cli): better stale scripts detection Mar 12, 2026
pyranota and others added 3 commits March 13, 2026 12:25
- Add isDirectlyStale field to DependencyNode for staleness tracking
- Update addScript to accept itemType, folder, isRawApp, isDirectlyStale
- Update propagateStaleness to use isDirectlyStale field instead of parameter
- Handlers now determine staleness and pass it to tree.addScript
- generate-metadata calls propagateStaleness() and populates staleItems from tree
- Pass legacyBehaviour=false and tree to handlers during generation phase

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Scripts need the path with extension to be passed to the handler.
Added originalPath field to DependencyNode to track this.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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