-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Vercel's test requests to test suite, handle their missing projec…
…tName field. (#16)
- Loading branch information
Showing
7 changed files
with
133 additions
and
13 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
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,26 @@ | ||
[ | ||
{ | ||
"id": "1669188564156008676158000000", | ||
"message": "SAMPLE MESSAGE: info - Compiled successfully", | ||
"timestamp": 1725343693336, | ||
"type": "stdout", | ||
"projectId": "prj_xxxxxxxxxxxxxxxxxxxxxx", | ||
"deploymentId": "dpl_xxxxxxxxxxxxxxxxxxxxxx", | ||
"source": "build", | ||
"buildId": "bld_xxxxx", | ||
"host": "my-app.vercel.sh", | ||
"entrypoint": "." | ||
}, | ||
{ | ||
"id": "1669188564157008676158000000", | ||
"message": "SAMPLE MESSAGE: info - Collecting page data...", | ||
"timestamp": 1725343693336, | ||
"type": "stdout", | ||
"projectId": "prj_xxxxxxxxxxxxxxxxxxxxxx", | ||
"deploymentId": "dpl_xxxxxxxxxxxxxxxxxxxxxx", | ||
"source": "build", | ||
"buildId": "bld_xxxxx", | ||
"host": "my-app.vercel.sh", | ||
"entrypoint": "." | ||
} | ||
] |
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,26 @@ | ||
[ | ||
{ | ||
"id": "1669188782687374643267100000", | ||
"message": "SAMPLE MESSAGE: Inside middleware hello", | ||
"timestamp": 1725343693334, | ||
"type": "stdout", | ||
"requestId": "xxxxx-xxxxxxxxxxxxx-xxxxxxxxxxxx", | ||
"projectId": "prj_xxxxxxxxxxxxxxxxxxxxxx", | ||
"deploymentId": "dpl_xxxxxxxxxxxxxxxxxxxxxx", | ||
"source": "edge", | ||
"host": "my-app.vercel.sh", | ||
"path": "/api/hello" | ||
}, | ||
{ | ||
"id": "1669188782687374643267100001", | ||
"message": "SAMPLE MESSAGE: Inside middleware 2", | ||
"timestamp": 1725343693334, | ||
"type": "stdout", | ||
"requestId": "xxxxx-xxxxxxxxxxxxx-xxxxxxxxxxxx", | ||
"projectId": "prj_xxxxxxxxxxxxxxxxxxxxxx", | ||
"deploymentId": "dpl_xxxxxxxxxxxxxxxxxxxxxx", | ||
"source": "edge", | ||
"host": "my-app.vercel.sh", | ||
"path": "/api/hello" | ||
} | ||
] |
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,29 @@ | ||
[ | ||
{ | ||
"id": "1669118385998052846361484418", | ||
"message": "SAMPLE MESSAGE: START RequestId: xxxxxxxxxxxxxxxxx Version: $LATEST\\\\nEND RequestId: xxxxxxxxxxxxxxxxx\\\\nREPORT RequestId: xxxxxxxxxxxxxxxxx\\\\tDuration: 1472.20 ms\\\\tBilled Duration: 1473 ms\\\\tMemory Size: 1024 MB\\\\tMax Memory Used: 147 MB\\\\t\\\\n", | ||
"timestamp": 1725343693335, | ||
"requestId": "cdg1::iad1::xxxxx-xxxxxxxxxxxxx-xxxxxxxxxxxx", | ||
"statusCode": 200, | ||
"proxy": { | ||
"timestamp": 1725343693335, | ||
"region": "cdg1", | ||
"method": "GET", | ||
"vercelCache": "MISS", | ||
"statusCode": 200, | ||
"referer": "https://my-app.vercel.app", | ||
"path": "/api/hello", | ||
"host": "my-app.vercel.app", | ||
"scheme": "https", | ||
"clientIp": "xx.xx.xx.xx", | ||
"userAgent": [ | ||
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36" | ||
] | ||
}, | ||
"projectId": "prj_xxxxxxxxxxxxxxxxxxxxxx", | ||
"deploymentId": "dpl_xxxxxxxxxxxxxxxxxxxxxx", | ||
"source": "lambda", | ||
"host": "my-app.vercel.app", | ||
"path": "api/hello" | ||
} | ||
] |
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,28 @@ | ||
[ | ||
{ | ||
"id": "1669188608031840836235986361", | ||
"timestamp": 1725343693333, | ||
"requestId": "dub1:dub1::xxxxx-xxxxxxxxxxxxx-xxxxxxxxxxxx", | ||
"message": "SAMPLE MESSAGE", | ||
"proxy": { | ||
"timestamp": 1725343693333, | ||
"region": "dub1", | ||
"method": "GET", | ||
"vercelCache": "MISS", | ||
"statusCode": 200, | ||
"referer": "https://my-app.vercel.app", | ||
"path": "/test.txt", | ||
"host": "my-app.vercel.app", | ||
"scheme": "https", | ||
"clientIp": "xxx.xxx.xxx.xxx", | ||
"userAgent": [ | ||
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36" | ||
] | ||
}, | ||
"projectId": "prj_xxxxxxxxxxxxxxxxxxxxxx", | ||
"deploymentId": "dpl_xxxxxxxxxxxxxxxxxxxxxx", | ||
"source": "static", | ||
"host": "my-app.vercel.sh", | ||
"path": "/test.txt" | ||
} | ||
] |
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