Repository navigation
Fix StopLaunch, log errors at ERROR level, refresh README - #20
Merged
Merged
Conversation
…nhance installation instructions, and clarify configuration options
…start - ReportingClient.StopLaunch called a nonexistent /stop endpoint; it now finishes the launch as STOPPED through the v2 finish call and returns *FinishLaunchRS. - main: report fatal errors and panics with slog.Error instead of log.Fatal, which was printed as level=INFO. Name the root command gorp. - e2e: use StopLaunch to clean up launches with running items. - README: quick start section. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
Summary
ReportingClient.StopLaunchcalled a nonexistent/api/v2/{project}/launch/{id}/stopendpoint (404). It now finishes the launch asSTOPPEDvia the v2 finish call. The return type changes from*OperationCompletionRSto*FinishLaunchRS; the old call could never succeed, so only code naming the old type is affected.mainusedlog.Fatal, which slog's default bridge printed aslevel=INFO. Errors and panics are now logged withslog.Errorand exit 1 (quality-gate exit code 10 is unchanged). The root command is namedgorpso--helpmatches the docs.StopLaunchinstead of its own workaround.go installbinary name (goRP, notgorp) and fixes the CI example,--config/GORP_CONFIG, organizations (no config needed), repeatablelaunch list --filter, interrupt behaviour, missing env vars, a Quick start and a Development section; library example usesGetId().Test plan
go test -race -cover ./...,go vet -tags e2e ./...,task lint(0 issues)StopLaunchpathtask e2ecould not run: the configured hostbeta.epmrpp.reportportal.iowas unreachable (connection timeout). Please run it once the host is reachable; it exercisesStopLaunchthrough the cleanup path.🤖 Generated with Claude Code