Skip to content

Commit a77a44f

Browse files
authored
Merge branch 'HumanSignal:develop' into fix-disappearing-bitmaskregions
2 parents 5f0a47c + 38fae69 commit a77a44f

893 files changed

Lines changed: 43256 additions & 14278 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.cursor/rules/storage-provider.mdc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ Follow all steps below to implement a new storage. More details follow after the
6363
- [ ] Make poetry lock: `poetry install && poetry lock`
6464
12. [ ] Create database migrations using `poetry run python manage.py makemigrations` only!
6565
13. [ ] Ensure that you correctly handle token and security fields; they should not be displayed on the frontend or backend after they are initially entered and saved. Verify how this works with other storage codes.
66+
14. [ ] **Error Handling Strategy:**
67+
- **Import**: If `VolumesAPI.iter_files` or other listing helpers call `resp.raise_for_status()`, make sure callers wrap these in try/except (or downgrade to debug logging) so recursive listing failures can be surfaced without crashing the sync job.
68+
- **Export**: When saving/deleting annotations, *never* let `resp.raise_for_status()` propagate to the RQ worker. Catch `RequestException` (and generic exceptions), log a warning, and record the error in `Storage.meta` and `Storage.traceback` so the user can see why some files were skipped. Jobs must finish with the correct storage status (`completed_with_errors`) even when the provider intermittently fails.
69+
- Update this guide whenever new patterns emerge so providers keep consistent behavior.
6670

6771
### 3. Frontend Implementation
6872
1. [ ] Check examples: for Open Source see: `label-studio/web/apps/labelstudio/src/pages/Settings/StorageSettings/providers/`, for Enterprise see: `label-studio-enterprise/web/apps/labelstudio/src/pages/Settings/StorageSettings/providers/`

.github/CODEOWNERS

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
deploy/ @HumanSignal/devops
33
Dockerfile* @HumanSignal/devops
44
docker-compose* @HumanSignal/devops
5-
docs/.npmignore @hlomzik @Gondragos @nick-skriabin
6-
docs/package.json @hlomzik @Gondragos @nick-skriabin
7-
docs/yarn.lock @hlomzik @Gondragos @nick-skriabin
8-
web/libs/editor @hlomzik @Gondragos @nick-skriabin
5+
docs/.npmignore @hlomzik @nick-skriabin
6+
docs/package.json @hlomzik @nick-skriabin
7+
docs/yarn.lock @hlomzik @nick-skriabin
8+
web/libs/editor @hlomzik @nick-skriabin
99
web/tools @HumanSignal/fine-tuners
1010
web/libs/datamanager @HumanSignal/fine-tuners
1111
web/design-tokens.json @HumanSignal/fine-tuners
@@ -17,4 +17,4 @@ web/libs/editor/**/TimeSeries* @HumanSignal/fine-tuners
1717
web/apps/labelstudio/src/pages/DataManager @HumanSignal/fine-tuners
1818
label_studio/data_manager @HumanSignal/fine-tuners
1919
web/apps/playground @HumanSignal/fine-tuners
20-
label_studio/**/migrations/*.py @HumanSignal/team-root
20+
label_studio/**/migrations/*.py @HumanSignal/team-root

.github/workflows/apply-linters.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
- name: Add Workflow link to chat ops command comment
2828
if: github.event.client_payload.github.payload.comment.id && github.event.client_payload.github.payload.repository.full_name
29-
uses: peter-evans/create-or-update-comment@v4
29+
uses: peter-evans/create-or-update-comment@v5
3030
with:
3131
token: ${{ secrets.GIT_PAT }}
3232
repository: ${{ github.event.client_payload.github.payload.repository.full_name }}
@@ -35,14 +35,14 @@ jobs:
3535
> [Workflow run](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})
3636
3737
- name: Checkout
38-
uses: actions/checkout@v5
38+
uses: actions/checkout@v6
3939
with:
4040
token: ${{ secrets.GIT_PAT }}
4141
ref: ${{ inputs.branch_name }}
4242
repository: "${{ github.event.client_payload.pull_request.head.repo.full_name || github.repository }}"
4343

4444
- name: Checkout Actions Hub
45-
uses: actions/checkout@v5
45+
uses: actions/checkout@v6
4646
with:
4747
token: ${{ secrets.GIT_PAT }}
4848
repository: HumanSignal/actions-hub
@@ -99,7 +99,7 @@ jobs:
9999

100100
- name: Add reaction to chat ops command comment
101101
if: always() && github.event.client_payload.github.payload.comment.id && github.event.client_payload.github.payload.repository.full_name
102-
uses: peter-evans/create-or-update-comment@v4
102+
uses: peter-evans/create-or-update-comment@v5
103103
with:
104104
token: ${{ secrets.GIT_PAT }}
105105
repository: ${{ github.event.client_payload.github.payload.repository.full_name }}

.github/workflows/bandit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- uses: hmarr/debug-action@v3.0.0
2323

2424
- name: Checkout
25-
uses: actions/checkout@v5
25+
uses: actions/checkout@v6
2626
with:
2727
ref: ${{ inputs.head_sha }}
2828

@@ -45,7 +45,7 @@ jobs:
4545
if: always()
4646
run: cat ${{ env.REPORT_PATH }}
4747

48-
- uses: actions/upload-artifact@v4
48+
- uses: actions/upload-artifact@v5
4949
if: always()
5050
with:
5151
name: Security check results

.github/workflows/biome.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: hmarr/debug-action@v3.0.0
2121

2222
- name: Checkout
23-
uses: actions/checkout@v5
23+
uses: actions/checkout@v6
2424
with:
2525
ref: ${{ inputs.head_sha }}
2626

.github/workflows/blue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v5
16+
uses: actions/checkout@v6
1717
with:
1818
ref: ${{ inputs.head_sha }}
1919

.github/workflows/build_pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
- uses: hmarr/debug-action@v3.0.0
7878

7979
- name: Checkout
80-
uses: actions/checkout@v5
80+
uses: actions/checkout@v6
8181
with:
8282
ref: ${{ inputs.ref }}
8383

@@ -217,7 +217,7 @@ jobs:
217217
218218
- name: Upload to artifact
219219
if: always() && inputs.release_type == 'release'
220-
uses: actions/upload-artifact@v4
220+
uses: actions/upload-artifact@v5
221221
with:
222222
name: Dist
223223
path: dist/

.github/workflows/build_pypi_nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
104104
- name: Create Nightly Release
105105
id: create_release
106-
uses: softprops/action-gh-release@v2.3.3
106+
uses: softprops/action-gh-release@v2.4.2
107107
with:
108108
token: ${{ secrets.GIT_PAT }}
109109
body_path: ${{ github.workspace }}-CHANGELOG.txt

.github/workflows/bump-helm-chart.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
git config --global user.email 'robot-ci-heartex@users.noreply.github.com'
3434
3535
- name: Checkout
36-
uses: actions/checkout@v5
36+
uses: actions/checkout@v6
3737
with:
3838
repository: "${{ github.repository_owner }}/${{ env.HELM_CHART_REPO_NAME }}"
3939
token: ${{ secrets.GIT_PAT }}

.github/workflows/cicd_pipeline.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636

3737
- name: Checkout
3838
if: github.event_name == 'push'
39-
uses: actions/checkout@v5
39+
uses: actions/checkout@v6
4040
with:
4141
ref: ${{ github.ref }}
4242

@@ -237,14 +237,14 @@ jobs:
237237
- uses: hmarr/debug-action@v3.0.0
238238

239239
- name: Checkout
240-
uses: actions/checkout@v5
240+
uses: actions/checkout@v6
241241
with:
242242
token: ${{ secrets.GIT_PAT }}
243243
ref: ${{ github.sha }}
244244
fetch-depth: 0
245245

246246
- name: Checkout Actions Hub
247-
uses: actions/checkout@v5
247+
uses: actions/checkout@v6
248248
with:
249249
token: ${{ secrets.GIT_PAT }}
250250
repository: HumanSignal/actions-hub

0 commit comments

Comments
 (0)