det101 opened a new pull request, #18706:
URL: https://github.com/apache/dolphinscheduler/pull/18706

   ## Summary
   
   - Subtask of DSIP-105 (#17937) / closes the worker log masking scope in 
#18588.
   - Extend `SensitiveDataConverter` with per-`taskInstanceId` registration of 
sensitive `prepareParams` plaintext; clear on task finalize to avoid cross-task 
pollution.
   - Wire register/clear in `PhysicalTaskExecutor`; set `taskInstanceId` MDC on 
process stdout and K8s pod log collection so Logback masking applies.
   
   ## Test plan
   
   - [x] `SensitiveDataConverterTest` (register / clear / MDC / sequential & 
parallel isolation) — 10 tests passed
   - [x] `./mvnw -pl dolphinscheduler-worker -am compile -DskipTests` — SUCCESS
   - [ ] Manual: SHELL task with sensitive param that `echo`s the value → task 
log shows `******`
   - [ ] Manual: sequential / parallel tasks with different secrets do not leak 
into each other


-- 
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]

Reply via email to