Skip to content

Conversation

@edenreich
Copy link
Contributor

Replace invalid "7d" and "30d" duration formats with valid Go time.Duration format "168h" (7 days) and "720h" (30 days) respectively. Go's time.Duration parser does not recognize "d" as a valid unit - only ns, us/µs, ms, s, m, h.

  • Fix ARTIFACTS_RETENTION_MAX_AGE default in README template
  • Fix retention config in go-agent example

Fixes #86

Generated with Claude Code

Replace invalid "7d" and "30d" duration formats with valid Go time.Duration 
format "168h" (7 days) and "720h" (30 days) respectively. Go's time.Duration
parser does not recognize "d" as a valid unit - only ns, us/µs, ms, s, m, h.

- Fix ARTIFACTS_RETENTION_MAX_AGE default in README template
- Fix retention config in go-agent example

Fixes #86

Co-authored-by: Eden Reich <[email protected]>
@edenreich edenreich merged commit 875bd95 into main Oct 19, 2025
1 check passed
@edenreich edenreich deleted the claude/issue-86-20251019-1734 branch October 19, 2025 18:04
ig-semantic-release-bot bot added a commit that referenced this pull request Oct 19, 2025
## [0.23.10](v0.23.9...v0.23.10) (2025-10-19)

### 🐛 Bug Fixes

* **artifacts:** Change invalid Go duration format from days to hours in the docs ([#87](#87)) ([875bd95](875bd95)), closes [#86](#86)
@ig-semantic-release-bot
Copy link
Contributor

🎉 This PR is included in version 0.23.10 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Artifact retention MaxAge default value uses invalid Go duration format

2 participants