Skip to content

Fix 403 on platform sync by slimming project.json payload#10

Merged
jeffdi merged 1 commit intomainfrom
fix/slim-sync-payload
Mar 10, 2026
Merged

Fix 403 on platform sync by slimming project.json payload#10
jeffdi merged 1 commit intomainfrom
fix/slim-sync-payload

Conversation

@jeffdi
Copy link
Contributor

@jeffdi jeffdi commented Mar 10, 2026

Summary

  • Strip bulky keys (drc_results, drc_input, oas_output) from the project.json payload sent during cf push/cf pull platform sync
  • Reduces payload from ~45 KB to ~1.4 KB, staying well under the AWS WAF 8 KB body-inspection limit that was causing 403 errors
  • Version bump: 2.1.0 → 2.1.1

Test plan

  • Verified full payload triggers WAF 403 at exactly the 8192-byte threshold
  • Verified slimmed payload returns HTTP 200
  • Ran cf pull end-to-end — sync now succeeds ("✓ Platform project synced")

Made with Cursor

The full project.json can exceed the 8 KB AWS WAF body-inspection
limit when it contains DRC results. Strip drc_results, drc_input,
and oas_output before sending — the backend only needs the project
and tapeout sections. Reduces sync payload from ~45 KB to ~1.4 KB.

Made-with: Cursor
@jeffdi jeffdi merged commit 26a8490 into main Mar 10, 2026
0 of 12 checks passed
@jdicorpo jdicorpo deleted the fix/slim-sync-payload branch March 18, 2026 04:19
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