Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
74d505f
go client - initial commit
georgekutty-1 Mar 9, 2026
cfe96a0
go client implementation
georgekutty-1 Mar 9, 2026
d8bc193
github workflows
georgekutty-1 Mar 9, 2026
ad4242f
Update main.go
georgekutty-1 Mar 9, 2026
129e303
dependency version update
georgekutty-1 Mar 9, 2026
78384c5
workflow update
georgekutty-1 Mar 9, 2026
5479a98
fix: resolve linting issues by excluding typecheck from test files
georgekutty-1 Mar 9, 2026
dc05d07
fix: update CI to use Go 1.23 only
georgekutty-1 Mar 9, 2026
969cd94
fix: resolve CI issues - remove lint job and fix race conditions
georgekutty-1 Mar 9, 2026
932c2a0
Update .golangci.yml
georgekutty-1 Mar 9, 2026
eda320f
Update ci.yml
georgekutty-1 Mar 9, 2026
ab18fb1
fix: remove lint from CI and release workflows
georgekutty-1 Mar 9, 2026
570534c
fix: remove deprecated godoc documentation generation from release wo…
georgekutty-1 Mar 10, 2026
2554273
code clean up
georgekutty-1 Mar 16, 2026
e836b11
folder restructuring
georgekutty-1 Mar 16, 2026
43926c0
code clean up
georgekutty-1 Mar 18, 2026
bb110aa
code refactoring
georgekutty-1 Mar 18, 2026
97a5268
documentation update
georgekutty-1 Mar 19, 2026
c85a7e0
ci/cd github action update
georgekutty-1 Mar 23, 2026
475cb77
sonar update and test file creation
georgekutty-1 Mar 23, 2026
e93dadd
ci cd updates
georgekutty-1 Mar 23, 2026
6641e8a
ci cd updates
georgekutty-1 Mar 23, 2026
9d5143e
Update pre-commit-check.sh
georgekutty-1 Mar 23, 2026
fdd3a36
website monitoring update
georgekutty-1 Mar 23, 2026
d519afe
test case update
georgekutty-1 Mar 25, 2026
c535693
test coverage update
georgekutty-1 Mar 26, 2026
9914c29
code cleanup
georgekutty-1 Mar 30, 2026
f4020a0
Buf fixes
Apr 6, 2026
1ea877a
mobile app config resource
georgekutty-1 Apr 6, 2026
4915453
code clean up
georgekutty-1 Apr 6, 2026
016b7f9
github action update
georgekutty-1 Apr 6, 2026
15b1fd8
github action update
georgekutty-1 Apr 6, 2026
620f7c2
github action update
georgekutty-1 Apr 6, 2026
8c07c6a
Update .golangci.yml
georgekutty-1 Apr 6, 2026
0676ffe
Update ci.yml
georgekutty-1 Apr 6, 2026
c09847f
Update ci.yml
georgekutty-1 Apr 6, 2026
fcd450f
Create pull_request_template.md
georgekutty-1 Apr 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
## Checklist
- [ ] I verified the changes locally
- [ ] I added or updated tests if needed
- [ ] I updated documentation if needed
- [ ] I added user-friendly change details below
- [ ] I selected the correct change type below

## Summary
<!-- Short summary of the PR -->

## Description
<!-- More context about what changed and why -->

## Changes
<!--
This section will be used to populate CHANGELOG.md.
Write user-friendly release-note style entries that clearly describe the impact for users.
Uncomment the relevant bullets and add details.
-->

### Enhancements
<!-- Uncomment and fill in if applicable -->
<!-- - Added support for ... -->
<!-- - Improved ... -->

### Bug Fixes
<!-- Uncomment and fill in if applicable -->
<!-- - Fixed ... -->
<!-- - Resolved ... -->
153 changes: 153 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
name: Instana Go Client CI

on:
push:
branches: [ main, develop, go-client ]
pull_request:
branches: [ main, develop, go-client ]
workflow_dispatch:

jobs:
lint:
name: Lint
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.23'

- name: Run golangci-lint
uses: golangci/golangci-lint-action@v8
with:
version: v2.1.0
args: --timeout=5m

- name: Check code formatting
run: |
if [ -n "$(gofmt -l .)" ]; then
echo "❌ Code is not formatted"
gofmt -l .
exit 1
fi
echo "✅ Code is properly formatted"

test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
go-version: ['1.23'] # Only test minimum required version from go.mod

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}

- name: Cache Go modules
uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-${{ matrix.go-version }}-

- name: Download dependencies
run: go mod download

- name: Verify dependencies
run: go mod verify

- name: Run tests
shell: bash
run: go test -v -race ./...

build:
name: Build
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.23'

- name: Build
run: go build -v ./...

- name: Verify go.mod and go.sum
run: |
go mod tidy
if [ -n "$(git diff go.mod go.sum)" ]; then
echo "❌ go.mod or go.sum is not tidy"
git diff go.mod go.sum
exit 1
fi
echo "✅ go.mod and go.sum are tidy"

coverage-report:
name: Coverage Report
runs-on: ubuntu-latest
needs: test

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.23'

- name: Generate coverage report
shell: bash
run: |
go test -coverprofile=coverage.out -covermode=atomic ./...
go tool cover -html=coverage.out -o coverage.html
COVERAGE=$(go tool cover -func=coverage.out | grep total | awk '{print $3}')
echo "Coverage: ${COVERAGE}"

- name: Upload coverage report
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: ./coverage.html

notify:
name: Notify
runs-on: ubuntu-latest
needs: [lint, test, build, coverage-report]
if: always()

steps:
- name: Check job status
run: |
if [ "${{ needs.lint.result }}" == "failure" ] || \
[ "${{ needs.test.result }}" == "failure" ] || \
[ "${{ needs.build.result }}" == "failure" ] || \
[ "${{ needs.coverage-report.result }}" == "failure" ]; then
echo "❌ CI pipeline failed"
echo "Lint: ${{ needs.lint.result }}"
echo "Test: ${{ needs.test.result }}"
echo "Build: ${{ needs.build.result }}"
echo "Coverage: ${{ needs.coverage-report.result }}"
exit 1
else
echo "✅ CI pipeline passed"
fi


Loading
Loading