Files
github-actions[bot] a158f81620 fix(core): allow Next.js route groups and dynamic segments in workflow names (#4070) (#4141)
A workflow name is derived from the module path it is defined in, so Next.js
App Router conventions end up in the name verbatim. `SAFE_WORKFLOW_NAME_PATTERN`
permitted alphanumerics, `_`, `-`, `.`, `/` and `@`, but not parentheses or
square brackets. Any workflow inside a route group (`app/(dashboard)/...`) or a
dynamic segment (`app/[teamId]/...`, `app/[...slug]/...`) threw

    Invalid workflow name "workflow//./app/(group)/workflows/": must only
    contain alphanumeric characters, ...

before it could be enqueued, and the generated name cannot be overridden.

The pattern exists to keep unsafe characters out of the queue name it is
interpolated into. These four are inert there: `ValidQueueName` accepts any
suffix after its prefix, and the only other consumers of the name are OpenTelemetry
span names. It is never placed in a URL or a SQL identifier.

Fixes #3991

Signed-off-by: Matias Torsello <23641125+torsello@users.noreply.github.com>
Signed-off-by: Matias Torsello <matiastorsello@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Matias Torsello <23641125+torsello@users.noreply.github.com>
Co-authored-by: Pranay Prakash <pranay.gp@gmail.com>
2026-09-12 15:39:34 -07:00
..
2025-10-23 12:07:52 +03:00

Changesets

Hello and welcome! This folder has been automatically generated by @changesets/cli, a build tool that works with multi-package repos, or single-package repos to help you version and publish your code. You can find the full documentation for it in our repository

We have a quick list of common questions to get you started engaging with this project in our documentation