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
The build fails with the following .gitconfig setting:
[log]
showSignature = true
and emits the following error:
Error: ✖ Failed to initialize build
HTTPClient failed to fetch https://index.chromatic.com/graphql, got 400/Bad Request
at retries (/src/pwa/node_modules/.pnpm/[email protected]/node_modules/chromatic/dist/chunk-E44ZGXJS.js:54:10146)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async retries (/src/pwa/node_modules/.pnpm/[email protected]/node_modules/chromatic/dist/chunk-E44ZGXJS.js:130:7631)
at async Xpr (/src/pwa/node_modules/.pnpm/[email protected]/node_modules/chromatic/dist/chunk-E44ZGXJS.js:421:402)
at async fV.task (/src/pwa/node_modules/.pnpm/[email protected]/node_modules/chromatic/dist/chunk-E44ZGXJS.js:183:32055)
Enabling --debug shows:
{"body":"{\"errors\":[{\"message\":\"Variable \\\"$input\\\" got invalid value \\\"gpg: Signature made Mon Aug 28 21:51:00 2023 PDT\\\\ngpg: ........ at \\\"input.commit\\\"; Expected type \\\"Hexadecimal\\\". Value is not a valid hexadecimal value: gpg: Signature made Mon Aug 28 21:51:00 2023 PDT\\ngpg: ........\",\"locations\":[{\"line\":2,\"column\":34}],\"extensions\":{\"code\":\"BAD_USER_INPUT\"}}]}\n"} HTTPClient failed to fetch https://index.chromatic.com/graphql, got 400/Bad Request
The workaround was straight-forward -- just turning the showSignature config to false. Not a big issue but wanted to flag.
The text was updated successfully, but these errors were encountered:
That makes sense. We run git log under the covers and use the result (commit hashes, normally) for baseline calculations. Seems like we need to trim the gpg signature if we get one.
Do you really need that showSignature option or are you happy to turn it off for the time being?
Bug report
The build fails with the following .gitconfig setting:
and emits the following error:
Enabling --debug shows:
The workaround was straight-forward -- just turning the showSignature config to false. Not a big issue but wanted to flag.
The text was updated successfully, but these errors were encountered: