Feat/s3 file browser v1 #956
pr_checks.yaml
on: pull_request
Pre-commit Checks
2m 40s
Unit Tests
1m 36s
E2E Tests with Garage S3 and PostgreSQL
23m 25s
Annotations
7 errors
|
Unit Tests
Process completed with exit code 1.
|
|
[server] src/routes/(app)/api/storage/preview/server.test.ts > GET /api/storage/preview > handles zero-size parquet file gracefully:
src/routes/(app)/api/storage/preview/server.test.ts#L260
AssertionError: expected "vi.fn()" to be called with arguments: [ Anything, 'empty.parquet', +0, …(4) ]
Received:
1st vi.fn() call:
[
- Anything,
+ {
+ "getMetadata": [Function Mock],
+ },
"empty.parquet",
0,
250,
- Anything,
+ {
+ "debug": [Function Mock],
+ "info": [Function Mock],
+ "warn": [Function Mock],
+ },
0,
false,
+ "b1",
]
Number of calls: 1
❯ src/routes/(app)/api/storage/preview/server.test.ts:260:31
|
|
[server] src/routes/(app)/api/storage/preview/server.test.ts > GET /api/storage/preview > resets offset and caps limit when infinite scroll is disabled:
src/routes/(app)/api/storage/preview/server.test.ts#L241
AssertionError: expected "vi.fn()" to be called with arguments: [ Anything, 'large.parquet', +0, …(4) ]
Received:
1st vi.fn() call:
[
- Anything,
+ {
+ "getMetadata": [Function Mock],
+ },
"large.parquet",
0,
100,
- Anything,
+ {
+ "debug": [Function Mock],
+ "info": [Function Mock],
+ "warn": [Function Mock],
+ },
50000,
false,
+ "b1",
]
Number of calls: 1
❯ src/routes/(app)/api/storage/preview/server.test.ts:241:31
|
|
[server] src/routes/(app)/api/storage/preview/server.test.ts > GET /api/storage/preview > detects parquet by .parquet extension:
src/routes/(app)/api/storage/preview/server.test.ts#L221
AssertionError: expected "vi.fn()" to be called with arguments: [ Anything, …(6) ]
Received:
1st vi.fn() call:
[
- Anything,
+ {
+ "getMetadata": [Function Mock],
+ },
"measurements.parquet",
0,
250,
- Anything,
+ {
+ "debug": [Function Mock],
+ "info": [Function Mock],
+ "warn": [Function Mock],
+ },
5000,
false,
+ "b1",
]
Number of calls: 1
❯ src/routes/(app)/api/storage/preview/server.test.ts:221:31
|
|
[server] src/routes/(app)/api/storage/preview/server.test.ts > GET /api/storage/preview > detects parquet by content-type and delegates to getParquetPreview:
src/routes/(app)/api/storage/preview/server.test.ts#L201
AssertionError: expected "vi.fn()" to be called with arguments: [ Anything, 'data.parquet', +0, …(4) ]
Received:
1st vi.fn() call:
[
- Anything,
+ {
+ "getMetadata": [Function Mock],
+ },
"data.parquet",
0,
250,
- Anything,
+ {
+ "debug": [Function Mock],
+ "info": [Function Mock],
+ "warn": [Function Mock],
+ },
5000,
false,
+ "b1",
]
Number of calls: 1
❯ src/routes/(app)/api/storage/preview/server.test.ts:201:31
|
|
[server] src/routes/(app)/api/storage/preview/server.test.ts > GET /api/storage/preview > normalises Excel CSV content type:
src/routes/(app)/api/storage/preview/server.test.ts#L100
AssertionError: expected "vi.fn()" to be called with arguments: [ Anything, 'data.csv', +0, 250, …(4) ]
Received:
1st vi.fn() call:
[
- Anything,
+ {
+ "getMetadata": [Function Mock],
+ },
"data.csv",
0,
250,
- "text/csv",
100,
- Anything,
+ {
+ "debug": [Function Mock],
+ "info": [Function Mock],
+ "warn": [Function Mock],
+ },
false,
+ "b1",
]
Number of calls: 1
❯ src/routes/(app)/api/storage/preview/server.test.ts:100:27
|
|
E2E Tests with Garage S3 and PostgreSQL
Process completed with exit code 1.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-traces
|
45.4 MB |
sha256:0664b51950f169d06dc7b9a43a1d3a06cce055c676d7d6bbf1fde637df22d926
|
|