Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ktsu-dev/IntervalAction
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.5.1
Choose a base ref
...
head repository: ktsu-dev/IntervalAction
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.6.0
Choose a head ref
  • 12 commits
  • 7 files changed
  • 3 contributors

Commits on Oct 6, 2026

  1. [bot][skip ci] Update Metadata

    Github Actions
    Github Actions committed Oct 6, 2026
    Configuration menu
    Copy the full SHA
    c656c63 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2026

  1. Reject polling intervals Task.Delay cannot honor [patch]

    Start() rejected only zero and negative intervals, but Task.Delay
    truncates to whole milliseconds and tops out at int.MaxValue ms on
    netstandard. A sub-millisecond interval became Task.Delay(0) and spun a
    core, which the zero check was added to prevent, and one over about 24.8
    days ran the action once and then faulted the loop. Reject anything
    outside [1 ms, int.MaxValue ms] with the existing exception.
    
    Fixes #65
    
    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_01Vpup29Ycn8SGi7LvBjAq1c
    claude committed Oct 7, 2026
    Configuration menu
    Copy the full SHA
    5f39acb View commit details
    Browse the repository at this point in the history
  2. Assert that an interval at Task.Delay's limits starts polling without…

    … faulting
    
    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_01Vpup29Ycn8SGi7LvBjAq1c
    claude committed Oct 7, 2026
    Configuration menu
    Copy the full SHA
    6983cb4 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #82 from ktsu-dev/claude/intervalaction-65-polling…

    …-interval-range
    
    Reject polling intervals Task.Delay cannot honor
    matt-edmondson authored Oct 7, 2026
    Configuration menu
    Copy the full SHA
    f3f2786 View commit details
    Browse the repository at this point in the history
  4. [bot][skip ci] Update Metadata

    Github Actions
    Github Actions committed Oct 7, 2026
    Configuration menu
    Copy the full SHA
    e268135 View commit details
    Browse the repository at this point in the history
  5. Report an action that throws OperationCanceledException as a failure …

    …[patch]
    
    An asynchronous action that threw an OperationCanceledException of its
    own, such as the TaskCanceledException HttpClient reports a timeout with,
    left its run Canceled rather than Faulted. TryRun and RethrowExceptions
    only looked at Task.Exception, which a Canceled task does not carry, so
    the failure was cleared and never reported.
    
    A run that Stop() cancels already ends normally, so nothing cancels a run
    on purpose. A Canceled run is now treated as a failure: TryRun rethrows the
    action's exception into the polling loop, and RethrowExceptions reports it.
    
    Fixes #66
    
    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_017crwGv42t1FV1Sp9QxoQNe
    claude committed Oct 7, 2026
    Configuration menu
    Copy the full SHA
    12acf71 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #84 from ktsu-dev/fix/66-cancellation-from-action

    Report an action that throws OperationCanceledException as a failure [patch]
    matt-edmondson authored Oct 7, 2026
    Configuration menu
    Copy the full SHA
    e7e6b8d View commit details
    Browse the repository at this point in the history
  7. [bot][skip ci] Update Metadata

    Github Actions
    Github Actions committed Oct 7, 2026
    Configuration menu
    Copy the full SHA
    c6416af View commit details
    Browse the repository at this point in the history
  8. [bot][skip ci] Update Metadata

    Github Actions
    Github Actions committed Oct 7, 2026
    Configuration menu
    Copy the full SHA
    e9dbb49 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2026

  1. Add StopAsync and keep a dispatched run from starting after Stop [minor]

    TryRun claimed the ActionTask slot under the lock, but the action body ran
    later on the thread pool, and Stop() only cleared ShouldPoll. A run that
    had been dispatched but not begun could start after Stop() returned and
    after the polling loop exited, so stopping and then disposing what the
    action used was not safe. The loop also read ShouldPoll, released the
    lock and called TryRun, which never looked again.
    
    A run now carries the stop generation it was claimed under and re-checks
    it under the lock before calling the action, and the polling loop passes
    its generation to TryRun so a stop in that gap prevents the claim.
    
    StopAsync() stops, then waits for any pending restart, the polling loop
    and the last run, so nothing is executing and nothing can start once it
    completes. The README listed a Dispose() that does not exist; it now
    documents StopAsync instead.
    
    Fixes #67
    
    Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_01K6bDUGMFsAQews3TnA2jXr
    claude committed Oct 8, 2026
    Configuration menu
    Copy the full SHA
    2337da0 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #85 from ktsu-dev/claude/issue-67-stop-async

    Add StopAsync and keep a dispatched run from starting after Stop [minor]
    matt-edmondson authored Oct 8, 2026
    Configuration menu
    Copy the full SHA
    cde5fa8 View commit details
    Browse the repository at this point in the history
  3. [bot][skip ci] Update Metadata

    Github Actions
    Github Actions committed Oct 8, 2026
    Configuration menu
    Copy the full SHA
    01757ec View commit details
    Browse the repository at this point in the history
Loading