Skip to content

refactor: replace bash assertion with Kotlin logic step in bindings server workflow#2335

Closed
krzema12 wants to merge 7 commits into
mainfrom
refactor/kotlin-logic-step
Closed

refactor: replace bash assertion with Kotlin logic step in bindings server workflow#2335
krzema12 wants to merge 7 commits into
mainfrom
refactor/kotlin-logic-step

Conversation

@krzema12
Copy link
Copy Markdown
Member

@krzema12 krzema12 commented Jun 6, 2026

Replace the bash-based failsWithPhraseInLogs approach with a Kotlin logic step using ProcessBuilder for running scripts and asserting on exit codes and error messages inline in Kotlin, eliminating the bash indirection.

…erver workflow

Replace the bash-based failsWithPhraseInLogs approach with a Kotlin
logic step using ProcessBuilder for running scripts and asserting on
exit codes and error messages inline in Kotlin.
@krzema12 krzema12 force-pushed the refactor/kotlin-logic-step branch 2 times, most recently from 4389354 to 03d1222 Compare June 6, 2026 14:03
@krzema12 krzema12 force-pushed the refactor/kotlin-logic-step branch from 03d1222 to 0c417f0 Compare June 6, 2026 14:23
@krzema12 krzema12 force-pushed the refactor/kotlin-logic-step branch from 46a8769 to c6fd9bf Compare June 6, 2026 14:53
@krzema12 krzema12 force-pushed the refactor/kotlin-logic-step branch from c6fd9bf to b98bfb4 Compare June 6, 2026 14:57
krzema12 added 2 commits June 6, 2026 17:02
Kotlin 2.0.0 doesn't support -script flag, and the kotlin command
needs a .kts extension to recognize a file as a script. Write the
inline Kotlin code to /tmp/script.kts via bash heredoc first, then
run kotlin on it.
@krzema12 krzema12 closed this Jun 6, 2026
@krzema12 krzema12 deleted the refactor/kotlin-logic-step branch June 6, 2026 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant