You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(platform): fix race condition in e2e test due to caching (#206)
* feat(platform): Support for tags in custom sdk metadata, run and item-level
* feat(platform): Support created_at and updated_at in custom sdk metadata, run and item-level
* feat(platform): Support nocache=True on cached operations
* feat(platform): Custom run and item metadata can be updated
* chore(platform): Improved depth of tests
* chore(platform): Fix race condition in e2e test due to caching by using nocache
* chore(platform): Start with submit-and-find e2e tests later replacing submit-and-wait
* feat(application): Custom run and item metadata can be dumped as JSON via the CLI
* feat(application): custom run metadata can be updated via the CLI
* feat(application): Custom run metadata can be edited via the GUI (admins only)
* feat(application): Allow to submit tags via CLI and find back runs via tags
* chore(qupath): Enable complex automated test scenario covering creating QuPath projects
* chore(deps): bump
* docs(AI): update
Copy file name to clipboardExpand all lines: CLAUDE.md
+43-10Lines changed: 43 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -509,20 +509,24 @@ Some modules have conditional loading based on dependencies:
509
509
* 5-minute refresh buffer before expiry
510
510
* OAuth 2.0 device flow
511
511
512
-
### SDK Metadata System (NEW in v1.0.0-beta.7)
512
+
### SDK Metadata System (ENHANCED - Run v0.0.4, Item v0.0.3)
513
513
514
-
**Automatic Run Tracking**: Every application run submitted through the SDK automatically includes comprehensive metadata about the execution context.
514
+
**Automatic Run & Item Tracking**: Every application run and item submitted through the SDK automatically includes comprehensive metadata about the execution context, with support for tags and timestamps.
515
515
516
516
**Key Features:**
517
517
518
-
***Automatic Attachment**: SDK metadata added to every run without user action
518
+
***Automatic Attachment**: SDK metadata added to every run and item without user action
519
519
***Environment Detection**: Automatically detects script/CLI/GUI and user/test/bridge contexts
520
520
***CI/CD Integration**: Captures GitHub Actions workflow information and pytest test context
521
521
***User Information**: Includes authenticated user and organization details
522
-
***Schema Validation**: Pydantic-based validation with JSON Schema (v0.0.1)
523
-
***Versioned Schema**: Published JSON Schema at `docs/source/_static/sdk_metadata_schema_*.json`
*`--application-version TEXT`: Version of the application. If not provided, the latest version will be used.
201
205
*`--create-subdirectory-for-run / --no-create-subdirectory-for-run`: Create a subdirectory for the results of the run in the destination directory [default: create-subdirectory-for-run]
202
206
*`--create-subdirectory-per-item / --no-create-subdirectory-per-item`: Create a subdirectory per item in the destination directory [default: create-subdirectory-per-item]
203
-
*`--upload-prefix TEXT`: Prefix for the upload destination. If not given will be set to current milliseconds. [default: 1761393428019.061]
207
+
*`--upload-prefix TEXT`: Prefix for the upload destination. If not given will be set to current milliseconds. [default: 1761499056785.385]
204
208
*`--wait-for-completion / --no-wait-for-completion`: Wait for run completion and download results incrementally [default: wait-for-completion]
205
209
*`--note TEXT`: Optional note to include with the run submission via custom metadata.
206
210
*`--due-date TEXT`: Optional soft due date to include with the run submission, ISO8601 format. The scheduler will try to complete the run by this date, taking the subscription tierand available GPU resources into account.
*`--application-version TEXT`: Version of the application. If not provided, the latest version will be used.
266
-
*`--upload-prefix TEXT`: Prefix for the upload destination. If not given will be set to current milliseconds. [default: 1761393428019.1792]
270
+
*`--upload-prefix TEXT`: Prefix for the upload destination. If not given will be set to current milliseconds. [default: 1761499056785.492]
267
271
*`--onboard-to-aignostics-portal / --no-onboard-to-aignostics-portal`: If set, the run will be onboarded to the Aignostics Portal. [default: no-onboard-to-aignostics-portal]
*`--application-version TEXT`: Version of the application to generate the metadata for. If not provided, the latest version will be used.
293
297
*`--note TEXT`: Optional note to include with the run submission via custom metadata.
298
+
*`--tags TEXT`: Optional comma-separated list of tags to attach to the run for filtering.
294
299
*`--due-date TEXT`: Optional soft due date to include with the run submission, ISO8601 format. The scheduler will try to complete the run by this date, taking the subscription tierand available GPU resources into account.
295
300
*`--deadline TEXT`: Optional hard deadline to include with the run submission, ISO8601 format. If processing exceeds this deadline, the run can be aborted.
296
301
*`--onboard-to-aignostics-portal / --no-onboard-to-aignostics-portal`: If True, onboard the run to the Aignostics Portal. [default: no-onboard-to-aignostics-portal]
@@ -311,6 +316,10 @@ $ aignostics application run list [OPTIONS]
311
316
312
317
*`--verbose / --no-verbose`: Show application details [default: no-verbose]
313
318
*`--limit INTEGER`: Maximum number of runs to display
319
+
*`--tags TEXT`: Optional comma-separated list of tags to filter runs. All tags must match.
320
+
*`--note-regex TEXT`: Optional regex pattern to filter runs by note metadata.
321
+
*`--query TEXT`: Optional query string to filter runs by note OR tags.
322
+
*`--note-case-insensitive / --no-note-case-insensitive`: Make note regex search case-insensitive. [default: note-case-insensitive]
*`SOURCE`: Identifier or comma-separated set of identifiers. IDs matched against collection_id, PatientId, StudyInstanceUID, SeriesInstanceUID or SOPInstanceUID. [required]
742
+
*`SOURCE`: Identifier or comma-separated set of identifiers. IDs matched against collection_id, PatientId, StudyInstanceUID, SeriesInstanceUID or SOPInstanceUID. Example: 1.3.6.1.4.1.5962.99.1.1069745200.1645485340.1637452317744.2.0 [required]
659
743
*`[TARGET]`: target directory for download [default: /Users/helmut/Library/Application Support/aignostics/datasets/idc]
0 commit comments