Skip to content

Read trace and CI durations from DurationInSeconds - #34

Merged
Paebbels merged 1 commit into
devfrom
claude/duration-compat
Oct 20, 2026
Merged

Paebbels merged 1 commit into
devfrom
claude/duration-compat

Conversation

@pytooling-claude

@pytooling-claude pytooling-claude Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Changes

Unit Tests

  • tests/unit/Run.py, tests/unit/Tracing.py: durations are compared via DurationInSeconds. Against pyTooling v10.0.0-rc5 from PyPI, these and the pipeline command's tests failed (470.0 != timedelta(seconds=470), unsupported format string passed to datetime.timedelta.__format__); dev's pipeline is red until this merges.

Related Issues and Pull-Requests

@pytooling-claude
pytooling-claude Bot requested a review from Paebbels as a code owner October 20, 2026 20:50
@codacy-production

codacy-production Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@pytooling-claude pytooling-claude Bot mentioned this pull request Oct 20, 2026
pyTooling #605 (v10.0.0-rc4) makes 'Span.Duration' and the 'Duration' of the 'pyTooling.CI'
elements a timedelta, with 'DurationInSeconds' as the float; formatting the timedelta with
':.0f' raised a TypeError. The 'pipeline' command's wall time and the tests read
'DurationInSeconds'; the requirement is raised to pyTooling >= 10.0.0rc4.

Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
@pytooling-claude
pytooling-claude Bot force-pushed the claude/duration-compat branch from a6a7d86 to 7e5ae97 Compare October 20, 2026 21:58
@pytooling-claude pytooling-claude Bot changed the title Read trace and CI durations as float or timedelta Read trace and CI durations from DurationInSeconds Oct 20, 2026
@Paebbels
Paebbels merged commit 150dfa2 into dev Oct 20, 2026
31 of 55 checks passed
@Paebbels
Paebbels deleted the claude/duration-compat branch October 20, 2026 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants