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

fogfish / iq / 20679811263
35%
main: 31%

Build:
Build:
LAST BUILD BRANCH: fea-mime-markdown
DEFAULT BRANCH: main
Ran 03 Jan 2026 04:22PM UTC
Jobs 1
Files 39
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 04:18PM UTC coverage: 34.866%. First build
20679811263

Pull #74

github

fogfish
feat: Add --array CLI flag for batch processing (ADR-0007 Phase 6)

Implements Phase 6 of ADR-0007: CLI integration for array mode.

Changes:
- Added --array flag to optsAgent struct and apply() method
- Implemented validate() method to check for incompatible flags (--array with --merge)
- Updated optsAgent.build() to call ArrayMode() when --array flag is set
- Added ArrayMode() method to worker builder that adds ArrayCollector processor
- Enhanced CLI help text with array mode examples and documentation

The --array flag enables batch processing by collecting all input documents
into an array. The workflow can then access this array via 'selector: document'
in foreach steps. This is useful for:
- Processing JSON array files
- Batch processing split documents
- Multiple files as array

Memory warning: All documents are buffered in memory until EOF.

Validation ensures --array and --merge are mutually exclusive since they
represent different semantics (array collection vs document merging).

Related: #64, #65
Closes: #69
Pull Request #74: feat: Add --array CLI flag for batch processing (ADR-0007 Phase 6)

10 of 21 new or added lines in 2 files covered. (47.62%)

1236 of 3545 relevant lines covered (34.87%)

0.38 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
88.46
cmd/opts.go
7
36.08
internal/service/worker/worker.go
Jobs
ID Job ID Ran Files Coverage
1 20679811263.1 03 Jan 2026 04:22PM UTC 39
34.87
GitHub Action Run
Source Files on build 20679811263
  • Tree
  • List 39
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #74
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