Owen
be3877a3ce
Rename for clarity
2026-06-24 18:36:01 -04:00
Owen
79de64dc07
Fix removing site not removing peer
2026-06-24 18:36:01 -04:00
miloschwartz
4eba51de72
support delete resources associated with site
2026-06-24 17:45:44 -04:00
miloschwartz
6fe4eee336
improve org policy error message responses
2026-06-24 16:32:58 -04:00
Owen
242123b875
Implement non-redis lock
2026-06-24 16:01:05 -04:00
Owen
d303fa05cb
Comment out the sync
2026-06-24 15:50:54 -04:00
Owen
75b87ffba7
Quiet log message
2026-06-24 15:49:51 -04:00
Owen
62fc2edae9
Add logging and fix removing alias
2026-06-24 15:28:46 -04:00
Owen
80b66cf9b9
Add locks to rebuilds
2026-06-24 14:13:11 -04:00
Owen
034bcbd271
Reorg
2026-06-24 11:54:56 -04:00
Owen
bc63747efe
Refactor out transactions and always call rebuild on update
2026-06-23 18:12:51 -04:00
Owen
7731849a2f
Standardize db rebuildClientAssociationsFromClient
2026-06-23 17:14:40 -04:00
Owen
c11d24e10a
Standardize db rebuildClientAssociationsFromClient
2026-06-23 17:14:40 -04:00
Owen
a9b7cce49b
Improve efficiency of calculateUserClientsForOrgs
2026-06-23 17:14:40 -04:00
Owen
d78223b94f
Fix import to be private
2026-06-23 17:14:40 -04:00
Owen
f48a4f7bc0
Enforce strick query params
...
Fixes #3313
2026-06-23 12:22:47 -04:00
Owen
ce3c2f7583
Fix #3314
2026-06-23 12:05:47 -04:00
Owen
51c357e6c7
Merge branch 'main' into dev
2026-06-23 11:30:46 -04:00
Owen Schwartz
7ae29612d4
Merge pull request #3302 from RitwijParmar/codex/resource-update-inline-policy-response
...
Fix inline policy fields in resource update response
2026-06-23 08:30:31 -07:00
Owen
da794adb7d
Merge branch 'main' into dev
2026-06-23 11:26:03 -04:00
Owen
8004ae6870
Use the policy when updating rule
...
Fixes #3273
2026-06-23 11:25:53 -04:00
Owen Schwartz
e6f7cd6da9
Merge pull request #3206 from gmpinder/fix-idp-delete
...
fix: Add DELETE /idp/{idpId} to integration API
2026-06-22 14:01:47 -07:00
Owen
1b634955d8
Merge branch 'refactor/show-if-client-needs-update' of github.com:Fredkiss3/pangolin into dev
2026-06-22 16:58:50 -04:00
Fred KISSIE
5dc3ae4c7f
♻️ sites & clients should not get latest versions on the server
2026-06-22 16:57:45 -04:00
Owen
c3820a4e70
Add missing queuing
2026-06-22 16:47:52 -04:00
Owen
6b56c00782
Pull the listing out of the queue
2026-06-22 15:24:31 -04:00
Owen
60c1b572ba
Add drizzle indexes to match db
2026-06-22 15:12:07 -04:00
Owen
604dee9aa5
Batch get olm ids
2026-06-22 15:12:07 -04:00
Owen
ee42846c90
Add batch messaging functions to rebuild function
2026-06-22 15:12:07 -04:00
copilot-swe-agent[bot]
22ac711dc6
refactor: tighten ws batch typing and queue cleanup logging
2026-06-22 15:12:07 -04:00
copilot-swe-agent[bot]
d09668b20b
feat: batch redis ws direct messages and dedupe rebuild queue jobs
2026-06-22 15:12:07 -04:00
Owen
16abe98fd9
Add queue
2026-06-22 15:12:07 -04:00
Josh Voyles
b7081aff11
fix: remove no-op autoFinalizeStatement wrapper and redundant busy_timeout ( #2120 )
...
better-sqlite3 11.x exposes no Statement.finalize() — the wrapper threw and
swallowed a TypeError on every query (verified: 'Statement.finalize exists:
undefined' in the runner image) while adding +122% per-statement overhead
(3.90 -> 8.66 us/op, 200k-op in-container microbench) and freeing nothing.
Statement lifecycle is GC-managed by the driver; drizzle-orm prepares fresh
per query, so nothing accumulates unbounded.
busy_timeout=5000 duplicates better-sqlite3's default timeout option, which
already arms sqlite3_busy_timeout(db, 5000) at open (lib/database.js).
With ENABLE_SQLITE_WAL_MODE unset the driver is now runtime-identical to
pre-1.18.3 (zero pragmas). The env-gated WAL block stays: journal_mode is
sticky in the DB file, so removing it would strand opted-in databases on
WAL+synchronous=FULL.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-06-22 15:11:51 -04:00
Josh Voyles
a55fb21e53
fix(sqlite): remove cache_size and mmap_size PRAGMAs ( #2120 )
...
A 64 MB page cache plus a 256 MB memory-mapped region inflate RSS and
cause page-cache thrashing on small (~1 GB) instances. The PRAGMAs were
added to reduce event-loop blocking on TraefikConfigManager JOINs but
the memory cost outweighs the I/O benefit on the deployment shapes that
hit #2120 . Leave SQLite on its conservative defaults.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com >
2026-06-22 15:11:51 -04:00
copilot-swe-agent[bot]
e5e7b79712
test: add normalized ASN validation coverage
2026-06-22 15:11:51 -04:00
copilot-swe-agent[bot]
de48a0529e
refactor: normalize ASN validation value once
2026-06-22 15:11:51 -04:00
copilot-swe-agent[bot]
3f37408dae
fix: allow ALL ASN values in policy rule validation
2026-06-22 15:11:51 -04:00
Owen
476d92b3ac
Convert things to regional cache
2026-06-22 15:11:51 -04:00
Owen
bf604f25e9
Show the input validation in the error report
2026-06-22 15:11:50 -04:00
Owen Schwartz
62c7e0a13e
Merge pull request #3251 from kshitijshresth/fix-path-rule-regex-escaping
...
Fix unescaped regex metacharacters in PATH rule matching causing request failures
2026-06-22 07:40:00 -07:00
Ritwij Aryan Parmar
95c3f74a33
Fix inline policy fields in resource update response
2026-06-17 14:36:34 -04:00
miloschwartz
a6568692b7
force set supporter status to true in server info endpoint
2026-06-14 14:40:37 -07:00
Owen
70bc4c0b30
Remove the path rewrite from the next route
2026-06-14 14:30:16 -07:00
Owen
ea1badf4e0
Add middleware for rewriting host headers
2026-06-14 12:04:02 -07:00
Owen
4435a669a6
Fill in missing ui urls from the passed params
2026-06-14 11:35:27 -07:00
Owen
90eceb457a
Clean up url passing
2026-06-14 11:10:05 -07:00
Owen
f39cbc9bf4
Add same signature to oss
2026-06-14 11:03:14 -07:00
Owen
50da863bb7
Add maintence page support for remote nodes
2026-06-13 21:45:52 -07:00
Owen
c6ddd5c402
Open up holepunch requirements
2026-06-13 14:14:34 -07:00
Owen
0fb5ace9c7
Support the browser gateways on the remote nodes
2026-06-13 14:08:03 -07:00