fix(agent): a teleport waits for the game to settle and moves an event's text on, and a long log keeps its rare lines #135
No reviewers
Labels
No labels
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
priority
critical
priority
high
priority
low
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Beanstalk!135
Loadingβ¦
Reference in a new issue
No description provided.
Delete branch "HumanBean/Beanstalk:fix/settle-before-teleport"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Teleports that never happen. Starts that ran out of time at a teleport from the Kokiri checkpoint (53 scenarios in 4 days, main and PRs alike) left
cheats: teleport waits until the current event endsin the 3 logs that still had it. The save counts as in play the moment it first is (IntoPlayAsync), the teleport goes out a few frames later into an event that starts just then, and that event does not end by itself. Longshot's own resend (#1046) doesn't touch it: 7 of 7 reports on builds with it still had such a start. The farm's retries (3 over 9 s) and resends met the same event.ScenarioRunner.SettleAsync, before a teleport or an age switch: in play, no load and no event, for 2 s in a row. An event in play that lasts 5 s is pressed through with A about once a second, asNewGameAsyncalready does for a new save's dialogue (while an event plays, A moves its text on and talks to no one). It never presses A during a load or out of play. After 60 s the step goes ahead as before.ScenarioRunner.Settle, a pure function of status and time.Reports that don't say why. Every frame's
vk: a submit's memory workline filled the 64 KBlog_tailwith the last minute of the run.Report.FoldRepeats: a log over the cap keeps the first and last 3 of each line repeated alike (but for its numbers), with one[beanstalk] N more lines like "..." left out from hereline, so the tail reaches back over the whole run. A log under the cap is unchanged.Docs:
docs/test-plan.md(theteleportandagesteps),docs/report-schema.md(log_tail). Nothing on screen changes.Testing
Tested on the farm's server, in a container (
dotnet/sdk:10.0): build, thentest_agent_core.py --strict: 2386 checks passed. New checks:Settle(2 s to settle, A only after 5 s of an event in play, a new event starts its own 5 s, never A in a load or out of play, a status without event fields waits) andFoldRepeats(4000 alike lines around two rare ones fold to 9 lines that keep both, and the tail keeps them; a short log is untouched).Still to test: in the game. No game was run here (this PC runs no farm jobs). The next nightly's reports: starts from
save:kokiri-startthat reach their map, and thecheats:lines in tails.π€ Generated with Claude Code
WIP: fix(agent): a teleport waits for the game to settle and moves an event's text on, and a long log keeps its rare linesto fix(agent): a teleport waits for the game to settle and moves an event's text on, and a long log keeps its rare linesPossibly related, for context: