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: peg/snare
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.1.4
Choose a base ref
...
head repository: peg/snare
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.2.0
Choose a head ref
  • 7 commits
  • 26 files changed
  • 4 contributors

Commits on May 1, 2026

  1. test(serve): add coverage for unregistered token webhook fix (#23) (#34)

    Add TestHandleCanary_unregisteredTokenNoWebhook to verify that
    processAlert returns early without firing a webhook when the token
    is not registered in the DB. Add the positive counterpart
    TestHandleCanary_registeredTokenFiresWebhook to confirm registered
    tokens do trigger webhook delivery.
    
    Co-authored-by: clap [bot] <[email protected]>
    Co-authored-by: Claude Opus 4.6 <[email protected]>
    3 people authored May 1, 2026
    Configuration menu
    Copy the full SHA
    c3e32b2 View commit details
    Browse the repository at this point in the history
  2. test(bait): add per-canary template correctness tests (#35)

    Add template-specific tests for awsproc, ssh, k8s, and git canary types,
    plus a cross-type token URL format test. Extends testParams() to handle
    the new types.
    
    Co-authored-by: clap [bot] <[email protected]>
    Co-authored-by: Claude Opus 4.6 <[email protected]>
    3 people authored May 1, 2026
    Configuration menu
    Copy the full SHA
    c6219a5 View commit details
    Browse the repository at this point in the history
  3. test(worker): add unit test suite for worker logic (#36)

    Co-authored-by: clap [bot] <[email protected]>
    Co-authored-by: Claude Opus 4.6 <[email protected]>
    3 people authored May 1, 2026
    Configuration menu
    Copy the full SHA
    c76a73e View commit details
    Browse the repository at this point in the history
  4. fix(worker): remove duplicate stripe entry in CANARY_TYPES (#38)

    Co-authored-by: clap [bot] <[email protected]>
    peg and clap [bot] authored May 1, 2026
    Configuration menu
    Copy the full SHA
    3736dce View commit details
    Browse the repository at this point in the history
  5. refactor(cli): split 2582-line cli.go into per-command files (#37)

    Pure mechanical split — no behavior, signature, or logic changes.
    cli.go (528 lines) retains the dispatcher, shared helpers, and buildParams.
    Command groups moved to: cmd_arming.go, cmd_plant.go, cmd_scan.go,
    cmd_events.go, cmd_status.go, cmd_config.go, cmd_serve.go.
    
    Note: "arm" command lives in cmd_arming.go (not cmd_arm.go) because
    Go treats the _arm filename suffix as a GOARCH=arm build constraint.
    
    Co-authored-by: clap [bot] <[email protected]>
    Co-authored-by: Claude Opus 4.6 <[email protected]>
    3 people authored May 1, 2026
    Configuration menu
    Copy the full SHA
    7215a6b View commit details
    Browse the repository at this point in the history
  6. chore(deps): bump softprops/action-gh-release from 2 to 3 (#39)

    Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2 to 3.
    - [Release notes](https://github.com/softprops/action-gh-release/releases)
    - [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
    - [Commits](softprops/action-gh-release@v2...v3)
    
    ---
    updated-dependencies:
    - dependency-name: softprops/action-gh-release
      dependency-version: '3'
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored May 1, 2026
    Configuration menu
    Copy the full SHA
    00d943c View commit details
    Browse the repository at this point in the history
  7. fix: align canary inventory and harden callbacks (#40)

    Co-authored-by: clap [bot] <[email protected]>
    peg and clap [bot] authored May 1, 2026
    Configuration menu
    Copy the full SHA
    939d5eb View commit details
    Browse the repository at this point in the history
Loading