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

opendefensecloud / artifact-conduit / 35066725735
86%

Build:
DEFAULT BRANCH: main
Ran 16 Sep 2026 07:15AM UTC
Jobs 1
Files 12
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

16 Sep 2026 07:04AM UTC coverage: 85.504% (+0.2%) from 85.262%
35066725735

push

github

web-flow
feat: add TTL for Orders (#481)

## What
Closes #419.

## Why
See #419 
> Users might want to Order something once and want to forget about it
e.g. prototyping PoCs etc.

## Testing
`make test` and manually in local dev cluster

## 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

## New Features
- Added optional TTL configuration for Orders.
- Orders and associated artifact workflows are automatically deleted
after the configured duration, including pending or running transfers.
- Orders with an unset or zero TTL are retained indefinitely.
- Added client API support for configuring TTL values.

## Bug Fixes
- Negative TTL values are rejected with a field validation error.
- Cleanup scheduling now uses the earliest applicable expiration time.

## Documentation
- Clarified TTL retention and scheduled deletion behavior in the API
reference.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

25 of 41 new or added lines in 2 files covered. (60.98%)

1044 of 1221 relevant lines covered (85.5%)

1933.42 hits per line

Uncovered Changes

Lines Coverage ∆ File
16
79.63
0.11% pkg/controller/order_controller.go
Jobs
ID Job ID Ran Files Coverage
1 35066725735.1 16 Sep 2026 07:15AM UTC 12
85.5
GitHub Action Run
Source Files on build 35066725735
  • Tree
  • List 12
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #35066725735
  • b12698ec on github
  • Prev Build on main (#34971367086)
  • Next Build on main (#35337656786)
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