-
Notifications
You must be signed in to change notification settings - Fork 816
feat(EE): job debouncing #6878
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(EE): job debouncing #6878
Conversation
Signed-off-by: pyranota <[email protected]>
Signed-off-by: pyranota <[email protected]>
Deploying windmill with
|
| Latest commit: |
a542513
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://5c6d0821.windmill.pages.dev |
| Branch Preview URL: | https://job-debouncing.windmill.pages.dev |
Signed-off-by: pyranota <[email protected]>
|
/ai implement all TODOs. Add more tracing also. |
|
/updatesqlx |
|
Starting sqlx update... |
Signed-off-by: pyranota <[email protected]>
|
Claude finished @pyranota's task —— View job Implementing TODOs and Adding Tracing ✅Completed Tasks
Summary of ChangesBackend:
Frontend:
Note on cargo check: cargo sqlx prepare --workspace -- --all-featuresThis is standard when SQL queries reference new database columns. The PR already had the schema changes, so this is expected and should be handled by CI or the PR author with database access. The tracing already in the codebase was excellent - comprehensive logging at debug, trace, and error levels throughout the debouncing push/pull flow. I added additional warnings for version mismatch scenarios to make it easier to diagnose configuration issues. All changes have been committed and pushed to the branch. |
Signed-off-by: pyranota <[email protected]>
|
❌ SQLx update failed. Please check the workflow logs for details. |
Signed-off-by: pyranota <[email protected]>
Signed-off-by: pyranota <[email protected]>
- Add database index on script(workspace_id, debounce_key) for efficient lookups - Update minimum version requirement to 1.564.0 throughout codebase - Add tracing warnings when debouncing is disabled due to worker version mismatch - Fix all documentation links from TODO placeholders to proper URLs - Replace Gauge icon with Timer icon for debouncing UI elements - Update placeholder text and tooltips with clear descriptions Co-authored-by: Pyra <[email protected]>
Signed-off-by: pyranota <[email protected]>
…to job-debouncing
Signed-off-by: pyranota <[email protected]>
Signed-off-by: pyranota <[email protected]>
|
/updatesqlx |
|
Starting sqlx update... |
Signed-off-by: pyranota <[email protected]>
|
❌ SQLx update failed. Please check the workflow logs for details. |
Signed-off-by: pyranota <[email protected]>
|
/udpatesqlx |
|
/ai this PR adds debouncing for top level flows and for individual flow steps. I want you to remove debouncing for individual steps, but keep everything else. You will need to check everything that PR introduces in order to make it correct. |
|
Claude finished @pyranota's task —— View job Removing Flow Step Debouncing ✅I've successfully removed all flow step debouncing code while preserving top-level flow debouncing. What Was ChangedRemoved (Flow Step Debouncing):
Preserved (Top-Level Flow Debouncing):
Files ModifiedBackend:
Frontend: Next StepsThe changes have been committed and pushed. The SQLX cache will need to be regenerated when the database schema queries are updated (this requires database access and should be handled by CI or by running |
- Remove debounce fields from RawScript and FlowScript FlowModuleValue variants - Remove debounce fields from JobPayload::FlowScript and RawCode - Update raw_script_to_payload function signature - Remove debouncing UI from flow step runtime settings - Remove debouncing toggle handler and indicator badge - Preserve top-level flow debouncing in FlowSettings Co-authored-by: Pyra <[email protected]>
Signed-off-by: pyranota <[email protected]>
|
/ai fix frontend ci |
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
|
Claude finished @pyranota's task —— View job Frontend CI Fixed ✅Changes Made1. Fixed field name bug in ScriptBuilder.svelte
2. Updated OpenAPI schemas
3. Cleaned up leftover flow step debouncing code
4. Removed unused import
Verification✅ Frontend checks passing: 0 errors, 0 warnings npm run check
# ✓ svelte-check found 0 errors and 0 warningsAll changes committed and pushed to the Commit: d18e4a4 |
Signed-off-by: pyranota <[email protected]>
…step debouncing - Fix ScriptBuilder.svelte: change custom_debounce_key to debounce_key - Add debounce_key and debounce_delay_s fields to NewScript schema in openapi.yaml - Regenerate frontend types from OpenAPI spec - Remove leftover flow step debouncing code from FlowModuleComponent.svelte - Remove debounce fields from RawScript in openflow.openapi.yaml - Remove unused Timer import from FlowModuleHeader.svelte All frontend checks now passing (0 errors, 0 warnings) Co-authored-by: Pyra <[email protected]>
Signed-off-by: pyranota <[email protected]>
…to job-debouncing
Signed-off-by: pyranota <[email protected]>
Signed-off-by: pyranota <[email protected]>
Signed-off-by: pyranota <[email protected]>
Signed-off-by: pyranota <[email protected]>
Signed-off-by: pyranota <[email protected]>
Signed-off-by: pyranota <[email protected]>
|
/eeref |
|
Starting ee ref update... |
|
Successfully updated ee-repo-ref.txt |
Signed-off-by: pyranota <[email protected]>
…to job-debouncing
Signed-off-by: pyranota <[email protected]>
Signed-off-by: pyranota <[email protected]>
Signed-off-by: pyranota <[email protected]>
No description provided.