Overview
In LOCAL mode, pub/static/frontend or pub/static/adminhtml must contain at least one readable, nonempty published CSS/JS/font/image artifact. In REMOTE mode, same-origin Magento static CSS/JS assets referenced by the retrieved storefront must return nonempty non-HTML content with HTTP 200. This verifies observed deployment artifacts, not completeness of every theme, locale or route.
Why it Matters
Missing static assets can break storefront rendering and checkout behavior. Producing and publishing assets during a controlled build reduces surprises after a release switch.
Representative files provide bounded readiness evidence; complete theme/locale publication and freshness need a fuller review.
Verification Steps
Manual Verification
- Inspect pub/static and relevant preprocessed output for representative nonempty CSS and JavaScript files.
- Confirm the artifacts belong to the served release and are not just deployment marker files.
- Check intended theme/locale coverage separately.
Command / Review Sample
find pub/static -type f -name '*.css' -size +0c -print
find pub/static -type f -name '*.js' -size +0c -print
Use the assessed Magento project and the appropriate application or read-only review account. Replace example hosts, paths and identifiers with the assessment scope; configuration and source fragments are illustrative.
Remediation / Fix Guidance
- Investigate and change: Identify the intended storefront/Admin themes and locales and compare them with the reported published artifacts. Build static content through the supported release pipeline and publish assets for every intended scope.
- Validate the change: Request representative versioned CSS/JS from the deployed page and confirm nonempty correct content; one artifact does not prove all themes or locales are complete.
- Recheck MB-0035: Verify access as the relevant runtime identity and retest the affected upload, cache or release feature after the scoped change. Rerun against the same deployment; avoid recursive permission changes unrelated to the reported paths.
Examples
Illustrative examples only. Interpret them within the current revision criterion above; missing collection evidence is unresolved, never PASS.
Fail Example
pub/static contains only deployment markers and empty asset files.
Pass Example
Representative readable nonempty published CSS and JavaScript exist for the assessed deployment.
Scope and Evidence Limits
Rule revision: 3. Target modes: LOCAL, REMOTE.
In LOCAL mode, pub/static/frontend or pub/static/adminhtml must contain at least one readable, nonempty published CSS/JS/font/image artifact. In REMOTE mode, same-origin Magento static CSS/JS assets referenced by the retrieved storefront must return nonempty non-HTML content with HTTP 200. This verifies observed deployment artifacts, not completeness of every theme, locale or route.
In LOCAL mode, pub/static/frontend or pub/static/adminhtml must contain at least one readable, nonempty published CSS/JS/font/image artifact. In REMOTE mode, same-origin Magento static CSS/JS assets referenced by the retrieved storefront must return nonempty non-HTML content with HTTP 200. This verifies observed deployment artifacts, not completeness of every theme, locale or route.
Catalog coverage describes implementation capability, not a scan outcome. An incomplete manual review cannot establish that the criterion is satisfied.