• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

fogfish / iq / 20695948222
31%

Build:
DEFAULT BRANCH: main
Ran 04 Jan 2026 04:40PM UTC
Jobs 1
Files 41
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

04 Jan 2026 04:38PM UTC coverage: 41.026% (+1.2%) from 39.846%
20695948222

push

github

web-flow
feat: Add emit attribute for step-level output control (ADR-0006 Phas… (#85)

* feat: Add emit attribute for step-level output control (ADR-0006 Phase 2)

This commit implements the emit attribute as specified in issue #79,
enabling explicit output key prefixes for workflow steps.

Changes:
- AST: Added Emit field to all step node types (AgentStepNode,
  RouterStepNode, ForeachStepNode, RunStepNode)
- Parser: Added emit YAML field parsing for all step types
- Compiler: Added EmitContext for tracking output prefixes and foreach
  iteration counters
- Compiler: Updated all compiled step structures to include Emit field
- Compiler: Implemented ApplyEmit and ApplyEmitWithCounters functions
  for key transformation
- Workflow: Initialized EmitContext in Job.Prompt execution

Tests:
- Added parser tests for emit attribute parsing across all step types
- Added unit tests for ApplyEmit and ApplyEmitWithCounters functions
- Added tests for EmitContext push/pop operations
- All existing tests pass without regressions

The emit attribute allows multi-stage workflows to organize outputs
into separate directories. For example:
  - uses: prompts/summarize.md
    emit: summary

will transform output keys like 'a.txt' to 'summary/a.txt'.

For foreach steps with counters, keys are transformed with iteration
counters inserted before the file extension:
  emit: research, key: a.txt, iteration: 1 → research/a.000001.txt

Note: This is Phase 2 of ADR-0006. Actual I/O integration with emit
prefixes will be implemented in Phase 3.

* (fix) file formatting

45 of 60 new or added lines in 4 files covered. (75.0%)

1568 of 3822 relevant lines covered (41.03%)

0.44 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
19.65
0.36% internal/blueprint/compiler/workflow.go
4
0.0
0.0% internal/blueprint/compiler/compiler.go
9
64.44
19.21% internal/blueprint/compiler/context.go
Jobs
ID Job ID Ran Files Coverage
1 20695948222.1 04 Jan 2026 04:40PM UTC 41
41.03
GitHub Action Run
Source Files on build 20695948222
  • Tree
  • List 41
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • b855835a on github
  • Prev Build on main (#20695748544)
  • Next Build on main (#20696400416)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc