Commit aba8939
authored
fix(slack): bump command processor memory to 512 MB (#233)
Closes #231.
The command processor was running at the CDK default of 128 MB and
OOMing during module init. Symptom: @bgagent mentions in Slack got the
👀 reaction (receiver acked the event) but never the follow-up
acknowledgement — the processor crashed before doing anything.
CloudWatch logs:
INIT_REPORT ... Phase: init Status: error Error Type: Runtime.OutOfMemory
REPORT ... Memory Size: 128 MB Max Memory Used: 127 MB
Cause: createTaskCore's transitive dependency graph (Cedar engine,
attachment-screening, related deps) grew past the 128 MB module-init
ceiling. The Slack processor imports createTaskCore so it loads the
whole graph even on hot paths that never use attachments.
The Linear webhook processor hit the same pattern earlier and was
bumped in d843540. Slack's processor was never explicitly sized so
it stayed at the default until the bundle finally crossed 128 MB.
Followup #232 tracks the deeper fix (lazy-load attachment/Cedar deps
in createTaskCore so processors don't need 512 MB).1 parent 5c38092 commit aba8939
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
241 | 245 | | |
242 | 246 | | |
243 | 247 | | |
244 | 248 | | |
245 | 249 | | |
246 | 250 | | |
| 251 | + | |
247 | 252 | | |
248 | 253 | | |
249 | 254 | | |
| |||
0 commit comments