Go to file
Bel LaPointe 04c574ffec f it 2024-04-17 16:58:06 -06:00
model drop URL from Message as it is unfilled and superfluous 2024-04-16 09:13:44 -06:00
testdata/slack_events can parse slack messages from scraping channel history too 2024-04-15 07:34:21 -06:00
.gitignore yay ai test fails 2024-04-12 16:31:23 -06:00
.message.go tests run and fail again 2024-04-16 06:52:07 -06:00
.report.go f sql jeez 2024-04-15 13:08:21 -06:00
.report.tmpl ok report still botched but im werkin on it 2024-04-15 16:13:31 -06:00
.report_test.go f sql jeez 2024-04-15 13:08:21 -06:00
README.md oh yeah one big todo 2024-04-16 11:03:14 -06:00
ai.go revive ai, config*.go 2024-04-15 15:49:48 -06:00
ai_test.go t.Parallel pls 2024-04-15 16:35:51 -06:00
config.go test and update asset pattern to catch ip addresses 2024-04-17 03:58:43 -06:00
config_test.go t.Parallel pls 2024-04-15 16:35:51 -06:00
driver.go found running locally that i dont need rest, pipeline needs a way to drop messages as garbage 2024-04-16 07:56:54 -06:00
driver_integration_test.go pg passing mvp test with queue 2024-04-16 08:53:09 -06:00
driver_test.go t.Parallel pls 2024-04-15 16:35:51 -06:00
go.mod save what i need from old .Message 2024-04-16 07:05:30 -06:00
go.sum save what i need from old .Message 2024-04-16 07:05:30 -06:00
main.go f it 2024-04-17 16:58:06 -06:00
main_test.go found running locally that i dont need rest, pipeline needs a way to drop messages as garbage 2024-04-16 07:56:54 -06:00
persistence.go oof string != byte arr got it 2024-04-16 08:08:47 -06:00
persistence_test.go model to persist pipeline tests OK 2024-04-16 07:29:42 -06:00
pipeline.go found running locally that i dont need rest, pipeline needs a way to drop messages as garbage 2024-04-16 07:56:54 -06:00
pipeline_test.go found running locally that i dont need rest, pipeline needs a way to drop messages as garbage 2024-04-16 07:56:54 -06:00
queue.go do not cry to me 2024-04-16 15:08:21 -06:00
queue_test.go t.Parallel pls 2024-04-15 16:35:51 -06:00
slack.go test and update asset pattern to catch ip addresses 2024-04-17 03:58:43 -06:00
slack_test.go test and update asset pattern to catch ip addresses 2024-04-17 03:58:43 -06:00
storage.go i am capped at 9args per a bug somewhere between pq and postgres but heck if i care 2024-04-16 09:06:32 -06:00
storage_test.go drop URL from Message as it is unfilled and superfluous 2024-04-16 09:13:44 -06:00

README.md

Spoc Bot v. Render

Thank you, Sean

TODO

  • dedupe critical+noncritical
  • what SLO/SLI can I help benoit with
  • break into smaller goals
  • sell to the team
  • scott; like to keep state in incident.io and zendesk
  • @spoc -ignore, @spoc -s summary
  • limit rps from rpc/slackscrape
  • rpc/slackscrape to async
  • limit queue retries
erDiagram
%% thread event eventName
  EVENT ||--|{ THREAD: "spawns"
  THREAD ||--|{ MESSAGE: "populated by"

  MESSAGE {
    ID str
    URL str
    TS number
    Plaintext str
  }
  THREAD {
    ID str
    URL str
    Channel str
  }
  EVENT {
    ID str
    Name str
    Asset str
    Resolved bool
    Datacenter str
  }