Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue with color input in Relative Values clusters #2363

Merged
merged 4 commits into from
Oct 28, 2023

Conversation

sweep-ai[bot]
Copy link
Contributor

@sweep-ai sweep-ai bot commented Oct 27, 2023

PR Feedback (click)

  • 👍 Sweep Did Well
  • 👎 Sweep Needs Improvement

Description

This PR fixes an issue with the color input for clusters in the Relative Values feature of the Squiggle application. Currently, the application does not accept capitalized hexadecimal color codes. This PR modifies the validation rule for the color field to accept both lowercase and uppercase hexadecimal characters.

Summary of Changes

  • Modified the regular expression in packages/hub/src/graphql/mutations/createRelativeValuesDefinition.ts to accept both lowercase and uppercase hexadecimal characters for the color input in clusters.

Fixes #2358.


🎉 Latest improvements to Sweep:

  • Sweep can now passively improve your repository! Check out Rules to learn more.

💡 To get Sweep to edit this pull request, you can:

  • Comment below, and Sweep can edit the entire PR
  • Comment on a file, Sweep will only modify the commented file
  • Edit the original issue to get Sweep to recreate the PR from scratch

@sweep-ai
Copy link
Contributor Author

sweep-ai bot commented Oct 27, 2023

Sandbox Executions

  • Check packages/hub/src/graphql/mutations/createRelativeValuesDefinition.ts
Sandbox logs for
pnpm i 1/2 ✓
Scope: all 12 workspace projects
Lockfile is up to date, resolution step is skipped
Progress: resolved 1, reused 0, downloaded 0, added 0
Packages: +2161
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   ╭──────────────────────────────────────────────────────────────────╮
   │                                                                  │
   │                Update available! 8.9.2 → 8.10.0.                 │
   │   Changelog: https://github.com/pnpm/pnpm/releases/tag/v8.10.0   │
   │                Run "pnpm add -g pnpm" to update.                 │
   │                                                                  │
   │      Follow @pnpmjs for updates: https://twitter.com/pnpmjs      │
   │                                                                  │
   ╰──────────────────────────────────────────────────────────────────╯
Progress: resolved 2161, reused 0, downloaded 42, added 29
Progress: resolved 2161, reused 0, downloaded 301, added 297
Progress: resolved 2161, reused 0, downloaded 476, added 469
Progress: resolved 2161, reused 0, downloaded 753, added 748
Progress: resolved 2161, reused 0, downloaded 979, added 971
Progress: resolved 2161, reused 0, downloaded 1399, added 1397
Progress: resolved 2161, reused 0, downloaded 1484, added 1479
Progress: resolved 2161, reused 0, downloaded 1503, added 1494
Progress: resolved 2161, reused 0, downloaded 1682, added 1681
Progress: resolved 2161, reused 0, downloaded 1867, added 1865
Progress: resolved 2161, reused 0, downloaded 1923, added 1918
Progress: resolved 2161, reused 0, downloaded 1942, added 1933
Progress: resolved 2161, reused 0, downloaded 2153, added 2154
Progress: resolved 2161, reused 0, downloaded 2158, added 2160
Progress: resolved 2161, reused 0, downloaded 2159, added 2161, done
.../node_modules/@prisma/engines postinstall$ node scripts/postinstall.js
.../node_modules/@prisma/engines postinstall: Done
.../[email protected]/node_modules/esbuild postinstall$ node install.js
.../[email protected]/node_modules/prisma preinstall$ node scripts/preinstall-entry.js
.../[email protected]/node_modules/esbuild postinstall: Done
.../[email protected]/node_modules/prisma preinstall: Done
.../node_modules/@prisma/client postinstall$ node scripts/postinstall.js
.../node_modules/@prisma/client postinstall: prisma:warn We could not find your Prisma schema at `prisma/schema.prisma`.
.../node_modules/@prisma/client postinstall: If you have a Prisma schema file in a custom path, you will need to run
.../node_modules/@prisma/client postinstall: `prisma generate --schema=./path/to/your/schema.prisma` to generate Prisma Client.
.../node_modules/@prisma/client postinstall: If you do not have a Prisma schema file yet, you can ignore this message.
.../node_modules/@prisma/client postinstall: Done
.../[email protected]/node_modules/canvas install$ node-pre-gyp install --fallback-to-build --update-binary
.../[email protected]/node_modules/canvas install: node-pre-gyp info it worked if it ends with ok
.../[email protected]/node_modules/canvas install: node-pre-gyp info using [email protected]
.../[email protected]/node_modules/canvas install: node-pre-gyp info using [email protected] | linux | x64
.../[email protected]/node_modules/canvas install: node-pre-gyp http GET https://github.com/Automattic/node-canvas/releases/download/v2.11.2/canvas-v2.11.2-node-v108-linux-glibc-x64.tar.gz
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libcairo.so.2
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libjpeg.so.62
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libxml2.so.2
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libgmodule-2.0.so.0
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libpcre.so.1
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libpixman-1.so.0
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/canvas.node
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libgdk_pixbuf-2.0.so.0
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libpango-1.0.so.0
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libstdc++.so.6
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libfontconfig.so.1
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/canvas.node.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas.node.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/init.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/ImageData.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/register_font.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/Backends.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/CanvasRenderingContext2d.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/Image.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/backend/
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/backend/PdfBackend.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/backend/Backend.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/backend/ImageBackend.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/backend/SvgBackend.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/CanvasPattern.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/bmp/
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/bmp/BMPParser.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/closure.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/CanvasGradient.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/Canvas.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/color.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libpangoft2-1.0.so.0
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libgio-2.0.so.0
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas.node
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/CanvasPattern.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/register_font.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/closure.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/ImageData.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/CanvasGradient.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/Backends.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/backend/
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/backend/SvgBackend.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/backend/PdfBackend.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/backend/Backend.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/backend/ImageBackend.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/CanvasRenderingContext2d.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/init.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/bmp/
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/bmp/BMPParser.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/color.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/Image.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/Canvas.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libgif.so.7
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libglib-2.0.so.0
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/librsvg-2.so.2
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libfribidi.so.0
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libpng16.so.16
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libz.so.1
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libpangocairo-1.0.so.0
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libffi.so.7
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libcairo-gobject.so.2
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libgobject-2.0.so.0
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libexpat.so.1
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libfreetype.so.6
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libharfbuzz.so.0
.../[email protected]/node_modules/canvas install: node-pre-gyp info extracted file count: 74 
.../[email protected]/node_modules/canvas install: [canvas] Success: "/repo/node_modules/.pnpm/[email protected]/node_modules/canvas/build/Release/canvas.node" is installed via remote
.../[email protected]/node_modules/canvas install: node-pre-gyp info ok 
.../[email protected]/node_modules/canvas install: Done
.../[email protected]/node_modules/keytar install$ prebuild-install || npm run build
.../[email protected]/node_modules/keytar install: Done
 WARN  Failed to create bin at /repo/packages/components/node_modules/.bin/squiggle. ENOENT: no such file or directory, open '/repo/packages/squiggle-lang/dist/cli/index.js'
 WARN  Failed to create bin at /repo/packages/prettier-plugin/node_modules/.bin/squiggle. ENOENT: no such file or directory, open '/repo/packages/squiggle-lang/dist/cli/index.js'
 WARN  Failed to create bin at /repo/packages/hub/node_modules/.bin/squiggle. ENOENT: no such file or directory, open '/repo/packages/squiggle-lang/dist/cli/index.js'
 WARN  Failed to create bin at /repo/packages/vscode-ext/node_modules/.bin/squiggle. ENOENT: no such file or directory, open '/repo/packages/squiggle-lang/dist/cli/index.js'
devDependencies:
+ @changesets/cli 2.26.2
+ prettier 3.0.3
+ turbo 1.10.14
+ turbo-ignore 1.10.14
 WARN  Failed to create bin at /repo/packages/prettier-plugin/node_modules/.bin/squiggle. ENOENT: no such file or directory, open '/repo/packages/prettier-plugin/node_modules/@quri/squiggle-lang/dist/cli/index.js'
 WARN  Failed to create bin at /repo/packages/components/node_modules/.bin/squiggle. ENOENT: no such file or directory, open '/repo/packages/components/node_modules/@quri/squiggle-lang/dist/cli/index.js'
 WARN  Failed to create bin at /repo/packages/vscode-ext/node_modules/.bin/squiggle. ENOENT: no such file or directory, open '/repo/packages/vscode-ext/node_modules/@quri/squiggle-lang/dist/cli/index.js'
 WARN  Failed to create bin at /repo/packages/hub/node_modules/.bin/squiggle. ENOENT: no such file or directory, open '/repo/packages/hub/node_modules/@quri/squiggle-lang/dist/cli/index.js'
Done in 22.9s
trunk init 2/2 ✓
⡿ Downloading Trunk 1.17.1...
⡿ Downloading Trunk 1.17.1...
⢿ Downloading Trunk 1.17.1...
⣻ Downloading Trunk 1.17.1...
⣽ Downloading Trunk 1.17.1...
⣾ Downloading Trunk 1.17.1...
⣷ Downloading Trunk 1.17.1...
✔ Downloading Trunk 1.17.1... done
⡿ Verifying Trunk sha256...
✔ Verifying Trunk sha256... done
⡿ Unpacking Trunk...
✔ Unpacking Trunk... done


✔ 13 linters were enabled (.trunk/trunk.yaml)
  actionlint 1.6.26 (7 github-workflow files)
  checkov 3.0.12 (54 json, 16 yaml files)
  git-diff-check (934 files)
  markdownlint 0.37.0 (77 markdown files) (created .markdownlint.yaml)
  osv-scanner 1.4.2 (1 lockfile file)
  oxipng 9.0.0 (7 png files)
  prettier 3.0.3 (5 css, 1 graphql, 23 javascript, 54 json, 77 markdown, 679 typescript, 15 yaml files)
  shellcheck 0.9.0 (4 shell files) (created .shellcheckrc)
  shfmt 3.6.0 (4 shell files)
  taplo 0.8.1 (1 toml file)
  trivy 0.46.0 (16 yaml files)
  trufflehog 3.60.4 (935 files)
  yamllint 1.32.0 (15 yaml files) (created .yamllint.yaml)
Next Steps
 1. Read documentation
    Our documentation can be found at https://docs.trunk.io
 2. Get help and give feedback
    Join the Trunk community at https://slack.trunk.io
  • Check packages/hub/src/graphql/mutations/createRelativeValuesDefinition.ts
Run packages/hub/src/graphql/mutations/createRelativeValuesDefinition.ts through the sandbox.
  • Check packages/hub/src/graphql/mutations/createRelativeValuesDefinition.ts
Sandbox logs for
pnpm i 1/2 ✓
Scope: all 12 workspace projects
Lockfile is up to date, resolution step is skipped
Progress: resolved 1, reused 0, downloaded 0, added 0
Packages: +2161
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   ╭──────────────────────────────────────────────────────────────────╮
   │                                                                  │
   │                Update available! 8.9.2 → 8.10.0.                 │
   │   Changelog: https://github.com/pnpm/pnpm/releases/tag/v8.10.0   │
   │                Run "pnpm add -g pnpm" to update.                 │
   │                                                                  │
   │      Follow @pnpmjs for updates: https://twitter.com/pnpmjs      │
   │                                                                  │
   ╰──────────────────────────────────────────────────────────────────╯
Progress: resolved 2161, reused 0, downloaded 42, added 29
Progress: resolved 2161, reused 0, downloaded 301, added 297
Progress: resolved 2161, reused 0, downloaded 476, added 469
Progress: resolved 2161, reused 0, downloaded 753, added 748
Progress: resolved 2161, reused 0, downloaded 979, added 971
Progress: resolved 2161, reused 0, downloaded 1399, added 1397
Progress: resolved 2161, reused 0, downloaded 1484, added 1479
Progress: resolved 2161, reused 0, downloaded 1503, added 1494
Progress: resolved 2161, reused 0, downloaded 1682, added 1681
Progress: resolved 2161, reused 0, downloaded 1867, added 1865
Progress: resolved 2161, reused 0, downloaded 1923, added 1918
Progress: resolved 2161, reused 0, downloaded 1942, added 1933
Progress: resolved 2161, reused 0, downloaded 2153, added 2154
Progress: resolved 2161, reused 0, downloaded 2158, added 2160
Progress: resolved 2161, reused 0, downloaded 2159, added 2161, done
.../node_modules/@prisma/engines postinstall$ node scripts/postinstall.js
.../node_modules/@prisma/engines postinstall: Done
.../[email protected]/node_modules/esbuild postinstall$ node install.js
.../[email protected]/node_modules/prisma preinstall$ node scripts/preinstall-entry.js
.../[email protected]/node_modules/esbuild postinstall: Done
.../[email protected]/node_modules/prisma preinstall: Done
.../node_modules/@prisma/client postinstall$ node scripts/postinstall.js
.../node_modules/@prisma/client postinstall: prisma:warn We could not find your Prisma schema at `prisma/schema.prisma`.
.../node_modules/@prisma/client postinstall: If you have a Prisma schema file in a custom path, you will need to run
.../node_modules/@prisma/client postinstall: `prisma generate --schema=./path/to/your/schema.prisma` to generate Prisma Client.
.../node_modules/@prisma/client postinstall: If you do not have a Prisma schema file yet, you can ignore this message.
.../node_modules/@prisma/client postinstall: Done
.../[email protected]/node_modules/canvas install$ node-pre-gyp install --fallback-to-build --update-binary
.../[email protected]/node_modules/canvas install: node-pre-gyp info it worked if it ends with ok
.../[email protected]/node_modules/canvas install: node-pre-gyp info using [email protected]
.../[email protected]/node_modules/canvas install: node-pre-gyp info using [email protected] | linux | x64
.../[email protected]/node_modules/canvas install: node-pre-gyp http GET https://github.com/Automattic/node-canvas/releases/download/v2.11.2/canvas-v2.11.2-node-v108-linux-glibc-x64.tar.gz
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libcairo.so.2
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libjpeg.so.62
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libxml2.so.2
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libgmodule-2.0.so.0
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libpcre.so.1
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libpixman-1.so.0
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/canvas.node
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libgdk_pixbuf-2.0.so.0
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libpango-1.0.so.0
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libstdc++.so.6
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libfontconfig.so.1
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/canvas.node.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas.node.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/init.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/ImageData.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/register_font.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/Backends.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/CanvasRenderingContext2d.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/Image.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/backend/
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/backend/PdfBackend.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/backend/Backend.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/backend/ImageBackend.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/backend/SvgBackend.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/CanvasPattern.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/bmp/
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/bmp/BMPParser.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/closure.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/CanvasGradient.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/Canvas.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/.deps/Release/obj.target/canvas/src/color.o.d
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libpangoft2-1.0.so.0
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libgio-2.0.so.0
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas.node
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/CanvasPattern.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/register_font.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/closure.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/ImageData.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/CanvasGradient.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/Backends.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/backend/
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/backend/SvgBackend.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/backend/PdfBackend.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/backend/Backend.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/backend/ImageBackend.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/CanvasRenderingContext2d.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/init.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/bmp/
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/bmp/BMPParser.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/color.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/Image.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/obj.target/canvas/src/Canvas.o
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libgif.so.7
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libglib-2.0.so.0
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/librsvg-2.so.2
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libfribidi.so.0
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libpng16.so.16
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libz.so.1
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libpangocairo-1.0.so.0
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libffi.so.7
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libcairo-gobject.so.2
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libgobject-2.0.so.0
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libexpat.so.1
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libfreetype.so.6
.../[email protected]/node_modules/canvas install: node-pre-gyp info install unpacking Release/libharfbuzz.so.0
.../[email protected]/node_modules/canvas install: node-pre-gyp info extracted file count: 74 
.../[email protected]/node_modules/canvas install: [canvas] Success: "/repo/node_modules/.pnpm/[email protected]/node_modules/canvas/build/Release/canvas.node" is installed via remote
.../[email protected]/node_modules/canvas install: node-pre-gyp info ok 
.../[email protected]/node_modules/canvas install: Done
.../[email protected]/node_modules/keytar install$ prebuild-install || npm run build
.../[email protected]/node_modules/keytar install: Done
 WARN  Failed to create bin at /repo/packages/components/node_modules/.bin/squiggle. ENOENT: no such file or directory, open '/repo/packages/squiggle-lang/dist/cli/index.js'
 WARN  Failed to create bin at /repo/packages/prettier-plugin/node_modules/.bin/squiggle. ENOENT: no such file or directory, open '/repo/packages/squiggle-lang/dist/cli/index.js'
 WARN  Failed to create bin at /repo/packages/hub/node_modules/.bin/squiggle. ENOENT: no such file or directory, open '/repo/packages/squiggle-lang/dist/cli/index.js'
 WARN  Failed to create bin at /repo/packages/vscode-ext/node_modules/.bin/squiggle. ENOENT: no such file or directory, open '/repo/packages/squiggle-lang/dist/cli/index.js'
devDependencies:
+ @changesets/cli 2.26.2
+ prettier 3.0.3
+ turbo 1.10.14
+ turbo-ignore 1.10.14
 WARN  Failed to create bin at /repo/packages/prettier-plugin/node_modules/.bin/squiggle. ENOENT: no such file or directory, open '/repo/packages/prettier-plugin/node_modules/@quri/squiggle-lang/dist/cli/index.js'
 WARN  Failed to create bin at /repo/packages/components/node_modules/.bin/squiggle. ENOENT: no such file or directory, open '/repo/packages/components/node_modules/@quri/squiggle-lang/dist/cli/index.js'
 WARN  Failed to create bin at /repo/packages/vscode-ext/node_modules/.bin/squiggle. ENOENT: no such file or directory, open '/repo/packages/vscode-ext/node_modules/@quri/squiggle-lang/dist/cli/index.js'
 WARN  Failed to create bin at /repo/packages/hub/node_modules/.bin/squiggle. ENOENT: no such file or directory, open '/repo/packages/hub/node_modules/@quri/squiggle-lang/dist/cli/index.js'
Done in 22.9s
trunk init 2/2 ✓
⡿ Downloading Trunk 1.17.1...
⡿ Downloading Trunk 1.17.1...
⢿ Downloading Trunk 1.17.1...
⣻ Downloading Trunk 1.17.1...
⣽ Downloading Trunk 1.17.1...
⣾ Downloading Trunk 1.17.1...
⣷ Downloading Trunk 1.17.1...
✔ Downloading Trunk 1.17.1... done
⡿ Verifying Trunk sha256...
✔ Verifying Trunk sha256... done
⡿ Unpacking Trunk...
✔ Unpacking Trunk... done


✔ 13 linters were enabled (.trunk/trunk.yaml)
  actionlint 1.6.26 (7 github-workflow files)
  checkov 3.0.12 (54 json, 16 yaml files)
  git-diff-check (934 files)
  markdownlint 0.37.0 (77 markdown files) (created .markdownlint.yaml)
  osv-scanner 1.4.2 (1 lockfile file)
  oxipng 9.0.0 (7 png files)
  prettier 3.0.3 (5 css, 1 graphql, 23 javascript, 54 json, 77 markdown, 679 typescript, 15 yaml files)
  shellcheck 0.9.0 (4 shell files) (created .shellcheckrc)
  shfmt 3.6.0 (4 shell files)
  taplo 0.8.1 (1 toml file)
  trivy 0.46.0 (16 yaml files)
  trufflehog 3.60.4 (935 files)
  yamllint 1.32.0 (15 yaml files) (created .yamllint.yaml)
Next Steps
 1. Read documentation
    Our documentation can be found at https://docs.trunk.io
 2. Get help and give feedback
    Join the Trunk community at https://slack.trunk.io

@sweep-ai sweep-ai bot requested review from OAGr and berekuk as code owners October 27, 2023 19:45
@sweep-ai
Copy link
Contributor Author

sweep-ai bot commented Oct 27, 2023

Apply Sweep Rules to your PR?

  • Apply: Leftover TODOs in the code should be handled.
  • Apply: All new business logic should have corresponding unit tests in the tests/ directory.
  • Apply: Any clearly inefficient or repeated code should be optimized or refactored.

@sweep-ai sweep-ai bot added the sweep label Oct 27, 2023
@changeset-bot
Copy link

changeset-bot bot commented Oct 27, 2023

⚠️ No Changeset found

Latest commit: 20cfe64

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Oct 27, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
quri-hub ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 28, 2023 4:58pm
3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
quri-ui ⬜️ Ignored (Inspect) Visit Preview Oct 28, 2023 4:58pm
squiggle-components ⬜️ Ignored (Inspect) Visit Preview Oct 28, 2023 4:58pm
squiggle-website ⬜️ Ignored (Inspect) Visit Preview Oct 28, 2023 4:58pm

@OAGr
Copy link
Contributor

OAGr commented Oct 27, 2023

@berekuk I assume this is fine?

@sweep-ai
Copy link
Contributor Author

sweep-ai bot commented Oct 27, 2023

🚀 Wrote Changes

I wasn't able to make changes. This could be due to an unclear request or a bug in my code.
As a reminder, comments on a file only modify that file. Comments on a PR (at the bottom of the "conversation" tab) can modify the entire PR. Please try again or contact us on Discord

@OAGr
Copy link
Contributor

OAGr commented Oct 27, 2023

Try writing a test or two for this.

@sweep-ai
Copy link
Contributor Author

sweep-ai bot commented Oct 27, 2023

🚀 Wrote Changes

Done.

@OAGr
Copy link
Contributor

OAGr commented Oct 27, 2023

Failed prettier. Format a la our pretty config.

@sweep-ai
Copy link
Contributor Author

sweep-ai bot commented Oct 27, 2023

🚀 Wrote Changes

Done.

@OAGr OAGr temporarily deployed to Preview October 28, 2023 16:56 — with GitHub Actions Inactive
@OAGr OAGr merged commit 7c5a6c7 into main Oct 28, 2023
4 checks passed
@OAGr OAGr deleted the sweep/fix-color-input branch October 28, 2023 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Relative values: Color hexidecimal can't be capitalized
1 participant