Skip to content

Commit

Permalink
chore(ci): prevent haywire logs (#5966)
Browse files Browse the repository at this point in the history
Note: code in json sorta sucks, I couldn't comment why this is used.
There is a bad interaction between earthly x github actions x jest
summary reporter. As far as I can see, it's this combination and not any
piece alone (something something ansi codes, but not entirely sure).
This seems like simplest fix.

Without this, it was causing a lot of duplicated lines. But this
particularly interacted with the poor rendering performance of github
actions logs.

The other piece is that its rendering is just slow in chrome for
10,000K+ lines. use raw logs, or another browser like safari
  • Loading branch information
ludamad authored Apr 25, 2024
1 parent aeb4148 commit b12f609
Show file tree
Hide file tree
Showing 30 changed files with 222 additions and 3 deletions.
8 changes: 8 additions & 0 deletions yarn-project/accounts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@
},
"extensionsToTreatAsEsm": [
".ts"
],
"reporters": [
[
"default",
{
"summaryThreshold": 9999
}
]
]
},
"dependencies": {
Expand Down
8 changes: 8 additions & 0 deletions yarn-project/archiver/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@
},
"extensionsToTreatAsEsm": [
".ts"
],
"reporters": [
[
"default",
{
"summaryThreshold": 9999
}
]
]
},
"dependencies": {
Expand Down
8 changes: 8 additions & 0 deletions yarn-project/aztec-faucet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@
},
"extensionsToTreatAsEsm": [
".ts"
],
"reporters": [
[
"default",
{
"summaryThreshold": 9999
}
]
]
},
"dependencies": {
Expand Down
8 changes: 8 additions & 0 deletions yarn-project/aztec-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@
},
"extensionsToTreatAsEsm": [
".ts"
],
"reporters": [
[
"default",
{
"summaryThreshold": 9999
}
]
]
},
"dependencies": {
Expand Down
8 changes: 8 additions & 0 deletions yarn-project/aztec.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@
},
"extensionsToTreatAsEsm": [
".ts"
],
"reporters": [
[
"default",
{
"summaryThreshold": 9999
}
]
]
},
"dependencies": {
Expand Down
8 changes: 8 additions & 0 deletions yarn-project/aztec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,14 @@
},
"extensionsToTreatAsEsm": [
".ts"
],
"reporters": [
[
"default",
{
"summaryThreshold": 9999
}
]
]
},
"engines": {
Expand Down
8 changes: 8 additions & 0 deletions yarn-project/builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@
},
"extensionsToTreatAsEsm": [
".ts"
],
"reporters": [
[
"default",
{
"summaryThreshold": 9999
}
]
]
},
"dependencies": {
Expand Down
8 changes: 8 additions & 0 deletions yarn-project/circuit-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@
},
"extensionsToTreatAsEsm": [
".ts"
],
"reporters": [
[
"default",
{
"summaryThreshold": 9999
}
]
]
},
"dependencies": {
Expand Down
10 changes: 9 additions & 1 deletion yarn-project/circuits.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,14 @@
"^(\\.{1,2}/.*)\\.[cm]?js$": "$1"
},
"testRegex": "./src/.*\\.test\\.(js|mjs|ts)$",
"rootDir": "./src"
"rootDir": "./src",
"reporters": [
[
"default",
{
"summaryThreshold": 9999
}
]
]
}
}
1 change: 1 addition & 0 deletions yarn-project/end-to-end/jest.integration.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"reporters": [["default", {"summaryThreshold": 9999}]],
"testRegex": "./src/.*\\.test\\.ts$",
"rootDir": "./src"
}
1 change: 1 addition & 0 deletions yarn-project/end-to-end/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
"@swc/jest"
]
},
"reporters": [["default", {"summaryThreshold": 9999}]],
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.[cm]?js$": "$1"
},
Expand Down
8 changes: 8 additions & 0 deletions yarn-project/entrypoints/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,14 @@
},
"extensionsToTreatAsEsm": [
".ts"
],
"reporters": [
[
"default",
{
"summaryThreshold": 9999
}
]
]
},
"dependencies": {
Expand Down
8 changes: 8 additions & 0 deletions yarn-project/ethereum/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@
},
"extensionsToTreatAsEsm": [
".ts"
],
"reporters": [
[
"default",
{
"summaryThreshold": 9999
}
]
]
},
"engines": {
Expand Down
8 changes: 8 additions & 0 deletions yarn-project/foundation/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@
"rootDir": "./src",
"extensionsToTreatAsEsm": [
".ts"
],
"reporters": [
[
"default",
{
"summaryThreshold": 9999
}
]
]
},
"dependencies": {
Expand Down
8 changes: 8 additions & 0 deletions yarn-project/key-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@
},
"extensionsToTreatAsEsm": [
".ts"
],
"reporters": [
[
"default",
{
"summaryThreshold": 9999
}
]
]
},
"dependencies": {
Expand Down
8 changes: 8 additions & 0 deletions yarn-project/kv-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@
},
"extensionsToTreatAsEsm": [
".ts"
],
"reporters": [
[
"default",
{
"summaryThreshold": 9999
}
]
]
},
"dependencies": {
Expand Down
8 changes: 8 additions & 0 deletions yarn-project/merkle-tree/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@
},
"extensionsToTreatAsEsm": [
".ts"
],
"reporters": [
[
"default",
{
"summaryThreshold": 9999
}
]
]
},
"dependencies": {
Expand Down
8 changes: 8 additions & 0 deletions yarn-project/noir-contracts.js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@
},
"extensionsToTreatAsEsm": [
".ts"
],
"reporters": [
[
"default",
{
"summaryThreshold": 9999
}
]
]
},
"dependencies": {
Expand Down
10 changes: 9 additions & 1 deletion yarn-project/noir-protocol-circuits-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,15 @@
"^.+\\.tsx?$": [
"@swc/jest"
]
}
},
"reporters": [
[
"default",
{
"summaryThreshold": 9999
}
]
]
},
"dependencies": {
"@aztec/builder": "workspace:^",
Expand Down
8 changes: 8 additions & 0 deletions yarn-project/p2p-bootstrap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@
},
"extensionsToTreatAsEsm": [
".ts"
],
"reporters": [
[
"default",
{
"summaryThreshold": 9999
}
]
]
},
"engines": {
Expand Down
8 changes: 8 additions & 0 deletions yarn-project/p2p/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,14 @@
},
"extensionsToTreatAsEsm": [
".ts"
],
"reporters": [
[
"default",
{
"summaryThreshold": 9999
}
]
]
},
"dependencies": {
Expand Down
1 change: 1 addition & 0 deletions yarn-project/package.common.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.[cm]?js$": "$1"
},
"reporters": [["default", {"summaryThreshold": 9999}]],
"testRegex": "./src/.*\\.test\\.(js|mjs|ts)$",
"rootDir": "./src"
}
Expand Down
8 changes: 8 additions & 0 deletions yarn-project/protocol-contracts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@
},
"extensionsToTreatAsEsm": [
".ts"
],
"reporters": [
[
"default",
{
"summaryThreshold": 9999
}
]
]
},
"dependencies": {
Expand Down
8 changes: 8 additions & 0 deletions yarn-project/prover-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@
},
"extensionsToTreatAsEsm": [
".ts"
],
"reporters": [
[
"default",
{
"summaryThreshold": 9999
}
]
]
},
"dependencies": {
Expand Down
8 changes: 8 additions & 0 deletions yarn-project/pxe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,14 @@
},
"extensionsToTreatAsEsm": [
".ts"
],
"reporters": [
[
"default",
{
"summaryThreshold": 9999
}
]
]
},
"dependencies": {
Expand Down
8 changes: 8 additions & 0 deletions yarn-project/scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,14 @@
},
"extensionsToTreatAsEsm": [
".ts"
],
"reporters": [
[
"default",
{
"summaryThreshold": 9999
}
]
]
},
"engines": {
Expand Down
10 changes: 9 additions & 1 deletion yarn-project/sequencer-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,14 @@
"^(\\.{1,2}/.*)\\.[cm]?js$": "$1"
},
"testRegex": "./src/.*\\.test\\.(js|mjs|ts)$",
"rootDir": "./src"
"rootDir": "./src",
"reporters": [
[
"default",
{
"summaryThreshold": 9999
}
]
]
}
}
Loading

0 comments on commit b12f609

Please sign in to comment.