Skip to content

[postponed] Record #3590050 (locale_status functions) as skip pending core re-land#366

Open
bbrala wants to merge 1 commit into
mainfrom
postpone-3590050-locale-status
Open

[postponed] Record #3590050 (locale_status functions) as skip pending core re-land#366
bbrala wants to merge 1 commit into
mainfrom
postpone-3590050-locale-status

Conversation

@bbrala

@bbrala bbrala commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

Why postponed

Core issue #3590050 "Deprecate and replace locale_status related functions" was committed to 11.x/main (Jun 9) then reverted from 11.4.x (Jun 11) over installer test failures. Status is Needs work.

It is not safe to implement the rector yet:

  1. Unknown introducedVersion. It was reverted from 11.4.x, so a FunctionToServiceConfiguration('11.4.0', …) BC-wrapper would gate DeprecationHelper at a version boundary the deprecation no longer ships in. If it re-lands in 11.5+, '11.4.0' is wrong.
  2. Unverifiable target methods. LocaleSource::saveSource() / deleteSources() / clearSources() / deleteSourcesByLanguage() are absent from a verifiable core checkout (only loadSources, buildSources, sourceCheckFile, sourceBuild, buildServerPattern exist).
  3. Digest is incomplete. It drops locale_translation_status_delete_languages → deleteSourcesByLanguage (a clean 1:1 mapping) and miscategorizes it as a loop-only manual caveat.

What this PR does

Records #3590050 as status: skip in docs/implemented-digests.yml (the source-of-truth record), so it drops out of the actionable pending list until the core change re-lands stably. Mirrors the [postponed] handling of #3530640 (PR #356).

When it re-lands

Straightforward config-only FunctionToServiceRector batch (FQCN, 5th arg true) for Drupal\locale\LocaleSource — five entries, same shape as the existing locale_translation_* rows in drupal-11.4-deprecations.php. Re-confirm introducedVersion and method names against core first.

Issue #3590050 (deprecate locale_status functions, replace with
LocaleSource service methods) was committed to 11.x/main then reverted
from 11.4.x over installer test failures; status Needs work.

Not implementable yet: introducedVersion is unknown after the 11.4.x
revert, and the target LocaleSource methods (saveSource/deleteSources/
clearSources/deleteSourcesByLanguage) are absent from a verifiable core
checkout. Record as skip in the source-of-truth file so it drops out of
the pending list until it re-lands.
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