Repository navigation
JS-2728 Update embedded Node.js to 24.22.1 on branch-11-X - #8228
Conversation
🤖 Generated with GitHub Actions
Ruling ReportNew issues flagged (621948 issues)CommentRegexTestGhost/Gruntfile.js:265 263 | mocha_istanbul: {
264 | coverage: {
> 265 | // TODO fix the timing/async & cleanup issues with the route and integration tests so that
266 | // they can also have coverage generated for them & the order doesn't matter
267 | src: ['core/test/unit'],Ghost/core/client/app/adapters/user.js:9 7 | },
8 |
> 9 | // TODO: This is needed because the API currently expects you to know the
10 | // status of the record before retrieving by ID. Quick fix is to always
11 | // include status=all in the queryGhost/core/client/app/components/gh-profile-image.js:119 117 | this.set('hasUploadedImage', true);
118 | // necessary jQuery code because file.preview is a raw DOM object
> 119 | // potential todo: rename 'gravatar-img' class in the CSS to be something
120 | // that both the gravatar and the image preview can use that's not so confusing
121 | this.$('.js-img-preview').empty().append(this.$(file.preview).addClass('gravatar-img'));Ghost/core/client/app/components/modals/invite-new-user.js:45 43 | willDestroyElement() {
44 | this._super(...arguments);
> 45 | // TODO: this should not be needed, ValidationEngine acts as a
46 | // singleton and so it's errors and hasValidated state stick around
47 | this.get('errors').clear();Ghost/core/client/app/components/modals/invite-new-user.js:54 52 | let email = this.get('email');
53 |
> 54 | // TODO: either the validator should check the email's existence or
55 | // the API should return an appropriate error when attempting to save
56 | return new Promise((resolve, reject) => {Ghost/core/client/app/components/modals/invite-new-user.js:69 67 | }
68 |
> 69 | // TODO: this shouldn't be needed, ValidationEngine doesn't mark
70 | // properties as validated when validating an entire object
71 | this.get('hasValidated').addObject('email');Ghost/core/client/app/components/modals/invite-new-user.js:78 76 | });
77 | }, () => {
> 78 | // TODO: this shouldn't be needed, ValidationEngine doesn't mark
79 | // properties as validated when validating an entire object
80 | this.get('hasValidated').addObject('email');Ghost/core/client/app/controllers/settings/labs.js:74 72 | // Reload currentUser and set session
73 | this.set('session.user', this.store.findRecord('user', currentUserId));
> 74 | // TODO: keep as notification, add link to view content
75 | notifications.showNotification('Import successful.', {key: 'import.upload.success'});
76 | }).catch((response) => {Ghost/core/client/app/controllers/settings/navigation.js:123 121 | });
122 | }).catch(() => {
> 123 | // TODO: noop - needed to satisfy spinner button
124 | });
125 | },Ghost/core/client/app/controllers/settings/tags.js:18 16 | tagContentFocused: equal('keyboardFocus', 'tagContent'),
17 |
> 18 | // TODO: replace with ordering by page count once supported by the API
19 | tags: sort('model', function (a, b) {
20 | let idA = +a.get('id');...and 621938 more (see ruling JSON files for full list) ✅ Ruling has been updated. To re-run CI, either:
|
Backport the ordering fix and integration-test adjustments from 4a2116a (#6478). Preserve maintenance-branch cache initialization and add regression tests for discovery and explicit configuration order. Review and update the three TypeScript S7728 findings and the same five Vuetify fixture deltas as the master fix. All 50 ruling projects match their expectations; 69 focused tests and TypeScript compilation pass.
Reuse master runner sizes and fixed ruling parallelism of eight. Backport the cgroup-aware memory warning and regression tests from b996564; disable every Node executable before embedded-runtime QA on container runners.
Use shared config-npm on Linux and master Windows registry setup with one allocated build number. Configure ESLint integration jobs explicitly and normalize the remaining fixture lockfile URLs without changing dependency versions or integrity.
Code Review ✅ Approved 1 closed / 1 findings🔴 High risk · CI changes grant write permissions and redirect Maven publishing, which could enable unintended repository writes or publish artifacts to the wrong endpoint. Updates branch-11-X to Node.js 24.22.1 with a backported tsconfig discovery ordering fix, CI runner and Edge registry alignment with master, and the Container-aware memory warning. The glob-matched tsconfigPaths ordering issue, which had given matched paths rank -1 and broken the provided order, has been resolved. No open issues found. ✅ 1 closed✅ Bug: Glob-matched tsconfigPaths get rank -1, breaking provided order
Verification Rules 3/3 met Knowledge ✅ 1 PRs 2 inspectedFunctional validation No results Rules 3 passed
Broader impact PRs 2 inspectedCross-PR 2 PRs inspected 0 open impacts
Auto-approval Not enabledFor more verification details, comment OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Gitar |
|




Updates
branch-11-X(SonarQube Server 2026.1 LTA) to the promoted Node.js runtime24.22.1.10229, matching #8227 and including the Brotli decoder security fix.The maintenance workflow failed with HTTP 403 because build-number allocation now needs
contents: write. Allocate the build number once in a dedicated job and pass it to all Maven, analysis, QA, and promotion jobs. Use the versioned@v2build-number and Maven configuration actions.Backport the tsconfig discovery ordering fix from #6478. Overlapping projects previously selected different TypeScript libraries depending on filesystem traversal order, causing the unrelated S7728 ruling failure. Sort discovered configs and preserve explicitly configured order. Include the original integration-test adjustments and regression tests for both discovery orders.
Review and update six ruling expectations produced by the fix: three S7728 findings in TypeScript, plus the same five Vuetify fixture changes as #6478 (seven added findings and 1,101 removed S4328 findings). Keep the ruling bot's automatic commits and PR comments disabled; ruling checks continue to run.
Reuse master’s CI runner assignments: Linux builds on
sonar-l, ruling onsonar-xl, Linux QA and JavaScript tests onsonar-m, Windows builds/tests onwarp-custom-windows-2022-m, and setup/promotion onsonar-xs. Use master’s fixed JUnit ruling parallelism of eight instead of the container host’s CPU count. Backport master’s container-aware memory warning and regression tests: compare the Node heap with the lower of host RAM and the Docker limit, preserving the existing integration-test warning assertion.Use master’s npm registry configuration: the shared
config-npm@v2action on Linux and matching development Edge credentials on Windows, targetingrepox-internal.dev.sonar.build. The npm action reuses the existing build number. Keep public tarball URLs on npmjs and setNPM_CONFIG_REPLACE_REGISTRY_HOST=npmjsso CI registry selection applies consistently. Normalize the remaining JFrog URLs in tracked lockfiles without changing dependency versions or integrity hashes.Use master’s Edge configuration throughout CI: Maven and npm dependencies resolve through
repox-internal.dev.sonar.build; Orchestrator downloads userepox-internal.sonar.buildwith the dedicated production Edge private-reader token and an explicit configuration file. Upgrade Orchestrator to6.4.4.4797and the fast-test harness to1.5.0.1412. Maven publishing and promotion retainhttps://repox.jfrog.io/artifactorywith SaaS deployer/promoter credentials. Match master’spromote@v2and manual release workflow using[email protected]; the release action manages the GitHub release from the supplied version. Match master’s production Orchestrator cache isolation and release-automation runner and permissions.Validation:
git diff --checkpassed with no new diagnostics. Full CI validation is running on the updated head.npm ci --dry-run --ignore-scriptspassed for the root and all normalized lockfiles; workflow validation introduced no new diagnostics.v24.22.1.git diff --checkpassed.Summary by Gitar
ask-squad-webtosquad-corelang-releasesinrelease.ymlandautomated-release.ymlgetAvailableMemoryinmemory.tsconfig-npm@v2with therepox-internalregistry inbuild.ymlrelease.ymland pinnedgh-action_releaseto7.8.0orchestrator-cacheactionThis will update automatically on new commits.