Skip to content

chore(renovate): let Renovate see the tests workspace - #466

Open
jahia-carp wants to merge 1 commit into
mainfrom
chore/renovate-sees-tests-workspace
Open

chore(renovate): let Renovate see the tests workspace#466
jahia-carp wants to merge 1 commit into
mainfrom
chore/renovate-sees-tests-workspace

Conversation

@jahia-carp

Copy link
Copy Markdown
Contributor

Summary

Renovate never read tests/package.json or tests/yarn.lock in this repository, so the Cypress dependencies were never proposed for an update. This adds one line to .github/renovate.json to make that directory visible again.

Why

.github/renovate.json extends config:recommended. That preset extends :ignoreModulesAndTests, whose ignorePaths is:

**/node_modules/**  **/bower_components/**  **/vendor/**  **/examples/**
**/__tests__/**  **/test/**  **/tests/**  **/__fixtures__/**

tests/ is a separate Yarn project here, with its own package.json, its own lockfile and its own packageManager. It is not one of the root workspaces, which are packages/*. The pattern **/tests/** therefore hides the whole Cypress project from Renovate.

Two bump requests show the effect. Jahia/luxe-jahia-demo#450 and Jahia/luxe-jahia-demo#465 each raise @jahia/cypress in the root yarn.lock alone. Neither changes what the Cypress suite resolves, and a reader who trusts the title reads the repository as updated when the tests are not.

Changes

One line: "ignorePaths": ["**/node_modules/**"].

This keeps node_modules out and drops the other patterns, which none of this repository's directories needs. Jahia/javascript-modules carries exactly this override, and Renovate updates its tests/ workspace: Jahia/javascript-modules#721 is one of those updates.

Effect

Renovate will propose updates for tests/package.json from now on. The first run after this merges may open one pull request per outdated @jahia/* dependency of that workspace, because none was ever proposed. The packageRules of this file already restrict Renovate to @jahia/*, so the volume is bounded by that list.

Validation

The file parses as JSON. The behaviour itself is only observable after the merge, in Renovate's next run and in the Dependency Dashboard issue.


No changelog fragment: the change is limited to the repository's own tooling, with no user-visible impact.

config:recommended extends :ignoreModulesAndTests, whose ignorePaths holds **/tests/**, so
Renovate never read tests/package.json or tests/yarn.lock. The Cypress dependencies of this
repository were therefore never proposed for an update, and a bump PR that looked complete only
touched the root lockfile.

The override keeps node_modules out and drops the rest, which is what Jahia/javascript-modules
already does: Renovate updates its tests workspace, this one it could not.
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown

🦜 Chachalog

No changelog entries detected. Learn more about Chachalog.

Create a new entry online or run npx chachalog@0.5.6 prompt to create a new entry locally.

@jahia-sonarqube

Copy link
Copy Markdown

Quality Gate passed Quality Gate passed

Issues
0 New issues
0 Fixed issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarQube

@jahia-carp
jahia-carp requested a review from hduchesne September 3, 2026 13:57
@jahia-carp jahia-carp self-assigned this Sep 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant