Skip to content

Bug fix: restore trial_runner_id on reload from Storage #969

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 23, 2025

Conversation

bpkroth
Copy link
Contributor

@bpkroth bpkroth commented Apr 23, 2025

Pull Request

Title

Bug fix: restore trial_runner_id on reload from Storage


Description

@jsfreischuetz noticed that pending_trials was returning Trial objects without a trial_runner_id even though they were previously set.

This change fixes that and closes #968.

  • Requires explicit trial_runner_id on Trial object instantiation
  • Adds it in places where it was missing.

Type of Change

  • 🛠️ Bug fix
  • 🧪 Tests

Testing

New and existing tests.


Additional Notes (optional)

Found in the course of work on #967


@bpkroth bpkroth requested a review from a team as a code owner April 23, 2025 17:40
@bpkroth bpkroth enabled auto-merge (squash) April 23, 2025 17:54
Copy link
Member

@motus motus left a comment

Choose a reason for hiding this comment

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

Looks good!

@bpkroth bpkroth merged commit 2fbaaca into microsoft:main Apr 23, 2025
16 checks passed
@bpkroth bpkroth deleted the fix-trial-runner-id-reload branch April 23, 2025 18:23
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.

trial_runner_id is not restored on storage reload
2 participants