Conversation
rename_sentry_bin_in_help_output already receives the help output as $1, but it ran the container again with its own arguments, passing the whole help text as the command. The bash entrypoint echoed that argument in its error message, so the help text still appeared by accident; the Python entrypoint in the current sentry image doesn't, so --help printed only a traceback.
Member
Author
|
Folded into #4536. |
Coverage Results 📊✅ 17 passed | ⏭️ 5 skipped | Total: 22 | Pass Rate: 77.27% | Execution Time: 8m 0s 📊 Comparison with Base Branch
✨ Test counts unchanged from base. All tests are passing successfully. ✅ Patch coverage is 100.00% (no changed executable lines found; target 50%). Coverage diff@@ Coverage Diff @@
## master #4537 +/-##
==========================================
Coverage 82.44% 82.44% —%
==========================================
Files 5 5 —
Tracked lines 336 336 —
Branches 0 0 —
==========================================
Hits 277 277 —
Misses 59 59 —
Partials 0 0 —Generated by Coverage Action |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
rename_sentry_bin_in_help_outputalready receives the help output as$1, but it ran the container a second time with its own arguments, so the whole help text was passed as the command. The old bash entrypoint echoed that argument in itsexecerror, so the help still showed up by accident. The sentry image's new Python entrypoint (getsentry/sentry#125892) doesn't, so./sentry-admin.sh --helpon:nightlyprints only a traceback andtest_sentry_adminfails. This also makes--helpstart one container instead of two.Unblocks #4536, and self-hosted master's scheduled tests now that
:nightlyincludes #125892.