Go to file
bel 254cb1ec0a yay 2024-04-15 20:43:43 -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
.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 yay 2024-04-15 20:43:43 -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 wip normalize 2024-04-15 17:09:31 -06:00
config_test.go t.Parallel pls 2024-04-15 16:35:51 -06:00
driver.go sql :memory: dont work so make a helper NewTestDriver 2024-04-15 16:34:19 -06:00
driver_test.go t.Parallel pls 2024-04-15 16:35:51 -06:00
go.mod revive message and test slack pipeline parses slack into message 2024-04-15 15:57:56 -06:00
go.sum revive message and test slack pipeline parses slack into message 2024-04-15 15:57:56 -06:00
main.go wip normalize 2024-04-15 17:09:31 -06:00
main_test.go t.Parallel pls 2024-04-15 16:35:51 -06:00
message.go revive message and test slack pipeline parses slack into message 2024-04-15 15:57:56 -06:00
message_test.go t.Parallel pls 2024-04-15 16:35:51 -06:00
normalize.go wip normalize 2024-04-15 17:09:31 -06:00
normalize_test.go wip normalize 2024-04-15 17:09:31 -06:00
persistence.go test message to persistence 2024-04-15 17:00:15 -06:00
persistence_test.go test message to persistence 2024-04-15 17:00:15 -06:00
pipeline.go rename ingest to pipeline 2024-04-15 15:22:23 -06:00
pipeline_test.go t.Parallel pls 2024-04-15 16:35:51 -06:00
queue.go test ingest 2024-04-15 15:18:03 -06:00
queue_test.go t.Parallel pls 2024-04-15 16:35:51 -06:00
slack.go t.Parallel pls 2024-04-15 16:35:51 -06:00
slack_test.go t.Parallel pls 2024-04-15 16:35:51 -06:00

README.md

Spoc Bot v. Render

Thank you, Sean

TODO

  • dedupe multi channels
  • add Team to Message
  • to class design for joins and external tables
  • from sync ingest to ingestQueue that retries a few times so user messages can find parent
  • limit queue retries
  • share postgres with Grafana
  • new dash in Grafana
  • 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
erDiagram
%% thread event channel eventName message
  Event ||--|{ Message: "updates"
  Thread }|--|| Event : "transcribes"
  Channel
  EventName
%%    CUSTOMER }|..|{ DELIVERY-ADDRESS : has
%%    CUSTOMER ||--o{ ORDER : places
%%    CUSTOMER ||--o{ INVOICE : "liable for"
%%    DELIVERY-ADDRESS ||--o{ ORDER : receives
%%    INVOICE ||--|{ ORDER : covers
%%    ORDER ||--|{ ORDER-ITEM : includes
%%    PRODUCT-CATEGORY ||--|{ PRODUCT : contains
%%    PRODUCT ||--o{ ORDER-ITEM : "ordered in"