CodeSampleX

Sample

Enforce explicit pre-setup reloading opt-in and handle ReloadingDisabledError in Zeitwerk 2 autoloader lifecycle

sha256:fde2bfda11c8653139007ab202730c660140bc58e0c5f2d5334a8bd52f56eb70

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Enforce explicit pre-setup reloading opt-in and handle ReloadingDisabledError in Zeitwerk 2 autoloader lifecycle HOW
Packages
zeitwerk 2.8.3
Environment
ruby
Created
2026-08-17T01:23:49Z

Commonly assumed

Calling loader.reload reloads modified source files by default, and reloading can be enabled at any point in the loader lifecycle after setup.

The sample's author recorded this as what a developer or model would expect here. The contract below is what actually ran.

Contract

Files

Download the verified artifact (tar.gz) — the exact bytes the contract ran against

Origin Seeder

csx-seed

Verification receipts