Skip to content

Remove the separate-platforms (two-platform) try runs - #445

Merged
tomrittervg merged 1 commit into
masterfrom
2026-11-02-tjr-remove-two-platform
Nov 2, 2026
Merged

tomrittervg merged 1 commit into
masterfrom
2026-11-02-tjr-remove-two-platform

Conversation

@tomrittervg

Copy link
Copy Markdown
Collaborator

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.

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.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 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

@tomrittervg
tomrittervg merged commit 06fddba into master Nov 2, 2026
17 checks passed
@tomrittervg
tomrittervg deleted the 2026-11-02-tjr-remove-two-platform branch November 2, 2026 21:43
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