You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by "pkliczewski (via GitHub)" <gi...@apache.org> on 2025/09/02 13:38:38 UTC
[I] Using sleep removes token from workflow context [incubator-kie-kogito-runtimes]
pkliczewski opened a new issue, #4050:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/issues/4050
### Describe the bug
A user reported that when they use sleep in their workflows to wait for a PR (that was created by a previous step) to to get merged - the auth token to call github api is removed from workflow context, and appears as "null".
How reproducible:
Every time workflow is run with sleep based wait on PR merge the token is set to null.
### Expected behavior
_No response_
### Actual behavior
_No response_
### How to Reproduce?
_No response_
### Output of `uname -a` or `ver`
_No response_
### Output of `java -version`
_No response_
### GraalVM version (if different from Java)
_No response_
### Kogito version or git rev (or at least Quarkus version if you are using Kogito via Quarkus platform BOM)
_No response_
### Build tool (ie. output of `mvnw --version` or `gradlew --version`)
_No response_
### Additional information
_No response_
--
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: commits-unsubscribe@kie.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] Using sleep removes token from workflow context when using subflows [incubator-kie-kogito-runtimes]
Posted by "fjtirado (via GitHub)" <gi...@apache.org>.
fjtirado commented on issue #4050:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/issues/4050#issuecomment-3281012141
Sleep does not remove headers for main processes, but when using subprocesss, parent headers are lost
--
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: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] Using sleep removes token from workflow context [incubator-kie-kogito-runtimes]
Posted by "fjtirado (via GitHub)" <gi...@apache.org>.
fjtirado commented on issue #4050:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/issues/4050#issuecomment-3279825764
This is fixed with https://github.com/apache/incubator-kie-kogito-runtimes/issues/3889
Notices that token propagation was intended to work, till recent changes, only for straigh through processes.
--
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: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] Using sleep removes token from workflow context [incubator-kie-kogito-runtimes]
Posted by "fjtirado (via GitHub)" <gi...@apache.org>.
fjtirado closed issue #4050: Using sleep removes token from workflow context
URL: https://github.com/apache/incubator-kie-kogito-runtimes/issues/4050
--
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: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] Using sleep removes token from workflow context when using subflows [incubator-kie-kogito-runtimes]
Posted by "fjtirado (via GitHub)" <gi...@apache.org>.
fjtirado closed issue #4050: Using sleep removes token from workflow context when using subflows
URL: https://github.com/apache/incubator-kie-kogito-runtimes/issues/4050
--
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: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org
Re: [I] Using sleep removes token from workflow context [incubator-kie-kogito-runtimes]
Posted by "pkliczewski (via GitHub)" <gi...@apache.org>.
pkliczewski commented on issue #4050:
URL: https://github.com/apache/incubator-kie-kogito-runtimes/issues/4050#issuecomment-3245393029
The user update that not using sleep as in https://github.com/rhdhorchestrator/orchestrator-demo/blob/main/04_software-template_aap_psql/aap-db-deploy-workflow/src/main/resources/subflows/github-actions.sw.yaml#L73-L74 has the same issue.
--
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: commits-unsubscribe@kie.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org