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

fogfish / iq / 20680922366
31%

Build:
DEFAULT BRANCH: main
Ran 03 Jan 2026 06:04PM UTC
Jobs 1
Files 40
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

03 Jan 2026 06:03PM UTC coverage: 36.326% (+0.5%) from 35.784%
20680922366

push

github

web-flow
feat: add foreach output format configuration support (Issue #67) (#76)

* feat: add foreach output format configuration support (Issue #67)

Implements ADR-0007 Phase 4: Extended AST and parser to support
format configuration in foreach steps.

Changes:
- Added FormatNode to AST (already present in ast.go)
- Added formatYAML struct to parser with type and delimiter fields
- Updated foreachYAML to include optional format configuration
- Modified parser logic to parse format attribute with validation
- Added default values: type='json', delimiter='\n'
- Invalid format types silently default to 'json'

Tests:
- Added comprehensive test suite for format parsing
- Tests cover: json, jsonl, text formats
- Tests verify default values and invalid type handling
- All tests pass successfully

Example:
- Created examples/13_array_format demonstrating all format types
- Includes JSON, JSONL, and text with custom delimiters

The implementation maintains backward compatibility with existing
workflows that don't specify format (defaults to JSON array).

Closes #67

* (fix) improve the example for array formats

24 of 43 new or added lines in 3 files covered. (55.81%)

1 existing line in 1 file now uncovered.

1323 of 3642 relevant lines covered (36.33%)

0.39 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
66.46
5.46% internal/blueprint/parser/parser.go
5
0.0
0.0% internal/blueprint/compiler/compiler.go
12
0.0
0.0% internal/blueprint/compiler/workflow.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% internal/blueprint/compiler/compiler.go
Jobs
ID Job ID Ran Files Coverage
1 20680922366.1 03 Jan 2026 06:04PM UTC 40
36.33
GitHub Action Run
Source Files on build 20680922366
  • Tree
  • List 40
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 5c6333d9 on github
  • Prev Build on main (#20680283999)
  • Next Build on main (#20681496006)
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