Skip to content

refactor(cli): remove the legacy exit shim and enforce it in CI#491

Open
Caesarsage wants to merge 6 commits into
microcks:masterfrom
Caesarsage:pr3/remove-legacy-shim
Open

refactor(cli): remove the legacy exit shim and enforce it in CI#491
Caesarsage wants to merge 6 commits into
microcks:masterfrom
Caesarsage:pr3/remove-legacy-shim

Conversation

@Caesarsage

Copy link
Copy Markdown
Contributor

Part of the Microcks CLI v2 work (#255). Stacked on PR #490.

  • Deletes the now-unused CheckError/CheckConfigNil/Fatal + ErrorGeneric shim from pkg/errors; converts the standalone watcher/ binary to handle errors inline.
  • Adds go test ./... to build-verify.yml (the pipeline previously only built) and a guard step that fails if os.Exit/log.Fatal/panic reappears outside cmd/exit.go.
  • Documents the rule in CONTRIBUTING.md.

Scope

Pure cleanup: nothing referenced the shim after PR #490.

The only process exits left in the tree are the two main entrypoints and cmd.Handle.

Signed-off-by: caesarsage <destinyerhabor6@gmail.com>
Signed-off-by: caesarsage <destinyerhabor6@gmail.com>
Signed-off-by: caesarsage <destinyerhabor6@gmail.com>
Signed-off-by: caesarsage <destinyerhabor6@gmail.com>
Signed-off-by: caesarsage <destinyerhabor6@gmail.com>
Signed-off-by: caesarsage <destinyerhabor6@gmail.com>
@Caesarsage

Copy link
Copy Markdown
Contributor Author

HOLD til #490 and #489 are review and merged

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