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

[EDGE]Enable edge worker maintenance mode #45958

Merged
Merged
Changes from 1 commit
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
194aacf
Initial implementation
Jan 16, 2025
39631d5
fix import
Jan 16, 2025
389ff40
fix brackets
Jan 16, 2025
cca3b03
try harder
Jan 17, 2025
0349c68
fix name
Jan 17, 2025
a2dc730
change to get request
Jan 17, 2025
0ddd445
debug print
Jan 17, 2025
bca1531
try-except
Jan 17, 2025
490c4a6
new return type
Jan 17, 2025
81cf3b3
fix expose
Jan 17, 2025
89158ae
use str in db
Jan 17, 2025
0938cdf
link fix
Jan 17, 2025
59c226b
fix variable length
Jan 17, 2025
fc005b7
MAINTENANCE_REQUEST
Jan 17, 2025
b18f42f
add valid return
Jan 17, 2025
c81f77b
add valid return statement
Jan 17, 2025
47510cb
try different naming
Jan 17, 2025
9beddbb
more debug print
Jan 17, 2025
d266a21
extend enum
Jan 17, 2025
5b5264d
new button to enter maintenance mode
Jan 20, 2025
6f0d233
Implement maintenance off
Jan 20, 2025
e0238c1
try new redirect
Jan 20, 2025
d3abeb6
fix redirect url
Jan 20, 2025
93fbddd
commit sesion
Jan 20, 2025
dba0ee1
try another endpoint
Jan 20, 2025
b82daa0
remove debug print
Jan 20, 2025
6c91c20
exit print
Jan 20, 2025
e7fd523
static checks
Jan 20, 2025
c05c92b
Initial implementation
Jan 16, 2025
9dbe4e7
fix import
Jan 16, 2025
a1bc307
fix brackets
Jan 16, 2025
4fd34e8
try harder
Jan 17, 2025
6b21a7c
fix name
Jan 17, 2025
b9cc8a5
change to get request
Jan 17, 2025
4edcb7b
debug print
Jan 17, 2025
cca82b0
try-except
Jan 17, 2025
c9adb71
new return type
Jan 17, 2025
5addea6
fix expose
Jan 17, 2025
f700199
use str in db
Jan 17, 2025
df31204
link fix
Jan 17, 2025
c029212
fix variable length
Jan 17, 2025
07411b6
MAINTENANCE_REQUEST
Jan 17, 2025
6dce9cb
add valid return
Jan 17, 2025
b84f86d
add valid return statement
Jan 17, 2025
6961d35
try different naming
Jan 17, 2025
02d2a2a
more debug print
Jan 17, 2025
7eef263
extend enum
Jan 17, 2025
6bf1f36
new button to enter maintenance mode
Jan 20, 2025
47e301f
Implement maintenance off
Jan 20, 2025
7bcb038
try new redirect
Jan 20, 2025
62fb1f3
fix redirect url
Jan 20, 2025
694e7ba
commit sesion
Jan 20, 2025
77ef1ff
try another endpoint
Jan 20, 2025
55a5cf1
remove debug print
Jan 20, 2025
04864b9
exit print
Jan 20, 2025
44e6355
static checks
Jan 20, 2025
7b6cc00
Merge branch 'feature/enable-edge-worker-maintenance-mode' of https:/…
Jan 23, 2025
4ce5951
add new colors for maintenance modes
Jan 23, 2025
55bee68
modfiy host html
Jan 23, 2025
607d0e8
fix quote
Jan 23, 2025
3163d99
remove more debug prints
Jan 23, 2025
79d4ff0
fix mypy
Jan 24, 2025
cabbe6a
another mypy fix
Jan 24, 2025
a54111c
final mypy fix
Jan 24, 2025
6869a34
add pytests
Jan 24, 2025
9236f5a
Update edge worker versions
Jan 24, 2025
9810bf6
fix spelling
Jan 24, 2025
81c1a58
update versions
Jan 24, 2025
12a6f99
create pydantic class
Jan 27, 2025
a5ebc46
fix pytest
Jan 27, 2025
8963861
update docs
Jan 27, 2025
10c3c05
apply review findings
Jan 27, 2025
5bce908
moved logic from plugins
Jan 27, 2025
8c30c44
immidiate hertbeat if state cahgnes
Jan 27, 2025
2576dec
openapi fix
Jan 29, 2025
58d855a
fix condition
Jan 29, 2025
d061080
exclude csfr checks
Jan 29, 2025
119608a
return WorkerSetStateReturn by worker_set_state
Jan 29, 2025
3f7d444
add debug print
Jan 30, 2025
2168c43
try new return
Jan 30, 2025
d83d2ee
fix heartbeat state
Jan 30, 2025
211f0d3
fix expresiion
Jan 30, 2025
65221ee
fix variable isue
Jan 30, 2025
c38f718
fix logic
Jan 30, 2025
5d7df74
fix pytest
Jan 30, 2025
72be49e
Merge branch 'main' into feature/enable-edge-worker-maintenance-mode
majorosdonat Jan 31, 2025
fc639d5
fix pytest
Jan 31, 2025
5a658ee
minor fix
Jan 31, 2025
130b577
fix airflow 3 compatibility
Feb 3, 2025
72ca9b5
Merge branch 'main' into feature/enable-edge-worker-maintenance-mode
majorosdonat Feb 3, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix import
  • Loading branch information
Majoros Donat (XC-DX/EET2-Bp) committed Jan 16, 2025

Unverified

No user is associated with the committer email.
commit 39631d5af5bcccb651372af06899bbff6c0a45c2
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@
from pathlib import Path
from typing import TYPE_CHECKING, Any

from flask import Blueprint, requests
from flask import Blueprint, request
from flask_appbuilder import BaseView, expose
from sqlalchemy import select