Skip to content

Automated local setup scripts and collection of fixes that enable local execution - #23

Open
emuskardin wants to merge 5 commits into
ainetus:mainfrom
emuskardin:local-setup-fix
Open

Automated local setup scripts and collection of fixes that enable local execution#23
emuskardin wants to merge 5 commits into
ainetus:mainfrom
emuskardin:local-setup-fix

Conversation

@emuskardin

Copy link
Copy Markdown

In this MR two main things are addressed:

  • addition of local_setup.sh and local_stop.sh scripts, that automate whole setup and tear-down process for using InteractiveAI locally on a single machine. It starts all services, automatically populates the Keycloak entries, and can be used to restart services once you make local code changes
  • fixes of various issues encountered when executing the whole pipeline, from starting of a simulator and InteractiveAI, syncing context and data, selecting an recommended action, sending the action back to the simulator, and observing that it is applied correctly in the simulator

All bug-fixes and changes can be found in changelog/CHANGELOG.md

- Add setup.sh/stop.sh for one-shot local dev bring-up/teardown
- Fix cabcontext/PowerGrid simulator port collision (both on 5100)
- Replace hardcoded LAN IP with host.docker.internal in the simulator proxy
- Fix missing publisher_test entity assignment in loadTestConf.sh
- Fix cache-unfriendly PowerGrid simulator Dockerfile
- Fix dangling AgentType import breaking the PowerGrid recommendation manager
- Fix broken test fixture reference, add missing pytest-mock dependency,
  and add an end-to-end smoke test for the recommendation pipeline
- Re-enable auth auto-logout/recovery on a dead session token
- Restore the use_case query param on recommendation requests (fixes 400s
  for tokens registered on multiple entities)
- Restore real applyRecommendation calls for ATM/Railway/PowerGrid instead
  of a hardcoded fake-success response
- Translate the PowerGrid simulator login page to English
- Document connecting a local RL agent in the README
- Add changelog documenting all of the above
@emuskardin emuskardin changed the title Refactor: automated local setup scripts and collection of fixes that enable local execution Automated local setup scripts and collection of fixes that enable local execution Aug 3, 2026
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