Skip to content
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

Async Execution (project scheduling) #10827

Merged
merged 181 commits into from
Jan 22, 2025
Merged

Async Execution (project scheduling) #10827

merged 181 commits into from
Jan 22, 2025

Conversation

somebody1234
Copy link
Contributor

@somebody1234 somebody1234 commented Aug 16, 2024

Pull Request Description

⚠️ This is currently blocked waiting for the corresponding backend functionality.

  • Frontend part of https://github.com/enso-org/cloud-v2/issues/1392
    • New modal to schedule project executions
    • New tab in asset right menu that lists project executions
    • Choose repeat interval (hourly, daily, weekly, monthly)
    • Choose parallel mode to control behavior when multiple executions are scheduled at the same time (ignore new execution if old one is not finished, cancel old execution, run both executions at the same time)
    • Select and display maximum execution time
    • "Use Current Version" button
    • Paused ("disabled") schedules

Important Notes

None

Screenshots

"New Schedule" dialog
image

List of execution schedules:
image

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • The documentation has been updated, if necessary.
  • Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
  • All code follows the
    Scala,
    Java,
    TypeScript,
    and
    Rust
    style guides. In case you are using a language not listed above, follow the Rust style guide.
  • Unit tests have been written where possible.

@somebody1234 somebody1234 added CI: No changelog needed Do not require a changelog entry for this PR. x-new-feature Type: new feature request g-dashboard labels Aug 16, 2024
@somebody1234 somebody1234 marked this pull request as ready for review January 19, 2025 12:26
@PabloBuchu
Copy link
Contributor

PabloBuchu commented Jan 20, 2025

  1. First occurrence input display date time but I can only accurately edit date. It does not allow my to adjust hour or minutes.
  2. Disabled (click to enable) click resulted in 404 POST to https://xw0g8j3tsb.execute-api.eu-west-1.amazonaws.com/executions/undefined
    2.1 Same with delete
    2.2 Same with sync
  3. When are the executions fetched? I saw the request only once per project.. I removed them from db and still see them in GUI
  4. Thats not much visible.. lets have a number of scheduled executions per day here
Screenshot 2025-01-20 at 15 10 27 5. New schedule in executions tab opens a dialog while the same button in calendar opens bellow... We should have this consistent and always open in dialog 6. Also when I try to submit new schedule from the calendar tab I ends with Enso being reloaded

@MrFlashAccount
Copy link
Contributor

MrFlashAccount commented Jan 21, 2025

When are the executions fetched? I saw the request only once per project.. I removed them from db and still see them in GUI

They're cached for a couple of minutes, as any query. guess we need refetch interval here aswell?

# Conflicts:
#	app/gui/src/dashboard/App.tsx
#	app/gui/src/dashboard/components/AriaComponents/Checkbox/Checkbox.tsx
#	app/gui/src/dashboard/components/AriaComponents/Inputs/ComboBox/ComboBox.tsx
#	app/gui/src/dashboard/components/AriaComponents/Inputs/DatePicker/DatePicker.tsx
#	app/gui/src/dashboard/components/AriaComponents/Inputs/Input/Input.tsx
#	app/gui/src/dashboard/components/AriaComponents/Inputs/MultiSelector/MultiSelector.tsx
#	app/gui/src/dashboard/components/AriaComponents/Inputs/OTPInput/OTPInput.tsx
#	app/gui/src/dashboard/components/AriaComponents/Inputs/Selector/Selector.tsx
#	app/gui/src/dashboard/components/AriaComponents/Radio/RadioGroup.tsx
#	app/gui/src/dashboard/components/AriaComponents/Switch/Switch.tsx
#	app/gui/src/dashboard/components/AriaComponents/Text/Text.tsx
@MrFlashAccount MrFlashAccount added the CI: Ready to merge This PR is eligible for automatic merge label Jan 22, 2025
@mergify mergify bot merged commit 58e1b3d into develop Jan 22, 2025
40 checks passed
@mergify mergify bot deleted the wip/sb/async-execution branch January 22, 2025 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: No changelog needed Do not require a changelog entry for this PR. CI: Ready to merge This PR is eligible for automatic merge g-dashboard x-new-feature Type: new feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.