Skip to content

dedicated pathword instance for gridworld#4

Open
ILLISIS wants to merge 14 commits intoclusterio:1.2from
ILLISIS:1.2
Open

dedicated pathword instance for gridworld#4
ILLISIS wants to merge 14 commits intoclusterio:1.2from
ILLISIS:1.2

Conversation

@ILLISIS
Copy link

@ILLISIS ILLISIS commented Mar 7, 2026

No description provided.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d5f1c32869

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +923 to +925
if (!pathworldInstance || pathworldInstance.status !== "running") {
this.logger.warn(`[gridworld] request_train_path: pathworld instance ${pathworldId} not running (status=${pathworldInstance?.status ?? "not found"})`);
return;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Send failure path result when pathworld is unavailable

When the pathworld instance is not running, this handler returns without sending any response back to the source tile instance. In train_path_manager.request_train_path, the requesting train is switched to manual mode and is only restored in apply_train_path_result, so dropped requests during pathworld outages/restarts can leave trains permanently stuck in manual mode until a human resets them.

Useful? React with 👍 / 👎.

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