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(robot-server): Delete unused models for maintenance runs, and document actions list as empty #14905

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

SyntaxColoring
Copy link
Contributor

Overview

Maintenance runs have an actions field, like non-maintenance runs. Unlike non-maintenance runs, though, it's currently impossible for it to contain anything in practice. There is no POST /maintenance_runs/{run_id}/actions endpoint the way there is POST /runs/{run_id/actions.

This PR deletes some unused code that was supporting actions on maintenance runs, and documents the actions field as always being empty. Same deal as #14670, but for Python instead of TypeScript.

This is while I'm in the area for EXEC-382, trying to answer questions like "what are the different ways for a maintenance run to end."

Test Plan

  • Check that the rendered HTTP API docs look reasonable.

Review requests

None in particular.

Risk assessment

No risk.

@SyntaxColoring SyntaxColoring requested a review from a team as a code owner April 15, 2024 18:29
@SyntaxColoring SyntaxColoring changed the title refactor(robot-server): Delete unused models for mainten, and document actions list as empty. refactor(robot-server): Delete unused models for maintenance runs, and document actions list as empty. Apr 15, 2024
@SyntaxColoring SyntaxColoring changed the title refactor(robot-server): Delete unused models for maintenance runs, and document actions list as empty. refactor(robot-server): Delete unused models for maintenance runs, and document actions list as empty Apr 15, 2024
@SyntaxColoring SyntaxColoring merged commit 611978c into edge Apr 15, 2024
13 checks passed
@SyntaxColoring SyntaxColoring deleted the delete_dead_maintenance_run_actions branch April 15, 2024 20:05
Carlos-fernandez pushed a commit that referenced this pull request May 20, 2024
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.

None yet

2 participants