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: harness/ff-proxy
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: a53e20d
Choose a base ref
...
head repository: harness/ff-proxy
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b491783
Choose a head ref
  • 2 commits
  • 7 files changed
  • 1 contributor

Commits on Jul 10, 2025

  1. feat: [FFM-12441]: Optimise SSE events (#404)

    * feat: [FFM-12441] Optimise SSE events
    
    **What**
    
    - Updates the InventoryRepo so that it stores the version number of resources along with their redis key.
    - When fetching config from Saas, we now compare the version of the new
      resource pulled down with the version stored in the Proxy's inventory.
    If the new version is greater then we'll add it to the list of
    notifications, if it isn't then it will be ignroed and no notifications
    will be sent.
    
    **Why**
    
    - Previously on startup or restart we would send SSE PATCH events for
      all events. This forced SDKs to reach out to the Proxy and ensured
    they had the most recent version incase changes were made in Saas while
    the Proxy was down.
    - Now we'll only send patch events for resources that have actually
      changed while the Proxy was disconnected from Saas.
    
    * update tests
    
    * update tests
    
    * update tests
    
    * run go imports
    jcox250 authored Jul 10, 2025
    2 Configuration menu
    Copy the full SHA
    8798d68 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b491783 View commit details
    Browse the repository at this point in the history
Loading