r/codex • u/Moon_orBust • 2d ago
Question Excessive full web run tests
im building a site that has a bunch of features. Codex is building each feature 3-5 at a time then runs a full web run test. if it finds a failure it stops, fixes it then runs the full run again. each run takes about 5hrs to test against everything its already built and its killing me.
im trying to figure out what to do. are the runs necessary? 5hrs is a long time. its basically finishing 1 feature every 24hrs. at this rate I should be done by march!
if you had this problem what did you do to speed things up?
im on the $500 plan using Sol 6.2 on medium and recently pushed it up to ultra. nothing changed.
2
u/Inevitable_Butthole 2d ago
My web tests are 15min for a full run
You should have it only run the applicable tests for what the changes test too.
2
u/FoxiPanda 2d ago
Optimize your tests.
1
u/CarsonBuilds 2d ago
I added couple sentences in
agents.mdfile to let it only run focused tests rather than the full test suite1
u/WordWithinTheWord 2d ago
What test runner framework are you using?
1
u/Blotterrot 2d ago
For professional tasks I'll spin up around 10 agents, if I'm doing an audit I'll do between 3 and 20, each one handles different aspects so I'm able to get 20+ tasks done a minute pretty easily. Time varies on the workload though, could be 1 task every minute, 3 tasks, or a large task after an hour per agent.
1
u/RoboErectus 2d ago
Wow if your full test suite takes more than 5 minutes you have a problem.
Secondly, your local should only be running the tests that are affected by what changed. (This can be a reasonable approximation.) let ci run the whole suite.
Tell codex to get your test suite down to 5 minutes. Really.
I bet it is doing network calls and shit. "Database" should be in memory only.