pomerium/internal
Caleb Doxsey 6918bf83cb
databroker: add a wait field to sync request (#5630)
## Summary
Add a new `wait` field to the sync request for the databroker. The
current behavior is to always wait for changes in a never-ending stream
of records, but there are cases where it would be useful to stream the
changes and stop when there are no changes remaining. The storage
backends already support this.

The `wait` field is optional and the default will be to wait, preserving
the existing behavior.

## Related issues
-
[ENG-2401](https://linear.app/pomerium/issue/ENG-2401/enterprise-console-improve-performance-of-directory-sync-using-cached)

## Checklist

- [x] reference any related issues
- [ ] updated unit tests
- [x] add appropriate label (`enhancement`, `bug`, `breaking`,
`dependencies`, `ci`)
- [x] ready for review
2025-05-29 12:50:14 -06:00
..
atomicutil upgrade to go v1.24 (#5562) 2025-04-02 15:53:09 -06:00
authenticateflow multi-domain login redirects (#5564) 2025-04-04 13:14:30 -07:00
autocert logging: standardize on hyphens in attribute names (#5577) 2025-04-22 10:57:19 -07:00
benchmarks upgrade to go v1.24 (#5562) 2025-04-02 15:53:09 -06:00
chanutil
contextkeys
controlplane config: use stable route ids for authorize matching and order xds responses (#5618) 2025-05-19 10:52:15 -06:00
databroker databroker: add a wait field to sync request (#5630) 2025-05-29 12:50:14 -06:00
deterministicecdsa
enabler
encoding
errgrouputil
events
fileutil remove debug log message for directories (#5560) 2025-04-02 10:17:42 -06:00
handlers
hashutil replace xxhash with xxh3 (#5457) 2025-01-31 08:44:08 -07:00
headertemplate add support for pomerium.request.headers for set_request_headers (#5563) 2025-04-07 10:32:03 -06:00
httputil config: use stable route ids for authorize matching and order xds responses (#5618) 2025-05-19 10:52:15 -06:00
jwtutil authorize: support authenticating with idp tokens (#5484) 2025-02-18 13:02:06 -07:00
log config: use stable route ids for authorize matching and order xds responses (#5618) 2025-05-19 10:52:15 -06:00
mcp mcp: add list-routes client helper (#5596) 2025-05-01 15:02:28 -04:00
middleware New tracing system (#5388) 2025-01-21 13:26:32 -05:00
oauth21 mcp: handle and pass upstream oauth2 tokens (#5595) 2025-05-01 12:42:31 -04:00
registry upgrade to go v1.24 (#5562) 2025-04-02 15:53:09 -06:00
retry New tracing system (#5388) 2025-01-21 13:26:32 -05:00
rfc7591 chore(deps): bump the go group across 1 directory with 31 updates (#5608) 2025-05-07 10:04:03 -07:00
scheduler
sessions authorize: return 403 on invalid sessions (#5536) 2025-03-19 14:41:28 -06:00
sets
signal
syncutil
telemetry core: more metrics (#5629) 2025-05-29 09:34:41 -06:00
testenv storage: add sync querier (#5570) 2025-04-23 10:15:48 -06:00
tests/xdserr
testutil chore(deps): bump the go group with 39 updates (#5559) 2025-04-04 16:26:51 -07:00
tripper
urlutil multi-domain login redirects (#5564) 2025-04-04 13:14:30 -07:00
version
zero logging: standardize on hyphens in attribute names (#5577) 2025-04-22 10:57:19 -07:00