这是indexloc提供的服务,不要输入任何密码
Skip to content

GitLab CI log grouping broken for packages with @ in name (@organisation/pkg tasks) #10663

@danbulant

Description

@danbulant

Verify canary release

  • I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue

Which canary version will you have in your reproduction?

Environment information


Expected behavior

Logs grouped by task in GitLab CI

Actual behavior

Turbo does output the basic template correctly:

\e[0Ksection_start:1752345763:@organisation/package:test:tsc\r\
                                     e[0K@organisation/package:test:tsc@organisation/package:test:tsc: cache bypass, force executing 100a1b6fe0eec085

but GitLab CI only allows /a-zA-Z0-9._-/ in section names (first @organisation/package). Section 'description' (part after \e[0K) is free to use any characters.

To Reproduce

Name any package in the repository with @ or / in it's name, as is usual for organisation/group scoped packages, for example @organisation/package and run turborepo in GitLab CI with --log-order grouped (should be default in CI according to docs).

Additional context

Relevant changes introduced in #6188 and #8300.
Code which likely has the issue is here, i.e. VendorBehavior for GitLab CI, as other CI providers may not have these limitations regarding section names

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind: bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions