Skip to content

fix: rate-limiting interfering with old line cleanup#14

Merged
mosteo merged 1 commit intomasterfrom
fix/residue
Feb 6, 2026
Merged

fix: rate-limiting interfering with old line cleanup#14
mosteo merged 1 commit intomasterfrom
fix/residue

Conversation

@mosteo
Copy link
Copy Markdown
Member

@mosteo mosteo commented Feb 6, 2026

No description provided.

Copilot AI review requested due to automatic review settings February 6, 2026 09:10
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 fixes a bug where rate-limiting in the Step procedure was interfering with the cleanup of previously rendered status lines. The issue occurred because Old_Line was being calculated from the current state of the status set (after updates) rather than from what was actually last rendered to the screen.

Changes:

  • Fixed Step procedure to use Last_Status_Line (the last rendered status) instead of Build_Status_Line (current status set state) for cleanup
  • Bumped version from 3.0.0 to 3.0.1-dev to reflect the bug fix

Reviewed changes

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

File Description
src/simple_logging.adb Changed line 303 to use To_String(Last_Status_Line) instead of This.Build_Status_Line to correctly track the previously rendered status line for cleanup when rate-limiting causes early returns
alire.toml Bumped version from 3.0.0 to 3.0.1-dev to reflect the bug fix

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

@mosteo mosteo merged commit 5f5b042 into master Feb 6, 2026
11 checks passed
@mosteo mosteo deleted the fix/residue branch February 6, 2026 09:16
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.

2 participants