-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into sparse-checkout-for-git-pulls
- Loading branch information
Showing
760 changed files
with
52,343 additions
and
3,309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,7 @@ changelog: | |
- title: Development & Tidiness 🧹 | ||
labels: | ||
- development | ||
- docs | ||
- title: Uncategorized | ||
labels: | ||
- "*" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Test Windows UNC Paths | ||
|
||
on: | ||
workflow_dispatch: # Allow manual triggering | ||
pull_request: | ||
paths: | ||
- "src/prefect/utilities/filesystem.py" | ||
- "scripts/test_unc_paths.py" | ||
- ".github/workflows/test-windows-unc.yaml" | ||
- "requirements.txt" | ||
- "requirements-client.txt" | ||
|
||
jobs: | ||
test-unc-paths: | ||
runs-on: windows-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
persist-credentials: false | ||
fetch-depth: 0 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.12" | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install -U pip | ||
pip install -e . | ||
- name: Create test UNC path and run flow | ||
shell: pwsh | ||
run: | | ||
# Create a test directory | ||
New-Item -ItemType Directory -Path "C:\ShareTest" -Force | ||
# Create network share | ||
New-SmbShare -Name "PrefectTest" -Path "C:\ShareTest" -FullAccess "Everyone" | ||
# Run the test script from the current directory | ||
# This will create and test flows in the UNC path | ||
python scripts/test_unc_paths.py | ||
env: | ||
PYTHONPATH: ${{ github.workspace }} | ||
|
||
- name: Cleanup | ||
if: always() | ||
shell: pwsh | ||
run: | | ||
Remove-SmbShare -Name "PrefectTest" -Force |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: UI v2 Checks | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- .github/workflows/ui-v2-checks.yml | ||
- ui-v2/** | ||
- .nvmrc | ||
push: | ||
branches: | ||
- main | ||
|
||
permissions: | ||
contents: read | ||
|
||
# Limit concurrency by workflow/branch combination. | ||
# | ||
# For pull request builds, pushing additional changes to the | ||
# branch will cancel prior in-progress and pending builds. | ||
# | ||
# For builds triggered on a branch push, additional changes | ||
# will wait for prior builds to complete before starting. | ||
# | ||
# https://docs.github.com/en/actions/using-jobs/using-concurrency | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: ${{ github.event_name == 'pull_request' }} | ||
|
||
jobs: | ||
build-ui: | ||
name: Build ui | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: ".nvmrc" | ||
cache-dependency-path: "**/package-lock.json" | ||
|
||
- name: Install UI dependencies | ||
working-directory: ./ui-v2 | ||
run: npm ci install | ||
|
||
- name: Check formatting | ||
working-directory: ./ui-v2 | ||
run: npm run format:check | ||
|
||
- name: Lint | ||
working-directory: ./ui-v2 | ||
run: npm run lint | ||
|
||
- name: Build UI | ||
working-directory: ./ui-v2 | ||
run: npm run build | ||
|
||
- name: Run tests | ||
working-directory: ./ui-v2 | ||
run: npm run test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,6 +65,7 @@ dask-worker-space/ | |
!ui/.vscode/ | ||
|
||
# Prefect files | ||
prefect.toml | ||
prefect.yaml | ||
|
||
# Deployment recipes | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.