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: elastic/stream
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: elastic/stream
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: time
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 4 files changed
  • 1 contributor

Commits on Jun 17, 2026

  1. internal/httpserver: add now template function for dynamic timestamps

    Add a "now" template function to the HTTP mock server that returns
    the current UTC time. An optional Go duration string offsets the
    result, e.g. {{ (now "-720h").Format "2006-01-02T15:04:05Z07:00" }}
    for 30 days ago.
    
    This allows integration test mock configs to produce timestamps
    relative to the current time instead of hardcoding dates that
    eventually age past time-windowed queries.
    efd6 committed Jun 17, 2026
    Configuration menu
    Copy the full SHA
    1f454ef View commit details
    Browse the repository at this point in the history
Loading