Repository navigation
Pre-release 4.2.110 → 4.2.109 — task 4.4 evaporate Workbench + shadowed fork trees - #82
Merged
Merged
Conversation
agissept
force-pushed
the
pre-release/4.2.110
branch
from
September 30, 2026 10:36
531a6df to
0581cc1
Compare
agissept
marked this pull request as ready for review
October 1, 2026 06:28
agissept
force-pushed
the
pre-release/4.2.110
branch
from
October 1, 2026 06:29
0581cc1 to
792ee32
Compare
agissept
approved these changes
Oct 1, 2026
Delete src/Illuminate/Workbench and drop illuminate/workbench from the fork's replace block. L4.2's package-development scaffolding has no L13 equivalent (packages are developed with orchestra/testbench), nothing in the fork loads it (no provider registers it; the only mentions are the dead Optimize/config.php compile list and the v13-shadowed migration commands' --bench option), and the app registers no WorkbenchServiceProvider and has no workbench directory. Fork suite 332 green. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0169SsatCE8LhaTsQTPiGtVo
Remove the fork source that the illuminate/*:^13 swaps (tasks 4.1-4.3)
left on disk. v13 ships every one of these 240 classes under the longer
Illuminate\<Component>\ PSR-4 prefix, so the fork copies never load: the
app's optimized classmap (composer dump-autoload -o) also resolves all 240
to vendor/illuminate/*. They only produced "Ambiguous class resolution"
warnings (253 in the app) and misleading greps (e.g. a fork UrlGenerator
that still defines forceSchema()). After this, the optimized dump reports 0.
Also removed, all unreachable after the swaps:
- stubs read only by the deleted classes (cache/session tables, failed
jobs, migration stubs); stubs of code still loaded from the fork (Auth,
Foundation, Routing\Generators) stay;
- Foundation/Console/Optimize/config.php, the old class-compile list
OptimizeCommand no longer reads (plus its phpunit.xml exclude);
- fork-only Queue\{IronQueue, Connectors\IronConnector, Jobs\IronJob,
Console\SubscribeCommand, QueueInterface} and Cache\{XCacheStore,
WinCacheStore}: their only references were in the deleted files, v13
registers no iron/xcache/wincache driver, and IronQueue cannot even load
against v13's Queue base class;
- composer.json of the component dirs that are now empty (Console, Events,
Log, Validation).
Kept: the 120 fork classes that still resolve from src/ (fork-only BC
classes in swapped components, and Auth/Exception/Foundation/Html/Mail).
No fork import is left dangling.
Fork suite 332 green.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0169SsatCE8LhaTsQTPiGtVo
… 4.4) Deleting the v13-shadowed fork trees dropped every 4.2-only pattern count (e.g. legacy_contracts 37 -> 3, macroable_trait 12 -> 5, route_filters and event_fire -> 0). Regenerate the baseline with ci/convergence-ratchet.sh --init src, as DIVERGENCE-LEDGER.md asks when a count goes down, so a new 4.2 idiom can no longer creep back in up to the old counts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0169SsatCE8LhaTsQTPiGtVo
agissept
force-pushed
the
pre-release/4.2.110
branch
from
October 1, 2026 06:30
792ee32 to
a772e99
Compare
agissept
approved these changes
Oct 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task 4.4 — evaporate Workbench, delete the fork trees v13 shadows
Stacks on #81. Deletions only, no new dependency:
composer.jsonjust dropsilluminate/workbenchfromreplace. 274 files, −50,402 lines.Workbench (
b762f9dd)src/Illuminate/Workbenchdeleted andilluminate/workbenchremoved fromreplace. L4.2's package scaffolding has no L13 equivalent (packages are developed with orchestra/testbench).Workbench\Starter, and the app has noworkbench/directory.asset:publish --benchanddump-autoloadworkbench scan stay. They only readworkbench/directories on disk, not the deleted classes, and they leave with Foundation in 4.5.Shadowed fork trees (
c1c8ed6c)The
illuminate/*:^13swaps (4.1–4.3) left the fork sources on disk. v13 ships the same classes under the longerIlluminate\<Component>\PSR-4 prefix, so the fork copies never load.What they still did:
UrlGeneratorthat still definesforceSchema().Proof that deleting them changes nothing at runtime: the app's optimized classmap (
composer dump-autoload -o) resolves all 240 tovendor/illuminate/*.Deleted class files (240):
Also deleted (unreachable after the swaps):
Routing\Generators) stay;Foundation/Console/Optimize/config.php, the old compile list thatOptimizeCommandno longer reads, and itsphpunit.xmlexclude;Queue\{IronQueue, Connectors\IronConnector, Jobs\IronJob, Console\SubscribeCommand, QueueInterface}andCache\{XCacheStore, WinCacheStore}:IronQueuefatals against v13'sQueuebase class;composer.jsonof the component dirs this empties (Console, Events, Log, Validation).Kept: the 120 fork classes that still resolve from
src/. They are the fork-only BC classes in swapped components, plus Auth, Exception, Foundation, Html and Mail.Ratchet baseline (
531a6dff)Regenerated with
ci/convergence-ratchet.sh --init src, as the baseline header asks after counts go down, so a 4.2 idiom can't creep back up to the old counts:legacy_contractsmacroable_traitpagination_getterseloquent_listsroute_uses_stringroute_filtersevent_firesoftdeleting_traitwhere_rawVerification
composer validateOK;__DIR__file path insrc/resolves.feature/platform/framework-4.2.109-rc1, withvendor/laravel/frameworkswapped for this branch's tree:league/flysystemmonorepo duplicates from a source install; none are framework classes.artisan list: 190 commands, identical to 4.2.109.BeanstalkdQueueBoringTestagainst a real v13 worker (3): green.Asia/Jakartatimezone andmax_connections).Rest of 4.4, not in this PR
ExceptionHandlerAdapter). It merges into Foundation's handler in 4.5, whenilluminate/exceptionleavesreplace.Form::/HTML::in about 484 Blade views). It leavesreplaceonce 3.1 lifts it to app space.ControllerServiceProvider(registered in the app'sconfig/app.php),MakeControllerCommand,GeneratorsandControllerInspectorstill load from the fork. MIGRATION-DETAIL marks them as dead code to delete, not port. Deleting them changes the app (provider list,controller:make), so it needs its own change.App pair
dicoding-dev/dicoding#5952 (
feature/platform/framework-4.2.110-rc1, stacked on dicoding-dev/dicoding#5942). The app loads none of the deleted classes; the pair bumps the pin and dropsapp/config/workbench.phpand the placeholderironqueue connection.Tag
4.2.110on531a6dffis not pushed; tag pushes are refused for this session.🤖 Generated with Claude Code
https://claude.ai/code/session_0169SsatCE8LhaTsQTPiGtVo