Menci / Menci/Floway

[Codex] Session are unable to proceed with large pictures

Open
#464 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
85
Forks
33
Avg merge
45m
Merged PRs (30d)
10

Description

When Floway is deployed to Cloudflare Workers, it would throw Cloudflare error code 1102 (CPU Time Limit Exceeded or Memory Limit Exceeded).
After investigating into it, I found that every image in seesion would be stored as base64 in json which makes a context of 120MB.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Trace the session serialization path that stores every image as base64 in JSON when Floway runs on Cloudflare Workers. Start from the session handling entry point and verify the change by exercising a session with large pictures, confirming it no longer approaches the 120MB context or triggers Cloudflare error 1102.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend, cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.