Repository navigation
test: relax TestSessionID_Age_Recent upper bound to tolerate slow CI - #673
Merged
Merged
Conversation
The assertion required SessionID.Age() to be under 1s after a 10ms sleep, which flaked on loaded -race CI runners (observed 1.008s on an unrelated PR). Widen the ceiling to one minute - it still catches a genuinely wrong Age() (bad epoch) without the false failure.
edenreich
commented
Jun 28, 2026
Co-authored-by: Eden Reich <[email protected]>
inference-gateway-releaser Bot
added a commit
that referenced
this pull request
Jun 28, 2026
## [0.125.0](v0.124.1...v0.125.0) (2026-06-28) ### 🚀 Features * **reminders:** configurable reminders on a shared hook-point catalog ([#675](#675)) ([179cad1](179cad1)), closes [#270](#270) [#669](#669) [#270](#270) [#525](#525) [#270](#270) * **channels:** retain inbound voice/audio recordings with bounded cleanup ([#671](#671)) ([8fd29ce](8fd29ce)) * **hooks:** run configured shell commands at agent hook points ([#676](#676)) ([990f2c0](990f2c0)), closes [#270](#270) [#675](#675) [#675](#675) [#270](#270) [#675](#675) [#675](#675) [#669](#669) [#270](#270) ### 🐛 Bug Fixes * **agent:** keep the internal completion check out of channel replies ([#672](#672)) ([96b166c](96b166c)) * **docs:** replace em dashes with hyphens for consistency in SKILL.md and configuration-reference.md ([1c9196d](1c9196d)) ### ♻️ Code Refactoring * dead-code cleanup, Go 1.26 modernization, width-aware truncation, race testing ([#667](#667)) ([7a97f3b](7a97f3b)) * interfaces, fix context propagation, and reduce delays ([#666](#666)) ([1a93ff8](1a93ff8)) ### 📚 Documentation * **skills:** add charm v2 skills (bubbletea, lipgloss, bubbles) ([#664](#664)) ([c7242c7](c7242c7)), closes [#657](#657) [#663](#663) * **skills:** add Go skills adapted from spf13/go-skills ([#665](#665)) ([971ac23](971ac23)) * **skills:** add go-concurrency skill ([#663](#663)) ([c77ac33](c77ac33)), closes [#657](#657) ### ✅ Tests * relax TestSessionID_Age_Recent upper bound to tolerate slow CI ([#673](#673)) ([9cfe203](9cfe203)), closes [#671](#671)
Contributor
|
🎉 This PR is included in version 0.125.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
TestSessionID_Age_Recentgenerates a session ID, sleeps 10ms, then assertsSessionID.Age()is between 10ms and 1s. On loaded-raceCI runners more than 1s can elapse beforeAge()is read - it was observed at 1.008s, tripping the upper bound and failing thetestjob (surfaced on an unrelated PR, #671).Fix
Widen the upper bound from
1sto1m. It still catches a genuinely wrongAge()(e.g. a bad epoch that would yield hours) while removing the timing flake. The lower bound (10ms) is unchanged.Test-only change; no production code touched.