Skip to content

Commit 0795c58

Browse files
committed
chore: remove go components
Signed-off-by: lucarlig <lucarlig@protonmail.com>
1 parent 3941614 commit 0795c58

153 files changed

Lines changed: 465 additions & 16871 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/docker-scan.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ on:
2323
- 'crates/**'
2424
- 'Cargo.toml'
2525
- 'Cargo.lock'
26-
- 'a2a-agents/go/a2a-echo-agent/**'
2726
- 'mcp-servers/python/python_sandbox_server/docker/**'
2827
- 'docker-compose.yml'
2928
- 'docker-compose-embedded.yml'
@@ -54,10 +53,6 @@ jobs:
5453
fail-fast: false
5554
matrix:
5655
include:
57-
- name: a2a-echo-agent
58-
context: a2a-agents/go/a2a-echo-agent
59-
file: a2a-agents/go/a2a-echo-agent/Dockerfile
60-
tag: mcp-context-forge-a2a-echo-agent:scan
6156
- name: python-sandbox
6257
context: mcp-servers/python/python_sandbox_server
6358
file: mcp-servers/python/python_sandbox_server/docker/Dockerfile.sandbox

.github/workflows/license-check.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,6 @@ jobs:
4040
- name: Install pip-licenses
4141
run: pip install pip-licenses
4242

43-
- uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
44-
with:
45-
go-version: "stable"
46-
47-
- name: Install go-licenses
48-
run: go install github.com/google/go-licenses@latest
49-
5043
- name: Install Rust stable
5144
run: rustup default stable
5245

.github/workflows/linting-full.yml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ on:
66
paths:
77
- ".github/workflows/**"
88
- "charts/**"
9-
- "mcp-servers/**/*.go"
10-
- "mcp-servers/**/go.mod"
11-
- "mcp-servers/**/go.sum"
12-
- "a2a-agents/**/*.go"
13-
- "a2a-agents/**/go.mod"
14-
- "a2a-agents/**/go.sum"
159
- "Makefile"
1610
workflow_dispatch:
1711

@@ -41,16 +35,6 @@ jobs:
4135
with:
4236
python-version: "3.12"
4337

44-
- name: Set up Go
45-
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
46-
with:
47-
go-version: "1.26.4"
48-
cache-dependency-path: |
49-
a2a-agents/go/a2a-echo-agent/go.sum
50-
mcp-servers/go/benchmark-server/go.sum
51-
mcp-servers/go/fast-time-server/go.sum
52-
mcp-servers/go/slow-time-server/go.sum
53-
5438
- name: Install Node.js 22
5539
run: |
5640
sudo apt-get update

.github/workflows/pre-commit.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ jobs:
3131
with:
3232
python-version: "3.12"
3333

34-
- name: Set up Go
35-
uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
36-
with:
37-
go-version: "1.25.x"
38-
3934
- name: Set up uv
4035
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
4136

.github/workflows/wrapper.yml

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
types: [opened, synchronize, reopened]
77
paths:
88
- "crates/wrapper/**"
9-
- "mcp-servers/go/fast-time-server/**"
9+
- "mcp-servers/rust/fast-time-server/**"
1010
- "Cargo.toml"
1111
- "Cargo.lock"
1212
- "rust-toolchain.toml"
@@ -123,40 +123,33 @@ jobs:
123123
-H "Authorization: Bearer ${{ steps.generate_jwt.outputs.token }}" \
124124
-H "Content-Type: application/json"
125125
126-
- name: Setup Go
127-
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
128-
with:
129-
go-version: "1.23"
130-
cache-dependency-path: mcp-servers/go/fast-time-server/go.sum
131-
cache: true
132-
133126
- name: Build fast-time-server
134-
working-directory: mcp-servers/go/fast-time-server
127+
working-directory: mcp-servers/rust/fast-time-server
135128
run: |
136-
go build -o fast-time-server .
137-
chmod +x fast-time-server
129+
cargo build --release
130+
chmod +x target/release/fast-time-server
138131
139132
- name: Start fast-time-server
140133
run: |
141134
pkill -9 -f "fast-time-server" 2>/dev/null || true
142135
sleep 1
143136
144-
nohup mcp-servers/go/fast-time-server/fast-time-server \
145-
-transport=dual -listen=0.0.0.0 -port=8080 -log-level=info \
137+
BIND_ADDRESS=0.0.0.0:8880 RUST_LOG=info \
138+
nohup mcp-servers/rust/fast-time-server/target/release/fast-time-server \
146139
> fast-time-server.log 2>&1 &
147140
echo $! > fast-time-server.pid
148141
149142
echo "Waiting for fast-time-server..."
150143
for i in {1..30}; do
151-
if curl -s http://localhost:8080/health >/dev/null 2>&1; then
144+
if curl -s http://localhost:8880/health >/dev/null 2>&1; then
152145
echo "fast-time-server is up!"
153146
break
154147
fi
155148
echo "Waiting for fast-time-server... (attempt $i)"
156149
sleep 2
157150
done
158151
159-
if ! curl -s http://localhost:8080/health >/dev/null 2>&1; then
152+
if ! curl -s http://localhost:8880/health >/dev/null 2>&1; then
160153
echo "ERROR: fast-time-server failed to start"
161154
cat fast-time-server.log
162155
exit 1
@@ -167,7 +160,7 @@ jobs:
167160
run: |
168161
TOKEN="${{ steps.generate_jwt.outputs.token }}"
169162
170-
if ! curl -s http://localhost:8080/health >/dev/null 2>&1; then
163+
if ! curl -s http://localhost:8880/health >/dev/null 2>&1; then
171164
echo "ERROR: fast-time-server is not running"
172165
cat fast-time-server.log
173166
exit 1
@@ -180,7 +173,7 @@ jobs:
180173
-H "Content-Type: application/json" \
181174
-d '{
182175
"name": "fast_time",
183-
"url": "http://localhost:8080/http",
176+
"url": "http://localhost:8880/mcp",
184177
"transport": "STREAMABLEHTTP"
185178
}')
186179
echo "Gateway response: $GATEWAY_RESPONSE"

0 commit comments

Comments
 (0)