Skip to content

feat: update dcos about runners - #171

Merged
fiftin merged 1 commit into
mainfrom
feat/wf_survey_vars
Oct 16, 2026
Merged

fiftin merged 1 commit into
mainfrom
feat/wf_survey_vars

Conversation

@fiftin

@fiftin fiftin commented Oct 16, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI balanced review requested due to automatic review settings October 16, 2026 08:07

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The documented configuration does not match the inspected product implementation, and the timeout guidance overstates its guarantees.

2 open findings
What changed in this PR

Updates Semaphore UI’s runner documentation across English and ten translations.

Changes:

  • Changes the documented polling default to 5 seconds.
  • Adds connection-timeout configuration and troubleshooting guidance.
  • Separates job polling from progress reporting and heartbeats.
File Description
i18n/​zh/​docusaurus-plugin-content-docs/​current/​reference/​cli/​runners.md Chinese configuration reference updates.
i18n/​zh/​docusaurus-plugin-content-docs/​current/​admin-guide/​runners.md Chinese polling and timeout guidance.
i18n/​sr/​docusaurus-plugin-content-docs/​current/​reference/​cli/​runners.md Serbian configuration reference updates.
i18n/​sr/​docusaurus-plugin-content-docs/​current/​admin-guide/​runners.md Serbian polling and timeout guidance.
i18n/​ru/​docusaurus-plugin-content-docs/​current/​reference/​cli/​runners.md Russian configuration reference updates.
i18n/​ru/​docusaurus-plugin-content-docs/​current/​admin-guide/​runners.md Russian polling and timeout guidance.
i18n/​pt/​docusaurus-plugin-content-docs/​current/​reference/​cli/​runners.md Portuguese configuration reference updates.
i18n/​pt/​docusaurus-plugin-content-docs/​current/​admin-guide/​runners.md Portuguese polling and timeout guidance.
i18n/​ko/​docusaurus-plugin-content-docs/​current/​reference/​cli/​runners.md Korean configuration reference updates.
i18n/​ko/​docusaurus-plugin-content-docs/​current/​admin-guide/​runners.md Korean polling and timeout guidance.
i18n/​ja/​docusaurus-plugin-content-docs/​current/​reference/​cli/​runners.md Japanese configuration reference updates.
i18n/​ja/​docusaurus-plugin-content-docs/​current/​admin-guide/​runners.md Japanese polling and timeout guidance.
i18n/​it/​docusaurus-plugin-content-docs/​current/​reference/​cli/​runners.md Italian configuration reference updates.
i18n/​it/​docusaurus-plugin-content-docs/​current/​admin-guide/​runners.md Italian polling and timeout guidance.
i18n/​fr/​docusaurus-plugin-content-docs/​current/​reference/​cli/​runners.md French configuration reference updates.
i18n/​fr/​docusaurus-plugin-content-docs/​current/​admin-guide/​runners.md French polling and timeout guidance.
i18n/​es/​docusaurus-plugin-content-docs/​current/​reference/​cli/​runners.md Spanish configuration reference updates.
i18n/​es/​docusaurus-plugin-content-docs/​current/​admin-guide/​runners.md Spanish polling and timeout guidance.
i18n/​de/​docusaurus-plugin-content-docs/​current/​reference/​cli/​runners.md German configuration reference updates.
i18n/​de/​docusaurus-plugin-content-docs/​current/​admin-guide/​runners.md German polling and timeout guidance.
docs/​reference/​configuration.md Updates generated runner configuration entries.
docs/​reference/​cli/​runners.md Updates polling default and adds timeout option.
docs/​admin-guide/​runners.md Explains polling, heartbeats, and timeout configuration.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

| `runner.check_interval_seconds`<br />`SEMAPHORE_RUNNER_CHECK_INTERVAL_SECONDS` | integer<br />Default: `5` | How often the runner polls the server for new jobs. Plain int, not time.Duration, for env-binding simplicity. |
| `runner.connection.server_ca_cert_file`<br />`SEMAPHORE_RUNNER_SERVER_CA_CERT_FILE` | string | PEM bundle used to verify the Semaphore server's certificate, in addition to the system trust store. Set this when the server uses a self-signed or internal-CA cert. |
| `runner.connection.skip_tls_verify`<br />`SEMAPHORE_RUNNER_SKIP_TLS_VERIFY` | boolean | Disables server certificate verification entirely. This is insecure (vulnerable to MITM) — use only for testing. |
| `runner.connection.timeout_seconds`<br />`SEMAPHORE_RUNNER_CONNECTION_TIMEOUT_SECONDS` | integer<br />Default: `3` | Bounds how long a runner→server request may wait for the server to answer: the TCP connect, the TLS handshake and the wait for the response headers each get this budget. Without it a server that accepts the connection but never replies freezes the runner's poll loop — and with it the heartbeat — until the OS gives up. Uploading the request body is deliberately not bounded, so a large log batch on a slow link is not cut off. Plain int, not time.Duration, for env-binding simplicity. |
Comment on lines +201 to +202
The default is 3 seconds. Keep it below `check_interval_seconds` so a stuck
request cannot outlive the poll cycle that started it. Raise it when the runner
@fiftin
fiftin merged commit f9e1749 into main Oct 16, 2026
12 of 13 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.

2 participants