fix(workspace-server): remove duplicate-comment artifact in loadWorkspaceEnv doc #1341

Open
core-devops wants to merge 2 commits from fix/org-helpers-duplicate-comment into main

2 Commits

Author SHA1 Message Date
43f00ddaec docs(runbooks): add Gitea Actions operational quirks reference
Some checks failed
CI / Detect changes (pull_request) Successful in 26s
E2E API Smoke Test / detect-changes (pull_request) Successful in 31s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 41s
E2E Chat / detect-changes (pull_request) Successful in 26s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 23s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 24s
Lint curl status-code capture / Scan workflows for curl status-capture pollution (pull_request) Successful in 23s
lint-continue-on-error-tracking / lint-continue-on-error-tracking (pull_request) Successful in 2m15s
Runtime PR-Built Compatibility / detect-changes (pull_request) Successful in 21s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 18s
lint-required-no-paths / lint-required-no-paths (pull_request) Successful in 2m0s
Lint pre-flip continue-on-error / Verify continue-on-error flips have run-log proof (pull_request) Successful in 2m31s
gate-check-v3 / gate-check (pull_request) Failing after 28s
lint-mask-pr-atomicity / lint-mask-pr-atomicity (pull_request) Successful in 2m41s
Lint workflow YAML (Gitea-1.22.6-hostile shapes) / Lint workflow YAML for Gitea-1.22.6-hostile shapes (pull_request) Successful in 2m20s
qa-review / approved (pull_request) Failing after 43s
security-review / approved (pull_request) Failing after 34s
lint-required-context-exists-in-bp / lint-required-context-exists-in-bp (pull_request) Successful in 2m48s
sop-checklist / all-items-acked (pull_request) Successful in 49s
sop-tier-check / tier-check (pull_request) Successful in 43s
CI / Python Lint & Test (pull_request) Successful in 8m40s
CI / Canvas (Next.js) (pull_request) Failing after 14m9s
CI / Canvas Deploy Reminder (pull_request) Has been skipped
CI / all-required (pull_request) Failing after 14m30s
CI / Platform (Go) (pull_request) Failing after 26m56s
E2E Chat / E2E Chat (pull_request) Successful in 30s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 20s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Failing after 1m32s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Failing after 2m16s
Runtime PR-Built Compatibility / PR-built wheel + import smoke (pull_request) Successful in 3m45s
Documents four persistent Gitea 1.22.6 Actions quirks discovered
during the 2026-05-11 CI noise investigation (PR #441):

- Runner network isolation: git remote unreachable from container
- continue-on-error only at step level: job-level flag ignored
- workflow_dispatch.inputs not supported: parser rejects at load time
- fetch-depth:0 times out: use fetch-depth:1 + Compare API

Closes #457.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 13:09:37 +00:00
004599750f fix(ci): replace fetch-depth: 0 with targeted shallow fetch in detect-changes
Root cause of mc#1314: detect-changes jobs in CI/E2E workflows were
running `fetch-depth: 0` (full repository history clone) before
computing the git diff. On large repositories this takes 10+ minutes,
causing the detect-changes job itself to timeout and fail.

Fix: use `fetch-depth: 1` (shallow clone of HEAD only) plus explicit
`git fetch --depth=1 origin <BASE> --no-walk` to fetch the BASE commit
without its ancestry. This makes detect-changes complete in seconds
instead of minutes.

Files changed:
- ci.yml: changes job
- e2e-api.yml: detect-changes job
- e2e-staging-canvas.yml: detect-changes job
- runtime-prbuild-compat.yml: detect-changes job

Lint workflows (lint-mask-pr-atomicity, lint-required-context-exists-in-bp,
check-migration-collisions, lint-pre-flip-continue-on-error) retain
fetch-depth: 0 because they use `git show <base>:<path>` which needs
the full blob set from the base commit.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 13:09:37 +00:00