Repository navigation
Allow API jobs to use the documented Fluid duration limit - #24
Conversation
|
I refreshed the locked dependencies in
Verification on Prepared with Cursor assistance. |
Use `npm audit --omit=dev` in the frontend CI job, the release-check frontend audit, and `make npm-audit`, keeping `--audit-level=moderate`. Update the CI contract assertion in `test_runtime_config.py` to match.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
The API config capped every invocation at 60 seconds despite the deployment guide targeting the Hobby Fluid limit. I raised maxDuration to 300 and documented that Fluid compute must be enabled. I also clarified that Git builds use tracked packaged fixtures, while the CLI preparation helper copies the canonical fixture set.
Validation: 18 focused scan/redaction/fixture tests pass. The prepared API bundle includes the exact config and four fixture files. Hosted Fluid settings and a real deployment were not changed or verified.
Follow-up verification (2026-10-02): the deployment-manifest regression now expects the documented 300-second Fluid limit. All 532 API tests and focused Ruff pass. Hosted package/migration checks passed; frontend and Python dependency audits reported vulnerabilities in manifests and lockfiles unchanged from main, so this PR remains draft pending separate dependency remediation.
Note
Medium Risk
Major frontend dependency upgrades (including Zod 4) and a longer serverless timeout can affect runtime behavior and hosted API jobs; audit scope changes reduce CI signal on dev dependency CVEs.
Overview
Raises the Vercel FastAPI function
maxDurationfrom 60 to 300 seconds and documents that Fluid compute must be enabled for that limit, including deployment notes that distinguish the prepared.vercel-apibundle from a Git-rootedapps/apideploy using packaged fixtures. Runtime-config tests now expect the 300-second limit and the updated audit command.npm audit in CI, release readiness,
Makefile, and related regression checks now runs with--omit=dev, so gates focus on production web dependencies while dev-only advisories (e.g. unpatchedpicomatch) stay out of the blocking surface.apps/web/package.jsonbumps locked frontend dependencies across the stack (Next, React, TanStack Query, Zod v4, react-markdown, tooling versions, and the postcss override). CHANGELOG records refreshed web/API locks so production audits report clean except the noted dev-onlypicomatchissue.Reviewed by Cursor Bugbot for commit 89c49ae. Bugbot is set up for automated code reviews on this repo. Configure here.