xchwan commented on PR #75945:
URL: https://github.com/apache/airflow/pull/75945#issuecomment-7186509938
Thanks for the review. Everything is addressed in a2aa2053a3, f8752737ff and
7fd63d89e1. The branch also
merges current `main`.
- **De-duplication:** the set expansion, the `enableDefault` derivation and
all set validation
live in one helper, `dagProcessor.expandSets` in `_helpers.yaml`. The
Deployment, PDB,
ServiceAccount, SCC RoleBinding and NOTES.txt all use it, so
`triggerer.sets` can reuse it.
- **Default output:** with `sets: []`, the rendered Dag processor
Deployment, ServiceAccount, PDB and
SCC RoleBinding are the same objects as on `main`.
- **Tests:** `test_dag_processor_sets.py` and `test_scc_rolebinding.py` pass
(152), and the full
chart suite passes (2381).
- **kind (Kubernetes v1.31.12):** checked sets-only with one set per bundle,
the default processor
next to sets with PDBs, `Recreate`, a numeric set name, an apostrophe in a
bundle
name, the NOTES warning, render-time failures, Dags from both bundles
running to success, and the
removed-bundle cleanup above. Every Pod had 0 restarts, with one exception
below.
One core issue showed up on a fresh database. When several set processors
start at the same time,
they all insert the configured bundles into `dag_bundle`. The losers fail on
`dag_bundle_pkey`, and
that processor restarts once before it settles. This is not specific to the
chart (any
multi-processor setup that starts together hits it), so I would open a
separate core issue rather
than handle it here.
---
Drafted-by: Claude Code (Opus 5.5); reviewed by `xchwan` before posting
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]