Files
tasks/docs/_assets/matching-context.d2
Yichao YangandGitHub 8247bbb3d9 Fix workflow lifecycle and matching doc diagrams (#9210)
## What changed?
- Fix issues in architecture doc diagrams

## Why?
- Fix issues in architecture doc diagrams

## How did you test it?
- [x] built
- [ ] run locally and tested manually
- [ ] covered by existing tests
- [ ] added new unit test(s)
- [ ] added new functional test(s)
2026-02-06 22:47:04 -08:00

62 lines
1.3 KiB
Plaintext

# https://d2lang.com
# Generate SVG by running `make` inside of `docs/`.
Cluster: {
grid-rows: 2
vertical-gap: 10
label: "Temporal Cluster"
style.fill: transparent
style.stroke-dash: 3
style.double-border: false
Server: {
grid-columns: 3
horizontal-gap: 120
style.fill: transparent
style.stroke-dash: 3
History: {
style.multiple: true
}
Matching: {
style.multiple: true
}
Frontend: {
style.multiple: true
}
}
Database: {
label: ""
style.opacity: 0
grid-columns: 3
horizontal-gap: 120
vertical-gap: 10
placeho1.style.opacity: 0 # hack to align Database
Database: {
label: "Database"
style.border-radius: 100
}
}
}
Outside: {
grid-rows: 2
vertical-gap: 10
horizontal-gap: 20
style.opacity: 0
Worker: {
style.multiple: true
}
placeho.style.opacity: 0 # hack to align Worker
}
Outside.Worker -> Cluster.Server.Frontend: Poll Tasks
Cluster.Server.Frontend -> Cluster.Server.Matching: Poll Tasks
Cluster.Server.History <-> Cluster.Server.Matching: Add Tasks \n Record Start
Cluster.Server.Matching <-> Cluster.Database.Database