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

fogfish / iq / 20697924022 / 1
39%
main: 31%

Build:
Build:
LAST BUILD BRANCH: fea-mime-markdown
DEFAULT BRANCH: main
Ran 04 Jan 2026 07:24PM UTC
Files 42
Run time 1s
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 07:16PM UTC coverage: 39.274%. First build
20697924022.1

Pull #87

github

fogfish
Fix emit context propagation using EmitContextCapture pattern

Issue: Emit context set in workflow steps wasn't reaching StorageSink because Go contexts are immutable - workflow execution creates new contexts that don't propagate back.

Solution: Implemented EmitContextCapture pattern - a mutable struct passed via context that workflow steps can write to during execution.

Changes:
- Added EmitContextCapture struct and helpers (WithEmitCapture, GetEmitCapture) to compiler/context.go
- Updated all workflow steps (AgentStep, RouterStep, ForeachStep, RunStep) to capture emit in EmitContextCapture
- Modified Agent processor to create emit capture before workflow execution and store captured emit in document metadata
- Fixed Agent processor to preserve document Key from input to output
- Added workflow detection (workflowUsesEmit) and conditional sink selection (buildWithEmit) in agent command
- StorageSink reads emit from document metadata and applies prefix/counters to output path

Result: emit attribute now correctly controls output directory structure (e.g., emit: processed → output/processed/file.txt)
Pull Request #87: Implement #81: Pipeline integration with storage sink and emit execution

1655 of 4214 relevant lines covered (39.27%)

0.43 hits per line

Source Files on job 20697924022.1
  • Tree
  • List 42
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20697924022
  • 4b741ee7 on github
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