Conversation
SummaryThe following content is AI-generated and provides a summary of the pull request: Refactor: Use Default Import Options from CDS and Remove Manual
|
There was a problem hiding this comment.
The PR is clean overall — the removal of the addServiceToPackageJson logic and its associated tests is well-scoped, and the new ProcessInstanceStatus named type is a good improvement. One substantive issue was found: the unconditional assignment of cds.import.options.process should use ??= to remain consistent with the surrounding initialization pattern and to respect any user-provided overrides.
PR Bot Information
Version: 1.18.4 | 📖 Documentation | 🚨 Create Incident | 💬 Feedback
- Correlation ID:
43eb2760-1e1f-11f1-84ff-42e5f6374749 - Event Trigger:
pull_request.opened - LLM:
anthropic--claude-4.6-sonnet
|
Nevermind, not overruling the other PR. Locally everything works, is there something i need to do wrt to typescript to make this work? Locally i can not even npm run build in tests/bookshop on main because of ts errors: @Kronprinz03 @tilwbr What is the problem here? |
|
Hmm, when i copy the srv/external/...service.cds from main. And i think this change is not due to my import change, because when i checkout main and execute
then the external service gets changed. I think we should always align the workflow file and the generated service. We should add the compilation step maybe in the pipeline to execute the tests against the latest import functionality to ensure a working e2e scenario. Locally, the tests run when i import the process again (with a few changes, that i cant happen to push). |
they are done by the dk automatically
This reverts commit ee083ec.
8745ed0 to
19c38d1
Compare
only needed to do
cds-tsx import --from process ...as all the required options are set by default