Files
molecule-core/.gitea/workflows/nodup-lint.yml
T
hongming b8d0238935
sop-checklist / all-items-acked (pull_request) ack advisory until agent-team — would be failure: acked: 0/10 — missing: comprehensive-testing, local-postgres-e2e, staging-smoke, +7 — body
sop-checklist / na-declarations (pull_request) N/A: (none)
sop-checklist / all-items-acked (pull_request_target) Successful in 4s
Block internal-flavored paths / Block forbidden paths (pull_request) Successful in 7s
Block integration-tester contamination artifacts / Block staging-trigger / invalid manifest contamination (pull_request) Successful in 7s
CI / Python Lint & Test (pull_request) Successful in 8s
Concierge Creates Workspace Hermetic / Concierge Creates Workspace Hermetic (pull_request) Successful in 16s
E2E Staging SaaS (full lifecycle) / E2E Staging SaaS (pull_request) Has been skipped
E2E Peer Visibility (literal MCP list_peers) / detect-changes (pull_request) Successful in 8s
E2E Staging SaaS (full lifecycle) / E2E Staging Platform Boot (pull_request) Has been skipped
E2E Staging SaaS (full lifecycle) / E2E Staging Workspace Requests (core#2606) (pull_request) Has been skipped
E2E Staging SaaS (full lifecycle) / E2E Staging Concierge user_tasks (pull_request) Has been skipped
E2E Staging SaaS (full lifecycle) / E2E Staging Concierge Platform Agent (pull_request) Has been skipped
E2E Staging SaaS (full lifecycle) / E2E Staging Plugin Install Lifecycle (pull_request) Has been skipped
E2E External Connect-Snippet + Leak-Lint / E2E External Connect-Snippet + Leak-Lint (pull_request) Successful in 16s
Handlers Postgres Integration / detect-changes (pull_request) Successful in 7s
Harness Replays / detect-changes (pull_request) Successful in 6s
Lint curl status-code capture / Scan workflows for curl status-capture pollution (pull_request) Successful in 6s
CI / Detect changes (pull_request) Successful in 33s
Lint forbidden tenant-env keys / Scan workspace_secrets writers for forbidden env keys (pull_request) Successful in 6s
E2E API Smoke Test / detect-changes (pull_request) Successful in 31s
E2E Chat / detect-changes (pull_request) Successful in 30s
E2E Staging Canvas (Playwright) / detect-changes (pull_request) Successful in 24s
Lint forbidden tenant-env keys / Scan for repo-host token write into tenant workspace surface (pull_request) Successful in 5s
lint-bp-context-emit-match / lint-bp-context-emit-match (pull_request) Successful in 18s
Lint forbidden hand-written mcp__ tool-id literals / Scan for hand-written mcp__ tool-id literals (pull_request) Successful in 6s
lint-required-workflows-docker-host-pinned / Lint docker-host pin on docker-touching workflows (pull_request) Successful in 8s
lint-continue-on-error-tracking / lint-continue-on-error-tracking (pull_request) Successful in 24s
Lint publish-runner timeout-minutes / Lint publish-runner timeout-minutes (pull_request) Successful in 13s
lint-no-coe-on-required / lint-no-coe-on-required (pull_request) Successful in 16s
lint-required-no-paths / lint-required-no-paths (pull_request) Successful in 16s
lint-staging-tenant-cd-gate-chain / lint-staging-tenant-cd-gate-chain (pull_request) Successful in 17s
Lint schedule budget / Zero-cron ratchet (pull_request) Successful in 20s
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 6s
PR Diff Guard / PR diff guard (pull_request) Successful in 10s
lint-env-coupling-dismissal / lint-env-coupling-dismissal (pull_request) Successful in 36s
nodup-lint / no-duplication (pull_request) Successful in 17s
Lint workflow YAML (Gitea-1.22.6-hostile shapes) / Lint workflow YAML for Gitea-1.22.6-hostile shapes (pull_request) Successful in 19s
sop-checklist / review-refire (pull_request_target) Has been skipped
Lint pre-flip continue-on-error / Verify continue-on-error flips have run-log proof (pull_request) Successful in 33s
gate-check-v3 / gate-check (pull_request_target) Successful in 7s
template-delivery-e2e / detect-changes (pull_request) Successful in 11s
lint-setup-go-cache / lint-setup-go-cache (pull_request) Successful in 30s
lint-required-context-exists-in-bp / lint-required-context-exists-in-bp (pull_request) Successful in 34s
E2E Peer Visibility (literal MCP list_peers) / E2E Peer Visibility (pull_request) Successful in 5s
CI / Canvas (Next.js) (pull_request) Successful in 2s
CI / Shellcheck (E2E scripts) (pull_request) Successful in 2s
E2E Chat / E2E Chat (pull_request) Successful in 3s
E2E Staging Canvas (Playwright) / Canvas tabs E2E (pull_request) Successful in 3s
Local Provision Lifecycle E2E / Local Provision Lifecycle E2E (stub) (pull_request) Successful in 35s
CI / Canvas Deploy Status (pull_request) Successful in 2s
template-delivery-e2e / Template-asset delivery (fresh seo-agent — config+prompts via asset channel, seo-all via plugin reconcile) (pull_request) Successful in 2s
Handlers Postgres Integration / Handlers Postgres Integration (pull_request) Successful in 55s
Local Provision Lifecycle E2E / Local Provision Lifecycle E2E (real image + MiniMax LLM, advisory) (pull_request) Successful in 47s
Harness Replays / Harness Replays (pull_request) Successful in 1m12s
E2E API Smoke Test / E2E API Smoke Test (pull_request) Successful in 2m18s
CI / Platform (Go) (pull_request) Successful in 3m27s
CI / all-required (pull_request) Successful in 3s
reserved-path-review / reserved-path-review (pull_request_target) Approved via pull_request_review trigger
qa-review / approved (pull_request_target) Approved via pull_request_review trigger
security-review / approved (pull_request_target) Approved via pull_request_review trigger
reserved-path-review / reserved-path-review (pull_request_review) Successful in 7s
qa-review / approved (pull_request_review) Successful in 7s
security-review / approved (pull_request_review) Successful in 7s
gitea-merge-queue / queue (pull_request_review) Successful in 34s
audit-force-merge / audit (pull_request_target) Successful in 4s
ci-required-drift / drift (pull_request) Waiting to run
E2E Staging SaaS (full lifecycle) / pr-validate (pull_request) Waiting to run
E2E Staging SaaS (full lifecycle) / E2E Staging Concierge (compile+skip) (pull_request) Waiting to run
E2E Staging SaaS (full lifecycle) / E2E Staging Concierge Creates Workspace (pull_request) Waiting to run
E2E Staging SaaS (full lifecycle) / Prune stale e2e DNS records (pull_request) Waiting to run
chore(sdk): repoint cloudprovider import to go.moleculesai.app/sdk/gen/go
The shared cloud-provider SSOT moved from the archived molecule-go-sdk
(module go.moleculesai.app/sdk, root) to molecule-ai-sdk's subdir module
go.moleculesai.app/sdk/gen/go. The go.moleculesai.app/sdk vanity now
resolves to molecule-ai-sdk, so repoint the require + import path and the
nodup-lint tool invocation to the gen/go module. cloudprovider package is
byte-identical to the old pinned version (pure relocation).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-06 17:38:40 +00:00

52 lines
1.8 KiB
YAML

name: nodup-lint
# Shared NO-DUPLICATION linter — built once in the SDK
# (go.moleculesai.app/sdk/gen/go/tools/cmd/nodup-lint), invoked here so a re-paste of
# SDK-owned code (e.g. the LLM wire-string enums) is caught per-PR. This is the
# inverse of the retired "keep your copy byte-equal" gates: there must be NO
# copy, you must IMPORT the SSOT. The ban-list is the SDK-embedded owned.yaml, so
# the policy is single-sourced and cannot drift between repos.
on:
pull_request:
branches: [main, staging]
paths:
- 'workspace-server/**'
push:
branches: [main, staging]
paths:
- 'workspace-server/**'
concurrency:
group: nodup-lint-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
env:
GITHUB_SERVER_URL: https://git.moleculesai.app
GOTOOLCHAIN: local
jobs:
nodup-lint:
name: no-duplication
runs-on: ubuntu-latest
timeout-minutes: 10
defaults:
run:
working-directory: workspace-server
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
with:
go-version-file: workspace-server/go.mod
# cache:false — self-hosted runners bind-mount a shared GOCACHE/GOMODCACHE
# (fleet convention; see lint-setup-go-cache).
cache: false
- name: Run shared no-duplication linter (from the SDK)
# Uses the SDK version pinned in workspace-server/go.mod. The linter scans
# this module's tree for re-declared SDK-owned symbols / re-pasted owned
# blobs; sanctioned re-export shims are listed in .nodup-lint-allow.
run: go run go.moleculesai.app/sdk/gen/go/tools/cmd/nodup-lint -repo .