Skip to content

Drop FsToolkit.ErrorHandling.JobResult and the Hopac dependency in 6.0.0 #390

Closed

Description

@TheAngryByrd

Problem

FsToolkit.ErrorHandling.JobResult adds JobResult, JobOption, and JobResultOption for Hopac. Hopac is not maintained:

  • The last Hopac release on nuget.org is 0.5.1, published on 2021-07-05. It has only a netstandard2.0 build.
  • The Hopac repository has had no push since 2022-02-24.

The package costs maintenance in each release: a library, a test project with 197 tests on two target frameworks, 35 docs pages, and CI time. FsToolkit 6.0.0 is a major version, so it is the right time to stop shipping the package.

Plan

Remove the package from the repository. The last published version, 6.0.0-beta008 (and 5.x for stable users), stays on nuget.org.

  • Delete src/FsToolkit.ErrorHandling.JobResult and tests/FsToolkit.ErrorHandling.JobResult.Tests, and remove both from FsToolkit.ErrorHandling.sln.
  • Remove Hopac and Expecto.Hopac from Directory.Packages.props.
  • Remove the JobResult reference from benchmarks/benchmarks.fsproj, if any benchmark uses it.
  • Delete gitbook/job, gitbook/jobResult, gitbook/jobOption, gitbook/jobResultOption, gitbook/list/sequenceJobResultA.md, and gitbook/list/sequenceJobResultM.md. Remove their entries from gitbook/SUMMARY.md and their rows from gitbook/bindMappings.md.
  • Remove the JobResult rows and text from README.md and .github/copilot-instructions.md.
  • Check build/build.fs and .github/workflows/publish.yml for a JobResult name. Today the release pushes each .nupkg in bin, so no change should be necessary. Confirm that DotnetPack makes 4 packages.
  • RELEASE_NOTES.md: a BREAKING line that says the package is no longer published, and that users can stay on the last version or move to task/async based builders.
  • Update Source packages for IcedTasks, JobResult, and AsyncSeq (after feedback on FsToolkit.ErrorHandling.Sources) #388 (Sources packages): JobResult is no longer in scope.

After the release that removes it (maintainer step, outside the repository):

  • Deprecate FsToolkit.ErrorHandling.JobResult on nuget.org, with the reason "Hopac is no longer maintained".

Acceptance criteria

  • ./build.sh SourcesTest, NpmTest, PythonTest, and WebSharperTest pass.
  • git grep -i -e hopac -e jobresult -e joboption finds only RELEASE_NOTES.md history entries.
  • DotnetPack makes FsToolkit.ErrorHandling, .Sources, .AsyncSeq, and .IcedTasks only.

🤖 Drafted with Claude Code.

Activity

  1. added
    enhancement
    ready-for-agent
    on Nov 20, 2026
  2. added a commit that references this issue on Nov 21, 2026
    2086295
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementready-for-agent

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions