You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Source packages for IcedTasks, JobResult, and AsyncSeq (after feedback on FsToolkit.ErrorHandling.Sources) #388
6.0.0-beta007 adds FsToolkit.ErrorHandling.Sources (#381, #382). It delivers the source code of the main FsToolkit.ErrorHandling package as files that compile inside the consumer's project, with a configurable namespace and visibility.
The three other packages have no source package:
FsToolkit.ErrorHandling.IcedTasks (depends on IcedTasks)
FsToolkit.ErrorHandling.JobResult (depends on Hopac)
FsToolkit.ErrorHandling.AsyncSeq (depends on FSharp.Control.AsyncSeq)
A project that uses FsToolkit.ErrorHandling.Sources and one of these packages gets two copies of the main library: the source copy and the binary that the sibling package depends on.
Decision first: collect feedback on FsToolkit.ErrorHandling.Sources
Do not build these packages until users of FsToolkit.ErrorHandling.Sources ask for them. Please comment on this issue if you use the Sources package, and tell us:
Which sibling package you need as source, if any.
Your target frameworks, SDK version, and the FsToolkitErrorHandlingNamespace and FsToolkitErrorHandlingVisibility values that you use.
Whether you consume it from Fable or through Paket. Neither is tested today (see the package README).
Any problem with the generated files, the FSTKSRC001 warning, or the property validation.
What a sibling source package needs
If feedback shows demand, each sibling source package must:
Depend on FsToolkit.ErrorHandling.Sources instead of FsToolkit.ErrorHandling, and use the same FsToolkitErrorHandlingNamespace and FsToolkitErrorHandlingVisibility properties, so that its files compile against the consumer's copy of the main library.
Keep the third-party dependency (IcedTasks, Hopac, or FSharp.Control.AsyncSeq) as a normal package dependency.
Reuse the generator in build/SourcesPackage.fs and the fail-closed rules. The generator must also replace open FsToolkit.ErrorHandling and the module references to the main library.
Get the same gates as SourcesTest: the full test project of the sibling package against the packed source package, a strict consumer build, the dependency-group check against the binary sibling package, and the docs drift check.
Acceptance criteria
Feedback on FsToolkit.ErrorHandling.Sources shows demand for at least one sibling package.
For each requested package: a .Sources package that meets points 1 to 4 above.
Each new package has a page in gitbook/ and a line in RELEASE_NOTES.md.
Activity
TheAngryByrd commentedon Nov 20, 2026
I don't think this makes sense unless the upstream packages also have Sources versions. Closing for now.
TheAngryByrd commentedon Nov 20, 2026
Scope note: #393 removes
FsToolkit.ErrorHandling.JobResult(issue #390), so a JobResult source package is out of scope if this work starts again.🤖 Drafted with Claude Code.