You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(webarena): keep site credentials_env in the public replay's Rainbond runtime config #164
A public WebArena run on a Rainbond slice cannot log in to a stateful site. RainbondSlicePool.runtime_config in src/harness/environments/webarena/rainbond.py rebuilds each stateful site's entry as {"urls": [...]}, and WebArenaEnvironment replaces its environments with that result. Any credentials_env from the runtime config is dropped.
This is older than #159. Before #161 every attempt on such a site failed at login. Since #161 the run stops in verify_runtime with credentials are missing for site ..., before a browser starts.
Found by reading the code. No real Rainbond slice was run. I do not know whether anyone currently runs this mode with the public replay.
Suggested change
Keep each site's credentials_env when the slice's runtime config replaces its URLs, and add a test that uses the real runtime_config. The fake pool in test_rainbond_slice_verification_and_reset_replace_the_complete_application currently stubs the login check, so that test should drop the stub once this is fixed. If the mode is retired for the public replay instead, remove it there.
Activity