arpitjain099 opened a new pull request, #6999: URL: https://github.com/apache/camel-k/pull/6999
The day-of-week conversion added in `faaa107` refuses Quartz-only values such as `6L`, but the day-of-month field is still copied straight through, so `quartz:trigger?cron=0 0 9 L * ?` yields the schedule `0 9 L * ?`. Quartz reads `L` as the last day of the month and `W` as the nearest weekday, the CronJob parser understands neither, and the operator ends up asking the API server for a CronJob it refuses. Checking that field means the expression has no equivalent, so no CronJob is derived and the Integration runs as a Deployment, which is already what `6L` does today. Validation: - `go test ./pkg/trait/...`: 472 pass, 0 fail. With the three lines reverted to `main`, 470 pass and 2 fail, both of them the new cases, and the package still compiles in that state. - `golangci-lint` v2.14.0, the pinned `LINTER_VERSION`, on `./pkg/trait/...`: 0 issues. Putting a violation back makes it report again, so the run is real. - `gofmt -l`, `go vet ./pkg/trait/...` and `git diff --check` clean. - `L`, `LW`, `15W` and `L-3` are each rejected by the parser CronJob validation uses, while `15`, `1,15`, `1-15` and `1/5` still parse. No CRD field or trait option changed, so nothing generated needs regenerating, and five field expressions keep their current behaviour. _AI-generated with Claude Code on behalf of Arpit Jain (@arpitjain099)._ -- 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]
