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
Copy file name to clipboardExpand all lines: .seqera/context/ERRORS.md
+13-5Lines changed: 13 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,37 +22,45 @@ Both runs `1cF65l2PDvxNd5` (maniac_celsius) and `5VGC0gjEmghOaz` (clever_kalman)
22
22
23
23
**Fix:** Verify the org/workspace names in the input CSV match the Platform exactly (case-sensitive).
24
24
25
-
### 3. API Rate Limiting / Transient Failures
25
+
### 3. API Endpoint / Token Preflight Failure
26
+
27
+
**When:** The API endpoint is wrong, unreachable, or the access token is invalid.
28
+
29
+
**Error:**`RuntimeException: Seqera Platform API preflight failed at '<endpoint>/service-info' ...` or `RuntimeException: Authentication failed at '<endpoint>/user-info' ...`
30
+
31
+
**Fix:** Verify `--seqera_api_endpoint` (or the samplesheet `platform` column), network/truststore settings, and the token stored in `TOWER_ACCESS_TOKEN` (or the per-row `token_env` override).
32
+
33
+
### 4. API Rate Limiting / Transient Failures
26
34
27
35
**When:** Fetching data from busy Platform instances with many concurrent runs.
28
36
29
37
**Mitigation:** Built-in retry with exponential backoff (3 attempts, 1s/2s/4s delays). After 3 failures, the pipeline aborts with the original error.
30
38
31
-
### 4. Wave Container Build Failures
39
+
### 5. Wave Container Build Failures
32
40
33
41
**When:** Using `wave` profile with `spack` strategy.
34
42
35
43
**Error:** Wave freeze builds fail with spack.
36
44
37
45
**Fix:** The wave profile explicitly uses `strategy = ['conda', 'container', 'dockerfile']` — no spack. Don't add spack to the strategy list.
38
46
39
-
### 5. CGROUPv2 Docker Failures (Cloud VM / Firecracker)
47
+
### 6. CGROUPv2 Docker Failures (Cloud VM / Firecracker)
40
48
41
49
**When:** Running with Docker in Cloud VMs where cgroup resource delegation is restricted.
42
50
43
51
**Error:**`cannot enter cgroupv2 ... with domain controllers`
44
52
45
53
**Fix:** Apply the runc wrapper documented in AGENTS.md that strips `linux.resources` from the OCI spec.
46
54
47
-
### 6. Empty Benchmark Report
55
+
### 7. Empty Benchmark Report
48
56
49
57
**When:** API runs are provided but `--generate_benchmark_report` is not set.
50
58
51
59
**Warning:**`Found N API run(s) but --generate_benchmark_report is not enabled. API runs will not produce any output.`
52
60
53
61
**Fix:** Add `--generate_benchmark_report` to the run command.
54
62
55
-
### 7. Scheduling Overhead (Observed Pattern)
63
+
### 8. Scheduling Overhead (Observed Pattern)
56
64
57
65
**Not an error per se**, but both current runs show 4–8 minute gaps between task submit and task start times. This is expected with AWS Batch spot instances — EC2 instances must be provisioned and containers pulled before execution begins. Not actionable unless overhead exceeds ~15 minutes consistently.
Copy file name to clipboardExpand all lines: .seqera/context/PIPELINE.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,7 @@ results/
88
88
89
89
## Data Flow Details
90
90
91
-
1.**API path:**`SeqeraApi.fetchRunData()` runs in Groovy process memory (not a Nextflow task). It resolves workspace name → ID, then fetches `/workflow/{id}`, `/workflow/{id}/metrics`, `/workflow/{id}/tasks` (paginated), and `/workflow/{id}/progress`. Results are written to temp JSON files.
91
+
1.**API path:**`SeqeraApi.fetchRunData()` runs in Groovy process memory (not a Nextflow task). It first validates the configured Platform endpoint with `/service-info` and the bearer token with `/user-info`, then resolves workspace name → ID and fetches `/workflow/{id}`, `/workflow/{id}/metrics`, `/workflow/{id}/tasks` (paginated), and `/workflow/{id}/progress`. Results are written to temp JSON files.
92
92
2.**External path:** EXTRACT_TARBALL unpacks `.tar.gz` into a directory of JSON files. Directories are used directly.
93
93
3.**All JSON files** are collected into a single temp directory and passed to the 3-stage Python pipeline: normalize → aggregate → render.
94
94
4. The Python stages are separate Nextflow processes sharing one Wave container image (`python_duckdb_jinja2_typer_pruned`).
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ Thank you to everyone else that has contributed by reporting bugs, enhancements
15
15
16
16
### Enhancements & fixes
17
17
18
+
- Improve Seqera API preflight errors for invalid API endpoints and access tokens
18
19
-[PR #88](https://github.com/seqeralabs/nf-aggregate/pull/88) - Update tw cli container version to 0.11.2 and allow .nextflow.log to be missing from tw call
19
20
-[PR #89](https://github.com/seqeralabs/nf-aggregate/pull/89) - Enable usage of external run dumps with nf-aggregate & update devcontainer specifications
20
21
-[PR #91](https://github.com/seqeralabs/nf-aggregate/pull/91) - Update benchmark report image to include a fix causing large memory footprint for reshaping large AWS cost report files
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,8 @@
15
15
16
16
The pipeline fetches run data from the Seqera Platform API and generates benchmark reports comparing pipeline runs.
17
17
18
+
Before the pipeline resolves workspaces or fetches run details, it performs API preflight checks against `/service-info` and `/user-info`. This helps surface misconfigured API endpoints, missing truststore configuration, and invalid access tokens with explicit error messages.
0 commit comments