Skip to content

Conversation

@jscheffl
Copy link
Contributor

@jscheffl jscheffl commented Sep 7, 2025

@dheerajturaga somehow I was not able to pugh to your repo directly git gave me an error :-(

error: Authentication error: Authentication required: You must have push access to verify locks
error: failed to push some refs to 'github.com:dheerajturaga/airflow.git'

...anyway, another way around, openeing a draft PR here, can you cherry-pick the commits down to your PR?

The last commit Rework maintenance dialog to be a dialog has a problem though: Dialog is not opening, it makes a JS script error which is not much helpful:

Uncaught TypeError: can't access property "flushSync", ne is undefined
    R http://localhost:28080/edge_worker/static/main.umd.cjs:16

UPDATE: THANKS to @shubhamraj-git - your proposal fixed it! Finally "beautifil" UI is now coming-up with:

image

@boring-cyborg boring-cyborg bot added area:providers provider:edge Edge Executor / Worker (AIP-69) / edge3 labels Sep 7, 2025
@jscheffl jscheffl force-pushed the feature/edge-maintenance-plugin-beautification branch from 988adf2 to cb201e5 Compare September 7, 2025 20:56
@jscheffl jscheffl requested a review from Copilot September 7, 2025 20:57
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors the edge worker maintenance UI from an inline form to a dialog-based interface, improving user experience with better visual presentation and interaction patterns.

  • Replaces inline maintenance form with a dedicated dialog component
  • Separates maintenance operations into individual button components
  • Fixes React DOM dependency issues for proper dialog rendering

Reviewed Changes

Copilot reviewed 9 out of 10 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
www-hash.txt Updates hash for built web assets
ui.py Adds status code constants and maintenance comment validation
vite.config.ts Adds ReactDOM global for external library compatibility
WorkerPage.tsx Refactors to use new WorkerOperations component
WorkerOperations.tsx New component orchestrating maintenance operations
OperationsCell.tsx Removes old inline form implementation
MaintenanceExitButton.tsx New component for exiting maintenance mode
MaintenanceEnterButton.tsx New component with dialog for entering maintenance
main.tsx Exposes ReactDOM globally for plugin compatibility

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@dheerajturaga
Copy link
Member

Cool! Nice and clean UI. I like it

image

@jscheffl jscheffl added this to the Airflow 3.1.0 milestone Sep 8, 2025
@jscheffl jscheffl added type:bug-fix Changelog: Bug Fixes area:UI Related to UI/UX. For Frontend Developers. labels Sep 8, 2025
@jscheffl jscheffl force-pushed the feature/edge-maintenance-plugin-beautification branch from fbb4116 to 5eee9f4 Compare September 8, 2025 19:37
@jscheffl jscheffl marked this pull request as ready for review September 8, 2025 19:37
Copy link
Member

@kaxil kaxil left a comment

Choose a reason for hiding this comment

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

Mainly a rubber stamp for merge. Backend changes looks good

@kaxil
Copy link
Member

kaxil commented Sep 8, 2025

Merging based on Dheeraj's approval too

@kaxil kaxil merged commit 068f3fc into apache:main Sep 8, 2025
98 of 102 checks passed
Copy link
Member

@pierrejeambrun pierrejeambrun left a comment

Choose a reason for hiding this comment

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

Nice, thanks for the flushSync fix 🎉.

Here is a follow up PR to include that by default to the bootstrapping tool.
#55451

abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Sep 30, 2025
@dheerajturaga somehow I was not able to pugh to your repo directly git gave me an error :-(
```
error: Authentication error: Authentication required: You must have push access to verify locks
error: failed to push some refs to 'github.com:dheerajturaga/airflow.git'
```
...anyway, another way around, openeing a draft PR here, can you cherry-pick the commits down to your PR?

The last commit [Rework maintenance dialog to be a dialog](apache@7e6d13c) has a problem though: Dialog is not opening, it makes a JS script error which is not much helpful:
```
Uncaught TypeError: can't access property "flushSync", ne is undefined
    R http://localhost:28080/edge_worker/static/main.umd.cjs:16
```
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 1, 2025
@dheerajturaga somehow I was not able to pugh to your repo directly git gave me an error :-(
```
error: Authentication error: Authentication required: You must have push access to verify locks
error: failed to push some refs to 'github.com:dheerajturaga/airflow.git'
```
...anyway, another way around, openeing a draft PR here, can you cherry-pick the commits down to your PR?

The last commit [Rework maintenance dialog to be a dialog](apache@7e6d13c) has a problem though: Dialog is not opening, it makes a JS script error which is not much helpful:
```
Uncaught TypeError: can't access property "flushSync", ne is undefined
    R http://localhost:28080/edge_worker/static/main.umd.cjs:16
```
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 2, 2025
@dheerajturaga somehow I was not able to pugh to your repo directly git gave me an error :-(
```
error: Authentication error: Authentication required: You must have push access to verify locks
error: failed to push some refs to 'github.com:dheerajturaga/airflow.git'
```
...anyway, another way around, openeing a draft PR here, can you cherry-pick the commits down to your PR?

The last commit [Rework maintenance dialog to be a dialog](apache@7e6d13c) has a problem though: Dialog is not opening, it makes a JS script error which is not much helpful:
```
Uncaught TypeError: can't access property "flushSync", ne is undefined
    R http://localhost:28080/edge_worker/static/main.umd.cjs:16
```
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 3, 2025
@dheerajturaga somehow I was not able to pugh to your repo directly git gave me an error :-(
```
error: Authentication error: Authentication required: You must have push access to verify locks
error: failed to push some refs to 'github.com:dheerajturaga/airflow.git'
```
...anyway, another way around, openeing a draft PR here, can you cherry-pick the commits down to your PR?

The last commit [Rework maintenance dialog to be a dialog](apache@7e6d13c) has a problem though: Dialog is not opening, it makes a JS script error which is not much helpful:
```
Uncaught TypeError: can't access property "flushSync", ne is undefined
    R http://localhost:28080/edge_worker/static/main.umd.cjs:16
```
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 4, 2025
@dheerajturaga somehow I was not able to pugh to your repo directly git gave me an error :-(
```
error: Authentication error: Authentication required: You must have push access to verify locks
error: failed to push some refs to 'github.com:dheerajturaga/airflow.git'
```
...anyway, another way around, openeing a draft PR here, can you cherry-pick the commits down to your PR?

The last commit [Rework maintenance dialog to be a dialog](apache@7e6d13c) has a problem though: Dialog is not opening, it makes a JS script error which is not much helpful:
```
Uncaught TypeError: can't access property "flushSync", ne is undefined
    R http://localhost:28080/edge_worker/static/main.umd.cjs:16
```
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 5, 2025
@dheerajturaga somehow I was not able to pugh to your repo directly git gave me an error :-(
```
error: Authentication error: Authentication required: You must have push access to verify locks
error: failed to push some refs to 'github.com:dheerajturaga/airflow.git'
```
...anyway, another way around, openeing a draft PR here, can you cherry-pick the commits down to your PR?

The last commit [Rework maintenance dialog to be a dialog](apache@7e6d13c) has a problem though: Dialog is not opening, it makes a JS script error which is not much helpful:
```
Uncaught TypeError: can't access property "flushSync", ne is undefined
    R http://localhost:28080/edge_worker/static/main.umd.cjs:16
```
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 5, 2025
@dheerajturaga somehow I was not able to pugh to your repo directly git gave me an error :-(
```
error: Authentication error: Authentication required: You must have push access to verify locks
error: failed to push some refs to 'github.com:dheerajturaga/airflow.git'
```
...anyway, another way around, openeing a draft PR here, can you cherry-pick the commits down to your PR?

The last commit [Rework maintenance dialog to be a dialog](apache@7e6d13c) has a problem though: Dialog is not opening, it makes a JS script error which is not much helpful:
```
Uncaught TypeError: can't access property "flushSync", ne is undefined
    R http://localhost:28080/edge_worker/static/main.umd.cjs:16
```
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 7, 2025
@dheerajturaga somehow I was not able to pugh to your repo directly git gave me an error :-(
```
error: Authentication error: Authentication required: You must have push access to verify locks
error: failed to push some refs to 'github.com:dheerajturaga/airflow.git'
```
...anyway, another way around, openeing a draft PR here, can you cherry-pick the commits down to your PR?

The last commit [Rework maintenance dialog to be a dialog](apache@7e6d13c) has a problem though: Dialog is not opening, it makes a JS script error which is not much helpful:
```
Uncaught TypeError: can't access property "flushSync", ne is undefined
    R http://localhost:28080/edge_worker/static/main.umd.cjs:16
```
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 8, 2025
@dheerajturaga somehow I was not able to pugh to your repo directly git gave me an error :-(
```
error: Authentication error: Authentication required: You must have push access to verify locks
error: failed to push some refs to 'github.com:dheerajturaga/airflow.git'
```
...anyway, another way around, openeing a draft PR here, can you cherry-pick the commits down to your PR?

The last commit [Rework maintenance dialog to be a dialog](apache@7e6d13c) has a problem though: Dialog is not opening, it makes a JS script error which is not much helpful:
```
Uncaught TypeError: can't access property "flushSync", ne is undefined
    R http://localhost:28080/edge_worker/static/main.umd.cjs:16
```
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 9, 2025
@dheerajturaga somehow I was not able to pugh to your repo directly git gave me an error :-(
```
error: Authentication error: Authentication required: You must have push access to verify locks
error: failed to push some refs to 'github.com:dheerajturaga/airflow.git'
```
...anyway, another way around, openeing a draft PR here, can you cherry-pick the commits down to your PR?

The last commit [Rework maintenance dialog to be a dialog](apache@7e6d13c) has a problem though: Dialog is not opening, it makes a JS script error which is not much helpful:
```
Uncaught TypeError: can't access property "flushSync", ne is undefined
    R http://localhost:28080/edge_worker/static/main.umd.cjs:16
```
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 10, 2025
@dheerajturaga somehow I was not able to pugh to your repo directly git gave me an error :-(
```
error: Authentication error: Authentication required: You must have push access to verify locks
error: failed to push some refs to 'github.com:dheerajturaga/airflow.git'
```
...anyway, another way around, openeing a draft PR here, can you cherry-pick the commits down to your PR?

The last commit [Rework maintenance dialog to be a dialog](apache@7e6d13c) has a problem though: Dialog is not opening, it makes a JS script error which is not much helpful:
```
Uncaught TypeError: can't access property "flushSync", ne is undefined
    R http://localhost:28080/edge_worker/static/main.umd.cjs:16
```
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 11, 2025
@dheerajturaga somehow I was not able to pugh to your repo directly git gave me an error :-(
```
error: Authentication error: Authentication required: You must have push access to verify locks
error: failed to push some refs to 'github.com:dheerajturaga/airflow.git'
```
...anyway, another way around, openeing a draft PR here, can you cherry-pick the commits down to your PR?

The last commit [Rework maintenance dialog to be a dialog](apache@7e6d13c) has a problem though: Dialog is not opening, it makes a JS script error which is not much helpful:
```
Uncaught TypeError: can't access property "flushSync", ne is undefined
    R http://localhost:28080/edge_worker/static/main.umd.cjs:16
```
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 12, 2025
@dheerajturaga somehow I was not able to pugh to your repo directly git gave me an error :-(
```
error: Authentication error: Authentication required: You must have push access to verify locks
error: failed to push some refs to 'github.com:dheerajturaga/airflow.git'
```
...anyway, another way around, openeing a draft PR here, can you cherry-pick the commits down to your PR?

The last commit [Rework maintenance dialog to be a dialog](apache@7e6d13c) has a problem though: Dialog is not opening, it makes a JS script error which is not much helpful:
```
Uncaught TypeError: can't access property "flushSync", ne is undefined
    R http://localhost:28080/edge_worker/static/main.umd.cjs:16
```
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 14, 2025
@dheerajturaga somehow I was not able to pugh to your repo directly git gave me an error :-(
```
error: Authentication error: Authentication required: You must have push access to verify locks
error: failed to push some refs to 'github.com:dheerajturaga/airflow.git'
```
...anyway, another way around, openeing a draft PR here, can you cherry-pick the commits down to your PR?

The last commit [Rework maintenance dialog to be a dialog](apache@7e6d13c) has a problem though: Dialog is not opening, it makes a JS script error which is not much helpful:
```
Uncaught TypeError: can't access property "flushSync", ne is undefined
    R http://localhost:28080/edge_worker/static/main.umd.cjs:16
```
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 15, 2025
@dheerajturaga somehow I was not able to pugh to your repo directly git gave me an error :-(
```
error: Authentication error: Authentication required: You must have push access to verify locks
error: failed to push some refs to 'github.com:dheerajturaga/airflow.git'
```
...anyway, another way around, openeing a draft PR here, can you cherry-pick the commits down to your PR?

The last commit [Rework maintenance dialog to be a dialog](apache@7e6d13c) has a problem though: Dialog is not opening, it makes a JS script error which is not much helpful:
```
Uncaught TypeError: can't access property "flushSync", ne is undefined
    R http://localhost:28080/edge_worker/static/main.umd.cjs:16
```
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 17, 2025
@dheerajturaga somehow I was not able to pugh to your repo directly git gave me an error :-(
```
error: Authentication error: Authentication required: You must have push access to verify locks
error: failed to push some refs to 'github.com:dheerajturaga/airflow.git'
```
...anyway, another way around, openeing a draft PR here, can you cherry-pick the commits down to your PR?

The last commit [Rework maintenance dialog to be a dialog](apache@7e6d13c) has a problem though: Dialog is not opening, it makes a JS script error which is not much helpful:
```
Uncaught TypeError: can't access property "flushSync", ne is undefined
    R http://localhost:28080/edge_worker/static/main.umd.cjs:16
```
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 19, 2025
@dheerajturaga somehow I was not able to pugh to your repo directly git gave me an error :-(
```
error: Authentication error: Authentication required: You must have push access to verify locks
error: failed to push some refs to 'github.com:dheerajturaga/airflow.git'
```
...anyway, another way around, openeing a draft PR here, can you cherry-pick the commits down to your PR?

The last commit [Rework maintenance dialog to be a dialog](apache@7e6d13c) has a problem though: Dialog is not opening, it makes a JS script error which is not much helpful:
```
Uncaught TypeError: can't access property "flushSync", ne is undefined
    R http://localhost:28080/edge_worker/static/main.umd.cjs:16
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers area:UI Related to UI/UX. For Frontend Developers. provider:edge Edge Executor / Worker (AIP-69) / edge3 type:bug-fix Changelog: Bug Fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants