Skip to content

Commit 02886eb

Browse files
authored
Merge pull request #162 from airflow-laminar/copier-update-2026-07-05T08-04-33
Update from copier (2026-07-05T08:04:33)
2 parents 3664a7b + 610a5a6 commit 02886eb

21 files changed

Lines changed: 291 additions & 255 deletions

.copier-answers.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: 9b579a3
2+
_commit: dbcb02b
33
_src_path: https://github.com/python-project-templates/base.git
44
add_docs: false
55
add_extension: js
Lines changed: 22 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,31 @@
11
---
2-
name: Bug report
3-
about: Create a report to help us improve
4-
title: ''
5-
labels: ''
2+
name: Bug Report
3+
about: Report a bug to help us improve
4+
title: '[BUG] '
5+
labels: 'type: bug'
66
assignees: ''
7-
87
---
98

10-
**Describe the bug**
11-
A clear and concise description of what the bug is.
12-
13-
**To Reproduce**
14-
Steps to reproduce the behavior:
15-
1. Go to '...'
16-
2. Click on '....'
17-
3. Scroll down to '....'
18-
4. See error
9+
**Description**
10+
A clear and concise description of the bug.
1911

20-
**Expected behavior**
21-
A clear and concise description of what you expected to happen.
12+
**Steps to Reproduce**
13+
1.
14+
2.
15+
3.
2216

23-
**Screenshots**
24-
If applicable, add screenshots to help explain your problem.
17+
**Expected Behavior**
18+
What you expected to happen.
2519

26-
**Desktop (please complete the following information):**
27-
- OS: [e.g. iOS]
28-
- Browser [e.g. chrome, safari]
29-
- Version [e.g. 22]
20+
**Actual Behavior**
21+
What actually happened. Include full error messages or tracebacks if available.
3022

31-
**Smartphone (please complete the following information):**
32-
- Device: [e.g. iPhone6]
33-
- OS: [e.g. iOS8.1]
34-
- Browser [e.g. stock browser, safari]
35-
- Version [e.g. 22]
23+
**Environment**
24+
- OS: [e.g. Ubuntu 22.04, macOS 14.0, Windows 11]
25+
- Python version: [e.g. 3.11.5] (`python --version`)
26+
- Node.js version: [e.g. 22.0.0] (`node --version`)
27+
- pnpm version: [e.g. 9.0.0] (`pnpm --version`)
28+
- Package version: (`pip show airflow-balancer | grep Version`)
3629

37-
**Additional context**
38-
Add any other context about the problem here.
30+
**Additional Context**
31+
Add any other relevant context, logs, or screenshots.
Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
---
2-
name: Feature request
3-
about: Suggest an idea for this project
4-
title: ''
5-
labels: ''
2+
name: Feature Request
3+
about: Suggest a new feature or improvement
4+
title: '[FEATURE] '
5+
labels: 'type: enhancement'
66
assignees: ''
7-
87
---
98

10-
**Is your feature request related to a problem? Please describe.**
11-
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
9+
**Problem Statement**
10+
A clear description of the problem this feature would solve. Ex. "I'm always frustrated when [...]"
1211

13-
**Describe the solution you'd like**
14-
A clear and concise description of what you want to happen.
12+
**Proposed Solution**
13+
A clear description of the desired behavior or feature.
1514

16-
**Describe alternatives you've considered**
17-
A clear and concise description of any alternative solutions or features you've considered.
15+
**Alternatives Considered**
16+
Any alternative solutions or workarounds you've considered.
1817

19-
**Additional context**
20-
Add any other context or screenshots about the feature request here.
18+
**Additional Context**
19+
Add any other context, mockups, or examples.

.github/ISSUE_TEMPLATE/question.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
name: Question
3+
about: Ask a question about usage or behavior
4+
title: '[QUESTION] '
5+
labels: 'tag: question'
6+
assignees: ''
7+
---
8+
9+
**Question**
10+
A clear and concise description of your question.
11+
12+
**Context**
13+
What are you trying to accomplish? Include relevant code snippets, configuration, or links to documentation you've already consulted.
14+
15+
**Environment**
16+
If relevant, include your environment details (OS, language versions, package version).

.github/dependabot.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,16 @@ updates:
33
- package-ecosystem: "github-actions"
44
directory: "/"
55
schedule:
6-
interval: "weekly"
6+
interval: "monthly"
77
labels:
88
- "part: github_actions"
99

1010
- package-ecosystem: "pip"
1111
directory: "/"
1212
schedule:
1313
interval: "monthly"
14+
cooldown:
15+
default-days: 7
1416
labels:
1517
- "lang: python"
1618
- "part: dependencies"
@@ -19,7 +21,8 @@ updates:
1921
directory: "/js"
2022
schedule:
2123
interval: "monthly"
24+
cooldown:
25+
default-days: 7
2226
labels:
2327
- "lang: javascript"
2428
- "part: dependencies"
25-

.github/pull_request_template.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
## Description
2+
3+
Brief description of the changes in this PR.
4+
5+
## Type of Change
6+
7+
- [ ] Bug fix
8+
- [ ] New feature
9+
- [ ] Documentation update
10+
- [ ] Refactor / code cleanup
11+
- [ ] CI / build configuration
12+
- [ ] Other (describe below)
13+
14+
## Checklist
15+
16+
- [ ] Linting passes (`make lint`)
17+
- [ ] Tests pass (`make test`)
18+
- [ ] New tests added for new functionality
19+
- [ ] Documentation updated (if applicable)
20+
- [ ] Changelog / version bump (if applicable)

.github/workflows/build.yaml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ jobs:
3535
airflow: ["2", "3", ""]
3636

3737
steps:
38-
- uses: actions/checkout@v7
38+
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
3939

4040
- uses: actions-ext/python/setup@main
4141
with:
4242
version: ${{ matrix.python-version }}
4343

4444
- uses: actions-ext/node/setup@main
4545
with:
46-
version: 22.x
46+
version: ${{ matrix.node-version }}
4747

4848
- name: Install dependencies
4949
run: make develop
@@ -72,20 +72,20 @@ jobs:
7272
if: matrix.os == 'ubuntu-latest'
7373

7474
- name: Upload test results
75-
uses: actions/upload-artifact@v7
75+
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
7676
with:
7777
name: test-results-${{ matrix.os }}-${{ matrix.python-version }}-${{ matrix.node-version }}
7878
path: '**/junit.xml'
7979
if: ${{ matrix.airflow == '2' }}
8080

8181
- name: Publish Unit Test Results
82-
uses: EnricoMi/publish-unit-test-result-action@v2
82+
uses: EnricoMi/publish-unit-test-result-action@d0a4676d0e0b938bc201470d88276b7c74c712b3 # v2.24.0
8383
with:
8484
files: '**/junit.xml'
8585
if: ${{ matrix.airflow == '2' }}
8686

8787
- name: Upload coverage
88-
uses: codecov/codecov-action@v6
88+
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
8989
with:
9090
token: ${{ secrets.CODECOV_TOKEN }}
9191
if: ${{ matrix.airflow == '2' }}
@@ -94,7 +94,17 @@ jobs:
9494
run: make dist
9595
if: ${{ matrix.airflow == '2' }}
9696

97-
- uses: actions/upload-artifact@v7
97+
- uses: actions-ext/python/test-wheel@main
98+
with:
99+
module: airflow_balancer
100+
if: ${{ matrix.airflow == '2' }}
101+
102+
- uses: actions-ext/python/test-sdist@main
103+
with:
104+
module: airflow_balancer
105+
if: ${{ matrix.airflow == '2' }}
106+
107+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
98108
with:
99109
name: dist-${{matrix.os}}
100110
path: dist

.gitignore

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ __pycache__/
55

66
# C extensions
77
*.a
8+
*.o
9+
*.dSYM
810
*.so
911
*.obj
1012
*.dll
@@ -13,6 +15,7 @@ __pycache__/
1315

1416
# Rust
1517
target
18+
target-capi
1619

1720
# Distribution / packaging
1821
.Python
@@ -137,17 +140,18 @@ airflow_balancer/extension
137140
airflow_balancer/nbextension
138141
airflow_balancer/labextension
139142

143+
# Emscripten SDK (locally installed)
144+
emsdk
145+
140146
# Mac
141147
.DS_Store
142148

143-
# Rust
144-
target
145-
146149
# Hydra
147-
outputs/
148-
multirun/
150+
/outputs/
151+
/multirun/
149152

150153
# AI
151154
ROADMAP.md
152155
AGENTS.md
153156
.github/hooks/sdlc.json
157+
.superpowers

airflow_balancer/ui/airflow.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import logging
44
import os
5+
from pathlib import Path
56

67
from airflow.plugins_manager import AirflowPlugin
78

@@ -58,7 +59,7 @@ def home(self):
5859
"Airflow Balancer",
5960
__name__,
6061
template_folder="templates",
61-
static_folder="static",
62+
static_folder=str(Path(__file__).parent.parent / "extension"),
6263
static_url_path="/static/airflow-balancer",
6364
)
6465

airflow_balancer/ui/standalone/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
from ..functions import get_hosts_from_yaml, get_yaml_files
1313

14-
_static_path = Path(__file__).parent.parent / "static"
14+
_static_path = Path(__file__).parent.parent.parent / "extension"
1515
_static_airflow_path = Path(__file__).parent / "static"
1616

1717
__all__ = ("build_app", "main")

0 commit comments

Comments
 (0)