Skip to content

Conversation

@lsm
Copy link
Owner

@lsm lsm commented Dec 29, 2025

Summary

  • Remove the set() function for incremental output setting in favor of the simpler next(err, value) pattern
  • Delete src/set.js entirely and consolidate value-to-store mapping in pipeline.js
  • Simplify next() signature from (err, key, value) to (err, value)
  • Maintain 100% test coverage with 35 passing tests

Test plan

  • All existing tests updated to use next(null, value) pattern
  • Added new tests for edge cases (primitive values, arrays, null handling)
  • Verified 100% coverage across statements, branches, functions, and lines
  • npm test passes with 35 tests

🤖 Generated with Claude Code

lsm and others added 3 commits December 28, 2025 16:05
Document build commands, test commands, and high-level architecture
including the continuation-passing execution flow, dependency injection
system, and auto-next behavior.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This simplifies the pipeline API by removing the incremental `set()` function
and consolidating value passing through `next(err, value)`.

Changes:
- Delete src/set.js entirely
- Simplify next() signature from (err, key, value) to (err, value)
- Add setValueToStore() in pipeline.js for value-to-store mapping
- Update tests to use next(null, value) pattern
- Remove set-related tests and exceptions
- Maintain 100% test coverage

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Resolves conflicts between:
- TypeScript conversion from master
- set() API removal from this branch

Changes:
- Remove set() function and related types
- Use next(err, value) pattern instead
- Update Store.next signature from (err, key, value) to (err, value)
- Remove outputMap from Pipe and PipeState types
- All 35 tests passing with 100% coverage

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@coveralls
Copy link

Coverage Status

coverage: 100.0%. remained the same
when pulling ace7c54 on session/critical-analysis-of-set-removal-options-8700ee5d
into 2b20303 on master.

@lsm lsm merged commit ace7c54 into master Dec 29, 2025
4 checks passed
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.

3 participants