Commit graph

36 commits

Author SHA1 Message Date
Destan Sarpkaya
41b706570f
ci(e2e): run the tests in the Playwright container image (#9)
The "Install Playwright Browsers" step took 33 to 58 seconds per shard,
even with a browser cache hit. Almost all of that time went to apt-get
installing the OS dependencies, which the cache cannot hold.

- Run the e2e job in mcr.microsoft.com/playwright:v1.64.1-noble, which
  ships the browsers and their OS dependencies. Remove the version step,
  the cache step, and the install step.
- Pin @playwright/test to 1.64.1, so no install resolves a newer version
  than the image.
- Add a Renovate package rule that puts @playwright/test and the image
  in one update PR.

On one run per side, the Playwright setup dropped from 60-80 s to
23-40 s per shard, and the run's wall-clock time from 252 s to 217 s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PEUYi2N5ePDQccPGBmDMcy
2026-11-04 21:11:53 +01:00
Destan Sarpkaya
81d8188d2f
chore(fork): rebrand to Toolbox and remove upstream links (#7)
- Point GitHub links to destan/toolbox and remove the X and "Buy me a coffee" links.
- Rename IT-Tools to Toolbox and credit IT-Tools and Corentin Thomasset as the origin of this fork.
- Point index.html to toolbox.destan.dev and replace the social preview banner.
- Remove FUNDING.yml, the Docker release workflows, netlify.toml, vercel.json, and the IT-Tools logos.
- Read VITE_APP_ENV and VITE_COMMIT_SHA instead of the Vercel variables, so Cloudflare builds no longer run as development.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PEUYi5ApKVayYRcdi8BqTs
2026-11-04 20:57:37 +01:00
Destan Sarpkaya
f6cf0b923f
build: move to Node 26, pnpm 9.15.9, and current GitHub Actions (#6)
Phase 0 of the dependency upgrade plan in destan/toolbox#4.

- Pin Node 26 in .nvmrc, the four workflows, and the Dockerfile.
  Node 22 entered maintenance on 2025-10-21. Node 26 is the active LTS.
- Change packageManager from pnpm@9.11.0 to pnpm@9.15.9.
- Replace `corepack enable` with pnpm/action-setup@v6.1.1, which reads
  the pnpm version from packageManager. The Node 26 distribution does
  not include corepack. The step runs before actions/setup-node, because
  `cache: 'pnpm'` needs pnpm on the path.
- Pin pnpm 9.15.9 in the Dockerfile. The unpinned
  `npm install -g pnpm` installed the npm `latest` dist-tag (12.16.1).
- Update the GitHub Actions to their latest tags:
  - actions/checkout: the v4-commented SHA to the v7.0.1 commit SHA
  - actions/setup-node: v3 to v7.1.0
  - actions/cache: v3 to v6.1.0
  - docker/login-action: v3 to v4.7.0
  - docker/setup-qemu-action: v3 to v4.4.0
  - docker/setup-buildx-action: v3 to v4.4.1
  - docker/build-push-action: v5 to v7.4.0
  - softprops/action-gh-release: v1 to v3.0.3

The workflows set every action input that they used before. Each input
still exists in the action.yml of the target tag.


Claude-Session: https://claude.ai/code/session_01PEUYi2Ve581PMqxiDbPpuS

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-04 20:47:01 +01:00
Destan Sarpkaya
54538d9354
test(e2e): update Playwright to 1.64.1 for Ubuntu 24.04 runners (#3)
* test(e2e): update Playwright to 1.64.1 for Ubuntu 24.04 runners

ubuntu-latest runs Ubuntu 24.04. Playwright 1.32.3 installs browser
dependencies by Ubuntu 20.04 and 22.04 package names, so
`playwright install --with-deps` failed before any test ran:

  E: Package 'libasound2' has no installation candidate

Playwright supports Ubuntu 24.04 from 1.45.0.

- Update @playwright/test from 1.32.3 to 1.64.1.
- Read the Playwright version for the browser cache key from
  devDependencies["@playwright/test"]. The step read
  dependencies.playwright, which is null, so every key was the same.
- Pin @vueuse/shared to 12.0.0 for @unhead/vue with a pnpm override.
  @unhead/vue 0.5.1 depends on "@vueuse/shared": "latest", so any
  lockfile change re-resolved it to 15.0.0, which requires Vue 3.5.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PEUYi3wRPPWqzZDKJpt17C

* ci(e2e): raise the job timeout to 20 minutes

The E2E job installs Playwright browsers and their system packages on
every run, because the cache covers only ~/.cache/ms-playwright. On a
slow apt mirror, test (3/3) spent all 10 minutes in
`playwright install --with-deps` and was cancelled before any test
ran. The same shard finished in about 3 minutes on the previous run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PEUYi3wRPPWqzZDKJpt17C

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-04 19:05:57 +01:00
Destan Sarpkaya
baab3f7f06
build: use Node 22 and add Wrangler config for SPA routing (#1)
* build: use Node 22 and add Wrangler config for SPA routing

Wrangler 4.157.0 requires Node 22, and the Cloudflare build read
Node 18.18.2 from .nvmrc, so the deploy step failed.

- Pin Node 22 in .nvmrc and in the GitHub workflows.
- Add wrangler.jsonc to serve dist as static assets, with
  single-page-application fallback so deep links load index.html.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PEUYi3wRPPWqzZDKJpt17C

* build: add previews block to Wrangler config

Workers Builds runs `npx wrangler preview` for non-production branches.
Wrangler 4.157.0 refuses to run that command without a `previews` block
in the configuration, so the preview deploy for this branch failed:

  Your Wrangler configuration is missing a `previews` block to run
  this command.

An empty block is enough. Assets and compatibility settings stay at the
top level.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PEUYi3wRPPWqzZDKJpt17C

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-04 18:19:53 +01:00
Corentin Thomasset
b59942ad9f
chore(node): upgraded node version in CI workflows 2024-05-10 13:26:36 +02:00
sharevb
23f82d956a
fix(bcrypt tool): allow salt rounds up to 100 (#987)
* fix(bcrypt tool): allow salt rounds up to 100

Previously max salt rounds was 10

* chore(github workflows): ci and e2e tests: try updating to node 20
2024-04-15 09:43:12 +02:00
Corentin THOMASSET
205e360400
fix(docker): rollback armv7 in docker releases (#741) 2023-11-09 13:33:19 +00:00
Corentin THOMASSET
fe1de8c5c9
chore(docker): added armv7 plateform for docker releases (#722) 2023-11-03 08:06:11 +00:00
renovate[bot]
4365226d01
chore(deps): update docker/setup-qemu-action action to v3 (#627)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-22 10:30:26 +02:00
renovate[bot]
57ecda1623
chore(deps): update docker/setup-buildx-action action to v3 (#626)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-22 10:30:16 +02:00
renovate[bot]
d8d7a3b9ab
chore(deps): update docker/login-action action to v3 (#625)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-22 10:30:04 +02:00
renovate[bot]
d36b18f193
chore(deps): update docker/build-push-action action to v5 (#624)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-22 10:29:05 +02:00
Corentin THOMASSET
88b881880c
refactor(ci): reduced timeout in e2e (#666) 2023-10-14 22:48:18 +00:00
renovate[bot]
4972159aa7
chore(deps): update actions/checkout action to v4 (#613)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-11 22:42:33 +02:00
Corentin THOMASSET
18dd1400bd
refactor(CI): run e2e against built app and no longer vercel (#610) 2023-09-03 14:28:19 +00:00
Corentin THOMASSET
81bfe57cb8
feat(new tool): text diff and comparator (#588)
* feat(new tool): text diff and comparator

* chore(ci): increased memory in CI
2023-08-26 16:43:47 +02:00
renovate[bot]
99bc84c37e
chore(deps): update docker/login-action action to v2 (#512)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-10 00:10:31 +02:00
Corentin THOMASSET
2e28c5073e
chore(ci): e2e against vercel deployement (#518) 2023-06-29 20:27:35 +02:00
Corentin THOMASSET
cf382b5a10
chore(e2e): execute e2e against built app (#511) 2023-06-29 18:48:51 +02:00
renovate[bot]
01525838e0
chore(deps): update github/codeql-action action to v2 (#513)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-29 08:57:10 +02:00
renovate[bot]
3f7d469e9f
chore(deps): update actions/checkout action to v3 (#494)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-24 18:46:01 +02:00
Corentin Thomasset
962a6d6ec4 chore(ci): shard e2e tests 2023-06-10 16:59:54 +02:00
Corentin Thomasset
e88c1d5f2c fix(ts): cleaned legacy typechecking warning 2023-04-23 17:11:04 +02:00
Corentin Thomasset
dbad7730f9
chore(release): create a github release on new version 2023-04-14 21:08:43 +02:00
Corentin Thomasset
dce9ff91e2 feat(cd): git version tag pushed to docker 2023-04-13 01:04:48 +02:00
Corentin Thomasset
ec7cb9351c feat(test): added e2e tests 2023-04-09 18:16:22 +02:00
Corentin Thomasset
ebfdb64fde
chore(cd): don't run nightly release if their is no new commits 2023-04-09 15:27:58 +02:00
Corentin Thomasset
1060652590
chore(cd): docker nightly releases 2023-04-06 21:44:11 +02:00
Corentin Thomasset
f5c865b278 chore(cd): docker nightly releases 2023-04-06 21:05:56 +02:00
Corentin Thomasset
2293f63a79 fix(ci): prevent ci from running twice in pr 2023-04-06 18:56:31 +02:00
Benny
519b169336
chore(docker): arm64 and amd64 as supported platform (#271) 2023-03-23 21:48:07 +01:00
Corentin Thomasset
3bc1f0d1fa
chore(docker): it-tools docker container 2023-03-23 18:54:51 +01:00
Corentin Thomasset
a77a82f5a2
chore: updated ci workflow to handle pnpm 2022-08-19 17:42:46 +02:00
Corentin Thomasset
0cc7af6b1d
chore(ci): run ci on PR 2022-05-11 10:12:21 +02:00
Corentin Thomasset
56d36ea3c0
chore(ci): added github actions 2022-04-13 23:02:04 +02:00