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: coder/coder-logstream-kube
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.0.13
Choose a base ref
...
head repository: coder/coder-logstream-kube
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 5 commits
  • 18 files changed
  • 3 contributors

Commits on Aug 28, 2025

  1. chore(deps): bump actions/checkout from 4 to 5 (#120)

    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 28, 2025
    Configuration menu
    Copy the full SHA
    13d885f View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2025

  1. feat: implement retry mechanism for log processing (#136)

    * feat: implement retry mechanism for log processing
    
    * add tests for retry mechanism and logCache functionality
    
    * simplify retry state initialization in logQueuer
    
    * implement maxRetries for log processing
    
    * Apply review suggestions and fix maxRetries
    
    * Remove maxRetries configuration from CLI and Helm values, setting a default of 15 retries for log send failures.
    kacpersaw authored Sep 30, 2025
    Configuration menu
    Copy the full SHA
    a5bd376 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2025

  1. run image as non-root user & add securitycontext values (#138)

    * run image as non-root user & add securitycontext values
    
    * rm redundant comments
    ericpaulsen authored Oct 3, 2025
    Configuration menu
    Copy the full SHA
    736495d View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2025

  1. Configuration menu
    Copy the full SHA
    db7bcb7 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2025

  1. feat: add KinD integration tests (#141)

    * feat: add KinD integration tests
    
    Add integration tests that run against a real Kubernetes cluster using
    KinD (Kubernetes in Docker). This addresses #58.
    
    Changes:
    - Add integration_test.go with tests for:
      - Pod events (create/delete)
      - ReplicaSet events
      - Multi-namespace support
      - Label selector filtering
    - Add .github/workflows/integration.yaml CI workflow that:
      - Runs lint and unit tests first
      - Then runs integration tests with KinD
      - 10 minute timeout
    - Add scripts/kind-setup.sh for local development
    - Update README.md with integration test documentation
    
    The integration tests use the existing fakeAgentAPI to mock the Coder
    server, focusing on validating real Kubernetes informer behavior.
    
    * fix: use real clock for integration tests
    
    The integration tests were using quartz.NewMock(t) which creates a mock
    clock that doesn't advance automatically. This caused timeouts when
    waiting for log source registration because the timers in the log
    queuer never fired.
    
    Changes:
    - Remove mock clock usage from all integration tests
    - Use real clock (nil) which is the default
    - Reduce logDebounce to 5s for faster test execution
    - Increase informer sync wait to 1s for reliability
    
    * fix: remove duplicate unit-test job from integration workflow
    
    * fix: make integration tests more robust against event ordering
    
    The tests now use waitForLogContaining which continuously collects
    logs until finding the expected message, rather than expecting
    specific messages in the first batch of logs received.
    
    This fixes flaky tests caused by Kubernetes scheduling events
    arriving before pod lifecycle events.
    
    * fix: address PR review feedback
    
    - Add safety check to prevent running integration tests against
      non-KinD clusters (detects localhost/127.0.0.1/kind in host)
    - Use SHA pinning for GitHub Actions with version comments
    - Add INTEGRATION_TEST_UNSAFE=1 escape hatch for special cases
    
    * chore: add binary to gitignore
    
    * feat: add Makefile with lint/shellcheck and fmt/shfmt targets
    
    - Add Makefile with build, test, lint, and fmt targets
    - Fix shellcheck warnings in scripts/helm.sh and scripts/version.sh
    - Format shell scripts with shfmt
    
    * chore: update GitHub Actions dependencies and clean up .gitignore
    
    - Update actions/checkout to v6.0.1
    - Update actions/setup-go to v6.1.0
    - Update helm/kind-action to v1.13.0
    - Remove buildcoder-logstream-kube from .gitignore
    
    * fix: address remaining PR review comments
    
    - Fix safety check logic: check INTEGRATION_TEST_UNSAFE env var
      before calling t.Fatalf, not after
    - Fix .gitignore: add coder-logstream-kube and build/ on separate lines
    
    * fix: use Go 1.24 in integration workflow to match go.mod
    kacpersaw authored Dec 15, 2025
    Configuration menu
    Copy the full SHA
    8ea3f21 View commit details
    Browse the repository at this point in the history
Loading