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
fix(runner): make RunnerContext.get_env() read live from os.environ
RunnerContext.__post_init__ snapshots os.environ once at construction.
After that, get_env() reads from the frozen dict. Multiple endpoints
mutate os.environ at runtime (POST /workflow, POST /repos/add,
auth refresh), but the context is never recreated — mark_dirty()
resets the bridge while reusing the same stale context.
Store explicit constructor overrides separately in _overrides and
make get_env() check overrides first, then fall through to live
os.environ. self.environment remains populated for backward compat.
Made-with: Cursor
0 commit comments