Skip to content

Fix functions page 404 crash + skeleton loaders#121

Merged
mayagore merged 1 commit intomainfrom
fixes
Feb 22, 2026
Merged

Fix functions page 404 crash + skeleton loaders#121
mayagore merged 1 commit intomainfrom
fixes

Conversation

@mayagore
Copy link
Collaborator

Summary

  • Fix: Functions page 404 crashPromise.all rejected entirely when any single Functions.retrieve() returned 404 (e.g. deleted repo). Now each retrieve is wrapped in try/catch; failed functions are filtered out. Applied to /functions and homepage.
  • Fix: Array input crash (Something went wrong - c.map is not a function #115) — Functions with array-type input schemas crashed SchemaFormBuilder.
  • Add skeleton loaders — Shimmer cards on browse page, full skeleton on detail page. Concept from @hozi8-web3 (test: ensure comprehensive error code coverage in quality module #101).
  • Add default profiles — 5 built-in profiles (Nano → Giga Max) auto-selected when no function-specific profile exists.

Test plan

  • /functions loads even if some functions 404
  • Function detail page shows skeleton during load
  • Execute a function with default profile
  • Test a function with array inputs

🤖 Generated with Claude Code

Functions page and homepage crashed entirely when any single
Functions.retrieve() returned 404 — Promise.all rejects if any
promise fails. Wrap each retrieve in try/catch so failed functions
are silently skipped instead of crashing the page.

Add skeleton loading cards (functions browse) and skeleton detail
page (function detail) for a smoother loading experience.

Fix array input schema crash in SchemaFormBuilder (#115).

Add 5 default profiles (Nano through Giga Max) auto-selected when
no function-specific profile exists.

Co-Authored-By: Muhammad Hozaifa Ali <hozaifabhojpur886@gmail.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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