Ruben Langeweg
Ruben Langeweg
Adding some colour for the conversation on why the "deploy one instance per org" suggestion from #346 doesn't hold up for the agency case. We're an agency: our own code...
Before working on this one, lets land the following PRs - https://github.com/ColeMurray/background-agents/pull/836 - https://github.com/ColeMurray/background-agents/pull/850
> Keep the OAuth state TTL source-of-truth in milliseconds. Addressed: OAuth state now uses `OAUTH_STATE_TTL_MS`; KV TTL values are kept as millisecond constants and converted at the write boundary. >...
> `OAUTH_STATE_TTL_SECONDS` bakes seconds into a TypeScript constant. Addressed: OAuth state now uses `OAUTH_STATE_TTL_MS`; KV TTLs are converted to seconds only at the `expirationTtl` boundary. The OAuth state flow is...
Addressed the CodeRabbit pass in 1da9e206. Covered: - scoped stale webhook timestamp rejection to auth-health webhooks - added leased notification attempts and strict current-attempt completion - replaced KV-backed OAuth state...
> Stop restating the lease/TTL defaults as raw millisecond math. Addressed in `c68990e`: exported the Linear auth notification lease and OAuth state TTL constants from `kv-store.ts`, and updated `kv-store.test.ts` to...
1. a removed team no longer bricks the whole workspace. 2. trimming tests to what is actually needed.
addressed the earlier #864 feedback around linear fallback comments. removed the auth-failure comment from this PR as well. pr description is also updated.
@jeffreylanters implemented it today and will do some extended testing during the week. Will report back later :)
hey @muddlebee , > for now, this implementation is not planned. if needed we will pick this up in future on need basis. it would be nice to see incident.io...