Skip to content

Commit dbb9dc1

Browse files
committed
ci: drop Dokploy webhook from release, rely on autodeploy
Dokploy autodeploys code.pythinker.com on every push to main and the site image builds entirely from repo contents, so the release-time webhook was a redundant second build and the only step that could fail the release on a transient network error (exit 28 on 0.5.0). The job now only runs verify-release-consistency.
1 parent c852e7d commit dbb9dc1

3 files changed

Lines changed: 13 additions & 15 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,12 @@ jobs:
7272
env:
7373
CHANGESETS_PUBLISHED_PACKAGES: ${{ steps.changesets.outputs.publishedPackages }}
7474

75-
deploy-cdn:
76-
name: Redeploy code.pythinker.com
75+
# code.pythinker.com redeploys via Dokploy autodeploy on push to main
76+
# (app Pythinker/code builds apps/site/Dockerfile from the repo, no npm
77+
# registry dependency), so no deploy webhook is fired here — this job only
78+
# verifies the published release is internally consistent.
79+
verify-cdn-release:
80+
name: Verify release consistency
7781
needs: release
7882
if: needs.release.outputs.packages_published == 'true'
7983
runs-on: ubuntu-latest
@@ -91,18 +95,6 @@ jobs:
9195
- name: Verify release consistency
9296
run: node scripts/release/verify-release-consistency.mjs
9397

94-
- name: Trigger Dokploy deploy webhook
95-
env:
96-
WEBHOOK: ${{ secrets.DOKPLOY_CDN_DEPLOY_WEBHOOK }}
97-
run: |
98-
if [ -z "$WEBHOOK" ]; then
99-
echo "DOKPLOY_CDN_DEPLOY_WEBHOOK secret not set — skipping CDN redeploy" >&2
100-
exit 0
101-
fi
102-
# Dokploy can be slow to accept the hook right after a release;
103-
# retry through transient timeouts (exit 28) instead of failing.
104-
curl -fsS -X POST "$WEBHOOK" --max-time 30 --retry 5 --retry-all-errors --retry-delay 10
105-
10698
update-brew-tap:
10799
name: Update Homebrew tap
108100
needs: release

apps/pythinker-code/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
55
[![npm](https://img.shields.io/npm/v/@pythoughts/pythinker-code)](https://www.npmjs.com/package/@pythoughts/pythinker-code) [![License](https://img.shields.io/badge/license-MIT-blue)](LICENSE) [![Docs](https://img.shields.io/badge/docs-online-blue)](https://pythoughts-labs.github.io/pythinker-code/)
66

7+
<p align="center">
8+
<img src="https://raw.githubusercontent.com/Pythoughts-labs/pythinker-code/main/docs/media/init.webp" alt="Pythinker Code terminal demo" width="860">
9+
</p>
10+
711
## What is Pythinker Code CLI
812

913
Pythinker Code CLI is an AI coding agent that runs in your terminal. It can read and edit code, run shell commands, search files, fetch web pages, and choose the next step based on the feedback it receives. It works out of the box with Pythoughts's Pythinker models and can also be configured to use other compatible providers.

apps/pythinker-code/test/cli/telemetry.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,9 @@ describe('initializeServerTelemetry', () => {
5757
});
5858
});
5959

60-
it('configures the sink with ui_mode="web" and the CLI product identity', async () => {
60+
// 30s: the dynamic import stalls well past the 5s default when the full
61+
// suite saturates the machine (local-under-load x6 sizing rule).
62+
it('configures the sink with ui_mode="web" and the CLI product identity', { timeout: 30_000 }, async () => {
6163
const { initializeServerTelemetry } = await import('#/cli/telemetry');
6264
const client = initializeServerTelemetry({ version: '1.2.3' });
6365

0 commit comments

Comments
 (0)