Skip to content

[dotnet-trace] Forward duration option to Record-Trace - #6079

Merged
hoyosjs merged 1 commit into
mainfrom
mdh1418/forward-linux-duration
Oct 6, 2026
Merged

hoyosjs merged 1 commit into
mainfrom
mdh1418/forward-linux-duration

Conversation

@mdh1418

@mdh1418 mdh1418 commented Sep 30, 2026

Copy link
Copy Markdown
Member

Now that Record-Trace has its own duration arg microsoft/one-collect#291, we should use it rather than our own timer.

Reuse CommonOptions.DurationOption while distinguishing omitted duration from explicit zero. Forward nonnegative durations as whole seconds rounded down and reject negative values in BuildRecordTraceArgs. Remove the managed duration timer while preserving existing manual cancellation and leaving collect unchanged.

Update record-trace to 0.1.35021 and add focused Linux-conditional duration syntax, range validation, and native-argument forwarding coverage using default providers.

Co-authored-by: Copilot <[email protected]>
@mdh1418
mdh1418 requested a review from a team as a code owner September 30, 2026 16:00
@hoyosjs
hoyosjs merged commit 9abfd33 into main Oct 6, 2026
23 checks passed
@hoyosjs
hoyosjs deleted the mdh1418/forward-linux-duration branch October 6, 2026 22:45
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 6, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants