Commit f471b1d
refactor: remove archiveInPreProcess processor toggle (#7205)
# Description
- Remove Processor.archiveInPreProcess from processor config loading.
- Always store archive jobs during preprocessStage and clear
archivalJobs before downstream processing.
- Simplify pretransformStage to only store event schema jobs.
- Update archival tests and remove the source hydration env override for
the deleted toggle.
## Linear Ticket
PIPE-3195
## Validation
- `gofmt -w processor/processor.go processor/processor_test.go
integration_test/srchydration/src_hydration_test.go`
- `go test ./processor -run TestArchival` passed
- `rg "archiveInPreProcess|Processor\\.archiveInPreProcess"
/workspace/rudder-server` returned no matches (rg exit 1 as expected)
- `go test ./integration_test/srchydration -run TestSrcHydration` was
attempted; see known issue below
## 1 parent 762bc06 commit f471b1d
4 files changed
Lines changed: 346 additions & 385 deletions
File tree
- integration_test/srchydration
- processor
- warehouse/integrations/testhelper
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
549 | 549 | | |
550 | 550 | | |
551 | 551 | | |
552 | | - | |
553 | 552 | | |
554 | 553 | | |
555 | 554 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
204 | 203 | | |
205 | 204 | | |
206 | 205 | | |
| |||
818 | 817 | | |
819 | 818 | | |
820 | 819 | | |
821 | | - | |
822 | 820 | | |
823 | 821 | | |
824 | 822 | | |
| |||
2212 | 2210 | | |
2213 | 2211 | | |
2214 | 2212 | | |
2215 | | - | |
2216 | | - | |
2217 | | - | |
2218 | | - | |
2219 | | - | |
| 2213 | + | |
| 2214 | + | |
2220 | 2215 | | |
| 2216 | + | |
2221 | 2217 | | |
2222 | 2218 | | |
2223 | 2219 | | |
| |||
2258 | 2254 | | |
2259 | 2255 | | |
2260 | 2256 | | |
2261 | | - | |
2262 | | - | |
2263 | | - | |
2264 | | - | |
2265 | | - | |
2266 | | - | |
2267 | | - | |
2268 | | - | |
2269 | | - | |
2270 | | - | |
2271 | | - | |
2272 | | - | |
2273 | | - | |
2274 | | - | |
2275 | | - | |
2276 | | - | |
2277 | | - | |
2278 | | - | |
2279 | | - | |
2280 | | - | |
2281 | | - | |
2282 | | - | |
2283 | | - | |
2284 | | - | |
| 2257 | + | |
| 2258 | + | |
| 2259 | + | |
| 2260 | + | |
| 2261 | + | |
2285 | 2262 | | |
2286 | 2263 | | |
2287 | 2264 | | |
| |||
0 commit comments