Skip to content

Fix StopLaunch, log errors at ERROR level, refresh README - #20

Merged
avarabyeu merged 2 commits into
masterfrom
fix/stop-launch-error-level-readme
Nov 23, 2026
Merged

avarabyeu merged 2 commits into
masterfrom
fix/stop-launch-error-level-readme

Conversation

@avarabyeu

Copy link
Copy Markdown
Member

Summary

  • ReportingClient.StopLaunch called a nonexistent /api/v2/{project}/launch/{id}/stop endpoint (404). It now finishes the launch as STOPPED via the v2 finish call. The return type changes from *OperationCompletionRS to *FinishLaunchRS; the old call could never succeed, so only code naming the old type is affected.
  • Error output: main used log.Fatal, which slog's default bridge printed as level=INFO. Errors and panics are now logged with slog.Error and exit 1 (quality-gate exit code 10 is unchanged). The root command is named gorp so --help matches the docs.
  • e2e: the launch cleanup helper uses StopLaunch instead of its own workaround.
  • README: documents the go install binary name (goRP, not gorp) and fixes the CI example, --config/GORP_CONFIG, organizations (no config needed), repeatable launch list --filter, interrupt behaviour, missing env vars, a Quick start and a Development section; library example uses GetId().

Test plan

  • go test -race -cover ./..., go vet -tags e2e ./..., task lint (0 issues)
  • Unit test updated for the new StopLaunch path
  • task e2e could not run: the configured host beta.epmrpp.reportportal.io was unreachable (connection timeout). Please run it once the host is reachable; it exercises StopLaunch through the cleanup path.

🤖 Generated with Claude Code

avarabyeu and others added 2 commits November 20, 2026 11:16
…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>
@avarabyeu
avarabyeu merged commit 0477845 into master Nov 23, 2026
4 checks passed
@avarabyeu
avarabyeu deleted the fix/stop-launch-error-level-readme branch November 23, 2026 14:55
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