Skip to content

feat(pipeline): add distribution strategy and console reporter improvements#209

Merged
ddeboer merged 2 commits intomainfrom
feat/console-reporter-progress
Mar 6, 2026
Merged

feat(pipeline): add distribution strategy and console reporter improvements#209
ddeboer merged 2 commits intomainfrom
feat/console-reporter-progress

Conversation

@ddeboer
Copy link
Member

@ddeboer ddeboer commented Mar 6, 2026

Summary

  • Distribution selection strategy: Add strategy option ('sparql' | 'import') to ImportResolverOptions. The 'import' strategy forces data dump import even when a SPARQL endpoint is available, useful when the remote endpoint is too slow or unreliable. The inner resolver still runs to collect probe results for reporting and the dataset knowledge graph.
  • Selected indicator: Add dim "(selected)" suffix in ConsoleReporter for non-imported selected distributions, so users can see which distribution was actually picked.
  • Extract import logic in ImportResolver into a private importDataset() method.
  • Add JSDoc comments on ImportResolver and strategy option explaining the two modes.
  • Require JSDoc on all public APIs in AGENTS.md.

@ddeboer ddeboer force-pushed the feat/console-reporter-progress branch from bcbe8ab to 47f0f26 Compare March 6, 2026 12:45
- Add 'strategy' option ('sparql' | 'import') to ImportResolverOptions
- 'import' strategy skips SPARQL endpoint even when available, always imports data dumps
- Inner resolver still runs to collect probe results for reporting/DKG
- Extract import logic into private importDataset() method
- Add '(selected)' indicator in ConsoleReporter for non-imported distributions
@ddeboer ddeboer force-pushed the feat/console-reporter-progress branch from 47f0f26 to 7c7b056 Compare March 6, 2026 12:50
@ddeboer ddeboer merged commit 156d503 into main Mar 6, 2026
2 checks passed
@ddeboer ddeboer deleted the feat/console-reporter-progress branch March 6, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant