Skip to content

Extend Go CLI with edge-safe conversions and automated releases - #1

Merged
hamrezoffic-source merged 6 commits into
mainfrom
copilot/extend-go-cli-with-tests-and-actions
Nov 23, 2026
Merged

hamrezoffic-source merged 6 commits into
mainfrom
copilot/extend-go-cli-with-tests-and-actions

Conversation

@hamrezoffic-source

@hamrezoffic-source hamrezoffic-source commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Adds JSON formatting, JSON/YAML bidirectional conversion, and TCP port checking.
  • Preserves command compatibility and English documentation.
  • Adds edge-case unit/E2E coverage, cross-platform CI builds, and tagged binary releases.

Implementation

  • Detects malformed or trailing JSON and preserves large integers.
  • Rejects ambiguous YAML keys, duplicate mappings, malformed YAML, and non-finite values.
  • Supports file, stdin (-), and existing command aliases.
  • Builds Linux, Windows, and macOS binaries for amd64 and arm64.
devkit json format input.json
devkit json to-yaml input.json
devkit yaml to-json input.yaml
devkit port check example.com 443
Original prompt

Extend this Go CLI with comprehensive end-to-end tests, reliable JSON and YAML edge-case handling, GitHub Actions for testing and cross-platform builds, and an automated release workflow with binaries for Windows, Linux, and macOS. Preserve the existing command interface and English documentation.

@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5fb74632-8167-4a1a-9976-7da026e7cd33
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

hamrezoffic-source and others added 2 commits November 22, 2026 10:40
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
@hamrezoffic-source hamrezoffic-source changed the title [WIP] Add end-to-end tests and automated release workflow for Go CLI Extend Go CLI with edge-safe conversions and automated releases Nov 22, 2026
json.Number values were emitted as quoted YAML strings (1 -> "1"),
so a JSON -> YAML -> JSON round trip silently changed types.
Also fix misleading error messages and a duplicated port-check error.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0183H1i14AVAdwx5KFXBDo7Q
claude and others added 2 commits November 23, 2026 03:18
Go 1.22 binaries lack the LC_UUID load command that current macOS
dyld requires, so the macOS test job aborted before running tests
(also failing on the base branch). go.mod still declares 1.22 as the
minimum language version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0183H1i14AVAdwx5KFXBDo7Q
Keep number types in JSON to YAML conversion
@hamrezoffic-source
hamrezoffic-source marked this pull request as ready for review November 23, 2026 00:19
@hamrezoffic-source
hamrezoffic-source merged commit 650aea8 into main Nov 23, 2026
6 checks passed
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.

3 participants