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

opendefensecloud / artifact-conduit / 39268553746
86%

Build:
DEFAULT BRANCH: main
Ran 19 Oct 2026 02:36PM UTC
Jobs 1
Files 17
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

19 Oct 2026 02:23PM UTC coverage: 86.02% (-0.4%) from 86.386%
39268553746

push

github

web-flow
fix: capitalize nested spec keys when flattening parameters (#517)

## What
Closes #513.

## Why
`flattenMap` capitalized leaf and array keys (`specImage`, `specTags0`)
but not the keys of nested maps, so `spec.foo.bar` became `specfooBar`.
`workflow-parameters.md` documents `specFooBar`. The unit tests asserted
the lowercase output and are updated.

## Testing
`make test`

## Notes for reviewers
Breaking for WorkflowTemplates that read parameters of nested spec
fields under the lowercase names: `specfooBar` becomes `specFooBar`. No
example or fixture in the repo uses nested spec fields. Upgrade path:
rename the parameters in affected templates.

## Checklist
- [x] Tests added/updated
- [x] No breaking changes (or upgrade path documented above)
- [x] Readable commit history (squashed and cleaned up as desired)
- [x] AI code review considered and comments resolved


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Bug Fixes**
* Flattened map output now capitalizes the first letter of nested map
keys consistently at every nesting level. This keeps nested keys aligned
with the capitalization used for leaf keys.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

1 of 1 new or added line in 1 file covered. (100.0%)

10 existing lines in 2 files now uncovered.

1409 of 1638 relevant lines covered (86.02%)

1718.51 hits per line

Coverage Regressions

Lines Coverage ∆ File
6
82.73
-0.91% pkg/controller/workflow_handler.go
4
79.16
-1.06% pkg/controller/order_controller.go
Jobs
ID Job ID Ran Files Coverage
1 39268553746.1 19 Oct 2026 02:36PM UTC 17
86.02
GitHub Action Run
Source Files on build 39268553746
  • Tree
  • List 17
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39268553746
  • 68dba8ec on github
  • Prev Build on main (#39244923688)
  • Next Build on main (#39391871782)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc