Commit graph

81 commits

Author SHA1 Message Date
Grant Limberg
ccb9a45d21
Remove extra verbose logging from controller 2026-01-23 11:53:06 -08:00
Grant Limberg
50daf9537b
controller build readme update 2025-11-11 18:40:58 -08:00
Grant Limberg
5c27068b80
Enable cross-service propagation of otel trace metadata 2025-10-30 13:47:50 +01:00
Grant Limberg
30c4484731
Set ordering key on pubsub message publishing. 2025-10-27 11:01:36 +01:00
Grant Limberg
c21ff23477
Added some more logging to the ctl around deauths 2025-10-27 09:44:36 +01:00
Grant Limberg
76ba89060b
ensure change source is controller if otherwise unset 2025-10-09 16:29:43 -07:00
Grant Limberg
77aa8c7bf8
missed one 2025-10-09 15:47:34 -07:00
Grant Limberg
bf0fe2c09a
these should be empty json arrays, not just "[]".
Actually these *should* be structs, not filling out json.  Adding this to the tech debt backlog
2025-10-09 15:39:40 -07:00
Grant Limberg
19ccc98f91
more variations on checking json 2025-10-09 15:28:48 -07:00
Grant Limberg
e3f65ff359
compiler fix 2025-10-09 15:02:16 -07:00
Grant Limberg
47367673f9
more robustifying incoming messages 2025-10-09 14:47:25 -07:00
Grant Limberg
46a8cd7b67
robustify the handling of tags/capabilities/rules which are strings of encoded json 2025-10-09 14:39:46 -07:00
Grant Limberg
946d96f482
dont NACK failed messages. That gets us into a loop of failing the same messages over and over again 2025-10-09 14:34:24 -07:00
Grant Limberg
6b74bf289a
fix assign mode json 2025-10-06 15:10:42 -07:00
Grant Limberg
fe221b9359
debug output for IP addressing & fixing order of operations in a couple of places. Only send notification of a change to pubsub after it's been written to the DB 2025-10-06 14:24:57 -07:00
Grant Limberg
6df7366753
no need for these timeouts 2025-10-02 16:00:08 -07:00
Grant Limberg
1ef7ea0fe6
Fixing more JSON issues 2025-10-02 15:04:57 -07:00
Grant Limberg
18714c7785
add explicit nack if there's an error processing a pubsub message 2025-10-02 11:56:44 -07:00
Grant Limberg
a75d06ad64
cleaning up some gross JSON code 2025-10-02 11:35:03 -07:00
Grant Limberg
4861b7df1e
one last json parsing fix. but really this time 2025-10-01 17:18:31 -07:00
Grant Limberg
0d21250b62
one last json parsing fix 2025-10-01 16:33:17 -07:00
Grant Limberg
3bbf194594
pubsub writer should work now 2025-10-01 16:25:27 -07:00
Grant Limberg
fb75369597
throwing stuff at the wall cuz I can't actually debug this right now 2025-10-01 16:08:06 -07:00
Grant Limberg
a8b5c89efa
think this is where things are crashing, but I'm not sure why yet. Comment it out to make sure 2025-10-01 15:05:34 -07:00
Grant Limberg
80f82132dd
fix tags/capabilities? 2025-10-01 14:00:17 -07:00
Grant Limberg
7faf705e10
make the default an empty array here 2025-10-01 13:33:02 -07:00
Grant Limberg
1f557b516f
more debug output 2025-10-01 13:30:25 -07:00
Grant Limberg
aecd7fdace
more logging 2025-10-01 13:13:58 -07:00
Grant Limberg
dad1a1eda6
more logging 2025-10-01 13:12:45 -07:00
Grant Limberg
f028213c7f
debug output 2025-10-01 12:40:50 -07:00
Grant Limberg
b4f018b918
debug output from parsing pubsub messages 2025-10-01 09:07:08 -07:00
Grant Limberg
20a67ab1de
fix attempted null -> string conversion 2025-10-01 08:06:40 -07:00
Grant Limberg
02908e5202 stray ` got in there 2025-09-30 10:52:00 -07:00
Grant Limberg
97d20a1155 more logging for errors on pubsub listener 2025-09-30 10:32:21 -07:00
Grant Limberg
315bf240fc json field fix 2025-09-25 16:34:08 -07:00
Grant Limberg
c6b7c263d2 query fix for new networks 2025-09-25 16:09:57 -07:00
Grant Limberg
e51e516f85 fix subscription creation 2025-09-25 15:38:28 -07:00
Grant Limberg
069d7c1862 set objtype on messages received via PubSub 2025-09-25 15:14:30 -07:00
Grant Limberg
6196e87303 only create the subscription if pubsub emulator is being used. 2025-09-22 16:32:28 -07:00
Grant Limberg
d96d3b27d2 try making the controller attach to an existing pubsub subscription if it already exists 2025-09-22 10:52:06 -07:00
Grant Limberg
6113bad61e make pubsub topics configurable
Also for pubsub trips back to CV1/CV2, rather than having 2 queues for each service (networks & members), theres now only a single queue for each change type, and `frontend = (cv1|cv2)` attribute is set on the message for filtering.
2025-09-18 09:33:04 -07:00
Grant Limberg
493cc4fe4f fix version string 2025-09-10 08:13:56 -07:00
Grant Limberg
7aa451bec1 clean up deprecation warnings in pqxx 2025-09-10 07:43:21 -07:00
Grant Limberg
012443acfa wire up pubsub notifications from controller to frontend 2025-09-08 16:01:50 -07:00
Grant Limberg
ee87eb3101 removing some log output 2025-09-08 11:34:03 -07:00
Grant Limberg
facca364fb only update os, architecture and client version if they've changed (or don't exist) 2025-09-08 11:00:17 -07:00
Grant Limberg
1d65c1e43e back to bulk apply for status updates in BigTable 2025-09-08 10:50:10 -07:00
Grant Limberg
1ba4ccd98d pass version info to status writer 2025-09-08 10:46:01 -07:00
Grant Limberg
934aa93ef8 forgot a ; 2025-09-08 10:32:57 -07:00
Grant Limberg
88f08fa58c append 8 random hex chars to the subscription id 2025-09-08 10:29:30 -07:00