diff --git a/notes.org b/notes.org index 6f45843..db2c1cd 100644 --- a/notes.org +++ b/notes.org @@ -1,13 +1,6 @@ * Tasks - -** TODO Look at why we'd be getting request bodies for GET ips avail - [2023-04-19 Wed] -** TODO Upgrade CRDB to 22.2.7 ** TODO Put together POC for micro-caching RAILS -** TODO Look at "compiling" krakend configs from OpenAPI -** TODO Meeting with DevRel to talk about Provisioning Failures - - +** DONE Meeting with DevRel to talk about Provisioning Failures Chris: Cluster api - failed provision it shows up with a 403 - moving the project to a new project @@ -32,3 +25,4 @@ Cluster api - failed provision check on rescue and reinstall operations +** TODO Create a ticket to deal with 403s for provisioning failures diff --git a/notes.org_archive b/notes.org_archive index 2c4fc83..77fcf8e 100644 --- a/notes.org_archive +++ b/notes.org_archive @@ -215,3 +215,41 @@ cc817f6e-f56f-4cae-91f2-eb1a85049847 :ARCHIVE_CATEGORY: notes :ARCHIVE_TODO: DONE :END: + +* DONE Audit Spot Market Bids +:PROPERTIES: +:ARCHIVE_TIME: 2023-05-10 Wed 16:03 +:ARCHIVE_FILE: ~/notes/org-notes/notes.org +:ARCHIVE_OLPATH: Tasks +:ARCHIVE_CATEGORY: notes +:ARCHIVE_TODO: DONE +:END: + +#+begin_src sql :name max_bids per facility +SELECT p.slug, array_agg(f.code), array_agg(cl.max_allowed_bid) +FROM capacity_levels cl +JOIN plans p ON cl.plan_id = p.id +JOIN facilities f ON cl.facility_id = f.id +JOIN metros m ON f.metro_id = m.id +GROUP BY p.slug +ORDER BY p.slug ASC; +#+end_src + +#+begin_src sql :name checking for distinct prices + +SELECT cl.plan_id, cl.max_allowed_bid, COUNT(DISTINCT cl.max_allowed_bid) +FROM capacity_levels cl +WHERE cl.deleted_at < 'January 1, 1970' +GROUP BY plan_id, max_allowed_bid; +#+end_src + +Results [[file:capacity_levels_pricing.csv][capacity_levels_pricing.csv]] + +* DONE Upgrade CRDB to 22.2.7 +:PROPERTIES: +:ARCHIVE_TIME: 2023-05-10 Wed 16:03 +:ARCHIVE_FILE: ~/notes/org-notes/notes.org +:ARCHIVE_OLPATH: Tasks +:ARCHIVE_CATEGORY: notes +:ARCHIVE_TODO: DONE +:END: