Skip to content

log - #52

Merged
lch24 merged 9 commits into
eesast:devfrom
jxd136:dev
Apr 2, 2026
Merged

log#52
lch24 merged 9 commits into
eesast:devfrom
jxd136:dev

Conversation

@jxd136

@jxd136 jxd136 commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

add log

Descriptions of this pull request:

No additional description.

add log
Copilot AI review requested due to automatic review settings April 1, 2026 14:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR aims to improve observability in the game logic by adding more detailed logging around common failure paths (trade, production, tech upgrades, character lifecycle, and API entrypoints).

Changes:

  • Added debug/error logs for various early-return failure conditions in gaming managers (trade/produce/uplevel/teams).
  • Added additional logs around character creation/activation and gameplay actions (move/harvest/load/etc.).
  • Minor formatting/bracing edits alongside the logging additions.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
logic/Gaming/Uplevel.cs Adds logs for failure paths during tech upgrades.
logic/Gaming/Trade.cs Adds logs for trade validation/failure paths.
logic/Gaming/Teams.cs Adds logs for invalid tech/score updates.
logic/Gaming/Produce.cs Adds logs for production start/failure/error paths.
logic/Gaming/Game.cs Adds logs to public API entrypoints on failure.
logic/Gaming/CharacterManager.cs Adds logs for character lifecycle and collision/spawn checks.
logic/Gaming/ActionManager.cs Adds logs for stop/harvest/load actions.
logic/GameEngine/MoveEngine.cs Adjusts using directive (currently introduces a compile issue).
logic/GameClass/GameObj/Map/Map.cs Adds braces and logs on remove failures (one unreachable).
logic/GameClass/GameObj/Character.cs Adds logs around state/load handling (introduces syntax/unreachable-code issues).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread logic/GameEngine/MoveEngine.cs Outdated
Comment thread logic/GameClass/GameObj/Map/Map.cs
Comment thread logic/GameClass/GameObj/Character.cs
Comment thread logic/GameClass/GameObj/Character.cs
Comment thread logic/Gaming/CharacterManager.cs Outdated
Comment thread logic/Gaming/ActionManager.cs Outdated
Comment thread logic/Gaming/ActionManager.cs Outdated
Comment thread logic/Gaming/Game.cs Outdated
Comment thread logic/Gaming/Produce.cs
Comment thread logic/Gaming/Trade.cs
@jxd136

jxd136 commented Apr 2, 2026

Copy link
Copy Markdown
Contributor Author

@copilot apply changes based on the comments in this thread

@lch24
lch24 merged commit 5e2563e into eesast:dev Apr 2, 2026
5 checks passed
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.

3 participants