Skip to content

v44.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 16 Sep 20:51
· 31 commits to master since this release
9ffa855

Due to outstanding bugs you should avoid updating to this version

Though it may be used to migrate code for the v44.0.1 release which will be API compatible with the breaking changes listed in v44

Breaking Changes (Detailed Summary Below)

  • Significantly refactor the Runner api (#1640)
  • Move file filters into runners (#1646)

Bug Fixes

  • Failing jobs shouldn't be cached (#1645)

Significant Runner API Breaking Changes

  • runJob has been deprecated for a long time and has officially been removed. All uses should move to runJobWith
  • With runJob gone, a runners "score" is no longer a meaningful notion thus Score has been removed from Runner. All uses may be outright deleted.
  • makeRunner has been renamed to wrapRunner and is officially deprecated. It will be removed very soon. Users are highly encourged to migrate to the new makeRunner ASAP
  • A new makeRunner has been written that simply accept a run function. See the localRunner and jsonRunner implementation for good examples. The core idea is that pre/post are gone. Most runners can simply merge the two functions, call the inner runner, and simplify.
  • File filtering has been pushed down into Runners resulting in the following changes
    • RunnerOutput has a new field CleanableOutputs which should be the list of nearly everything output by the job that can be deleted on a clean request. Any item listed in Outputs may be omitted from CleanableOutputs but its not required. Being in either list makes a file eligible.
    • RunnerInput has new fields FnInput and FnOutput sourced directly from the Plan. They must be called on the final list of inputs/outputs exactly once before running inputs/outputs as part of the RunnerOutput. Determining the correct location to call the function depends on the runner implementation.