Repository navigation
Remove the separate-platforms (two-platform) try runs - #445
Merged
Merged
Conversation
With separate-platforms, Updatebot pushed a linux64-only try run first, then re-vendored and pushed the remaining platforms. Production never enables it, so remove it: the initial-platform job handler, the platform filter in submit_to_try, combining two try runs' jobs and push health (and merge_dictionaries, which only that used), and the two-platform tests and their test data. The job statuses keep their names and values, since they're stored in the database; AWAITING_INITIAL_PLATFORM_TRY_RESULTS and COULD_NOT_REVENDOR are now unused, and a job still in AWAITING_INITIAL_PLATFORM_TRY_RESULTS is skipped like a RELINQUISHED one.
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block approval of the simplified single-run vendoring workflow.
No open issues 🎉
What changed in this PR
This PR simplifies Updatebot’s vendoring workflow to use one all-platform Try run, removing the unused two-stage path while preserving database status names and values.
Changes:
- Removes platform filtering, re-vendoring between Try runs, and combined-result handling.
- Preserves legacy enum values and skips jobs awaiting initial-platform results.
- Removes obsolete tests and fixtures, updates status assertions, and simplifies workflow documentation.
| File | Description |
|---|---|
tests/treeherder_api.py |
Removes tests for combining two Try runs. |
tests/treeherder_api_responses/jobs_success_notlinux.txt |
Deletes the non-Linux success fixture. |
tests/treeherder_api_responses/health_unclassified_failures_notlinux_multiple_per_test.txt |
Deletes the non-Linux repeated-failure fixture. |
tests/treeherder_api_responses/health_unclassified_failures_notlinux_before_retriggers.txt |
Deletes the non-Linux pre-retrigger health fixture. |
tests/treeherder_api_responses/health_unclassified_failures_linuxonly_multiple_per_test.txt |
Deletes the Linux-only repeated-failure fixture. |
tests/treeherder_api_responses/health_unclassified_failures_linuxonly_before_retriggers.txt |
Deletes the Linux-only pre-retrigger health fixture. |
tests/treeherder_api_responses/health_classified_failures_notlinux.txt |
Deletes the non-Linux classified-failure fixture. |
tests/merge_dict.py |
Removes tests for the deleted merge utility. |
tests/local-tests/full_vendor_run_nestegg.py |
Requires the single-run awaiting-results status. |
tests/functionality_utilities.py |
Removes an obsolete comment about two-platform tests. |
tests/database.py |
Uses the active awaiting-results status in database tests. |
test.py |
Removes the two-platform suite from the test runner. |
tasktypes/vendoring.py |
Uses one Try run and skips the obsolete initial-platform status. |
docs/existing_job.md |
Removes the initial-platform workflow from the diagram. |
components/utilities.py |
Removes dictionary merging and its supporting constants. |
components/dbmodels.py |
Updates lifecycle comments while preserving enum names and values. |
components/bugzilla.py |
Simplifies the Try-submission message template. |
automation.py |
Removes the separate-platforms configuration default. |
apis/taskcluster.py |
Removes platform filtering and result-combination methods. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With separate-platforms, Updatebot pushed a linux64-only try run first, then re-vendored and pushed the remaining platforms. Production never enables it, so remove it: the initial-platform job handler, the platform filter in submit_to_try, combining two try runs' jobs and push health (and merge_dictionaries, which only that used), and the two-platform tests and their test data.
The job statuses keep their names and values, since they're stored in the database; AWAITING_INITIAL_PLATFORM_TRY_RESULTS and COULD_NOT_REVENDOR are now unused, and a job still in AWAITING_INITIAL_PLATFORM_TRY_RESULTS is skipped like a RELINQUISHED one.