Skip to content

Fix Netlify functions mock storage path#17035

Merged
pettinarip merged 1 commit into
devfrom
fix/netlify-mock-storage-path
Jan 8, 2026
Merged

Fix Netlify functions mock storage path#17035
pettinarip merged 1 commit into
devfrom
fix/netlify-mock-storage-path

Conversation

@pettinarip
Copy link
Copy Markdown
Member

Summary

  • Add src/data-layer/mocks/**/* to Netlify functions included_files
  • Fixes error: [Mock Storage] Directory not found: /var/task/src/data-layer/mocks

The mock storage files were not being bundled with Netlify functions because the path in netlify.toml was incorrect (src/data/mocks instead of src/data-layer/mocks).

Test plan

  • Verify Netlify deploy preview builds successfully
  • Check that functions using mock storage work correctly

🤖 Generated with Claude Code

Add src/data-layer/mocks to included_files so mock data is available
in Netlify functions. The previous path src/data/mocks was incorrect.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@netlify
Copy link
Copy Markdown

netlify Bot commented Jan 8, 2026

Deploy Preview for ethereumorg canceled.

Name Link
🔨 Latest commit 2e2bd8d
🔍 Latest deploy log https://app.netlify.com/projects/ethereumorg/deploys/695f8d8e45bf5800089ab7fb

@github-actions github-actions Bot added the config ⚙️ Changes to configuration files label Jan 8, 2026
@pettinarip pettinarip merged commit d9fece2 into dev Jan 8, 2026
5 of 6 checks passed
@pettinarip pettinarip deleted the fix/netlify-mock-storage-path branch January 8, 2026 10:57
@wackerow wackerow mentioned this pull request Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

config ⚙️ Changes to configuration files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant