Skip to content
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

refactor(api, robot-server): remove/ update outdated TODOs #16413

Merged
merged 2 commits into from
Oct 7, 2024

Conversation

sanni-t
Copy link
Member

@sanni-t sanni-t commented Oct 3, 2024

Overview

Removes TODOs that have been addressed or are no longer relevant. Updates outdated ones.
Details in comments.

Review requests

  • any wrong removals?

Risk assessment

None.

Comment on lines -612 to -613
# TODO (spp, 2024-03-18): use true run-time param overrides once enabled
# for cli protocol simulation/ execution
Copy link
Member Author

Choose a reason for hiding this comment

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

Moved from _run_file_non_pe to _run_file_pe. Non-pe will never have RTPs

@@ -201,7 +201,6 @@ def device_info(self) -> Mapping[str, str]:
@property
def live_data(self) -> LiveData:
return {
# TODO (spp, 2022-2-22): Revise what status includes
Copy link
Member Author

Choose a reason for hiding this comment

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

There's a more detailed comment at a more appropriate place in this file

@@ -311,7 +311,6 @@ def load_adapter(

return labware_core

# TODO (spp, 2022-12-14): https://opentrons.atlassian.net/browse/RLAB-237
Copy link
Member Author

Choose a reason for hiding this comment

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

RLAB-237 is completed.

Comment on lines -64 to -66
# TODO (spp, 2022-10-27): This only raises if latch status is 'idle_closed'.
# We need to update the flagger to raise if latch status is anything other
# than 'idle_open'
Copy link
Member Author

Choose a reason for hiding this comment

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

The other error is handled on next line.

Comment on lines -40 to -41
# TODO (spp, 2022-10-20): name this GripperMovementHandler if it doesn't handle
# any non-gripper implementations
Copy link
Member Author

Choose a reason for hiding this comment

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

This does manual labware movement deck conflict checks too.

Comment on lines -886 to -887
# TODO (spp, 2024-03-18): use true run-time param overrides once enabled
# for cli protocol simulation/ execution
Copy link
Member Author

Choose a reason for hiding this comment

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

Moved from _run_file_non_pe to _run_file_pe. Non-pe simulate will never have RTPs

Comment on lines -79 to -80
# TODO (spp, 2023-01-03): update calibration field as decided after
# spike https://opentrons.atlassian.net/browse/RSS-167
Copy link
Member Author

Choose a reason for hiding this comment

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

RSS-167 is completed

Comment on lines -272 to -273
# TODO (spp, 2023-01-06): revise according to
# https://opentrons.atlassian.net/browse/RET-1295
Copy link
Member Author

Choose a reason for hiding this comment

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

RET-1295 is done

@@ -39,7 +39,7 @@ def _build_run(
id=run_id,
createdAt=created_at,
status=state_summary.status,
actions=[], # TODO (spp, 2023-04-23): wire up actions once they are allowed
Copy link
Member Author

Choose a reason for hiding this comment

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

No plan for actions on maintenance runs

Comment on lines -33 to -34
# TODO (spp, 2023-07-06): Implement fetching Flex's engaged motors
# https://opentrons.atlassian.net/browse/RET-1371
Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@sanni-t sanni-t marked this pull request as ready for review October 3, 2024 20:08
@sanni-t sanni-t requested a review from a team as a code owner October 3, 2024 20:08
Copy link
Member

@sfoster1 sfoster1 left a comment

Choose a reason for hiding this comment

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

Thank you!

Copy link
Contributor

@SyntaxColoring SyntaxColoring left a comment

Choose a reason for hiding this comment

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

TYVM!

robot-server/robot_server/instruments/router.py Outdated Show resolved Hide resolved
@sanni-t sanni-t merged commit fb6e437 into edge Oct 7, 2024
21 checks passed
@sanni-t sanni-t deleted the todo-comments-cleanup branch October 7, 2024 17:49
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