Ticket #2342 (closed defect: fixed)

Opened 10 months ago

Last modified 5 months ago

Force scheduler should use a single buildset for each click of the "Force" button

Reported by: dustin Owned by: tom.prince
Priority: major Milestone: 0.8.8
Version: 0.8.6p1 Keywords: force
Cc:

Description

Currently, the force and force-all options will both call sched.force() once for each builder, which isn't very efficient and will make problems for e.g., dependent schedulers.

Change History

comment:1 Changed 9 months ago by dustin

  • Milestone changed from 0.8.7 to 0.8.+

comment:2 Changed 8 months ago by tom.prince

  • Owner set to tom.prince
  • Status changed from new to assigned

I have some code that does this.

comment:3 Changed 6 months ago by tom.prince

  • Milestone changed from 0.8.+ to 0.8.8

comment:4 Changed 6 months ago by Tom Prince

  • Status changed from assigned to closed
  • Resolution set to fixed

Allow forcing on multiple builders at once.

The web status currently does this by forcing multiple times, once for each builder, creating a separate buildset for each. Instead, teach ForceScheduler? to support starting multiple builders in a single buildset, and refactor the webstatus code to support that.

Fixes #2342.

Changeset: 3be5a31c59958bbe061464221736cef3ba74700a

comment:5 Changed 5 months ago by Tom Prince

Allow forcing on multiple builders at once.

The web status currently does this by forcing multiple times, once for each builder, creating a separate buildset for each. Instead, teach ForceScheduler? to support starting multiple builders in a single buildset, and refactor the webstatus code to support that.

Fixes #2342.

Changeset: 3be5a31c59958bbe061464221736cef3ba74700a

Note: See TracTickets for help on using tickets.