Skip to content

taskman v0.5.0

Choose a tag to compare

@github-actions github-actions released this 10 Sep 15:02
· 51 commits to main since this release
2db432b

[0.5.0] - 2025-09-10

πŸš€ Features

  • PoolScaler (autoscaling v2)
  • Add metric JobsTotalExecutions
  • Add on-demand executor
  • Let poolExecutor reschedule with more than one cadence step

πŸ› Bug Fixes

  • Cadence changes with 0 task or job delta
  • Guard NextExec correctly
  • Sort out task execution counts from distributedExecuttor
  • Some linting issues
  • (ci) Change version bump check logic
  • Properly wait for jobs to finish on exit
  • Linting errors in onDemandExecutor
  • OnDemandExecutor concurrent execution race
  • Check for ctx.Done in onDemandExecutor

πŸ’Ό Other

  • Small Makefile change
  • Change module name go-taskman -> taskman

🚜 Refactor

  • ManagerMetrics -> executorMetrics
  • Remove atomic variables from executorMetrics in favor of its mutex protection

πŸ“š Documentation

  • Small clear up
  • Update readme after adding onDemandExecutor

🎨 Styling

  • Rename execChan -> taskExecChan for better match with jobExecChan

πŸ§ͺ Testing

  • Cover NextExec variations in executor test suite
  • Improve metrics test on manager level
  • Refactor manager test into a test suite, to cover any executor implementation
  • Clean up executor_pool_test huge function
  • Cover onDemandExecutor
  • Move assert out of goroutines
  • Some comments

βš™οΈ Miscellaneous Tasks

  • (todo) Module name change
  • (todo) Changes to list
  • (todo) Add to list
  • (cleanup) Remove old scaling func
  • (todo) Remove scrapped ideas from list
  • Add CI job
  • Add release job
  • (todo) Clear done, sort rest into target versions
  • (cleanup) Deal with a number of linting errors
  • (cleanup) Break the huge scaling function into smaller components
  • (todo) Add two future ideas
  • (lint) Excuse a run() func from cyclomatic