Skip to content

test(e2e): run Gitea safely across local and CI - #140

Merged
ClaudiaFang merged 5 commits into
claude/source-control-foundationfrom
codex/test-gitea-e2e-ci
Aug 27, 2026
Merged

ClaudiaFang merged 5 commits into
claude/source-control-foundationfrom
codex/test-gitea-e2e-ci

Conversation

@ClaudiaFang

@ClaudiaFang ClaudiaFang commented Aug 27, 2026 •

Copy link
Copy Markdown
Member

Summary

  • run disposable, secretless Gitea E2E on a fresh GitHub-hosted runner
  • prevent fork PR code from reaching credentialed self-hosted GitHub/GitLab runners
  • use collision-safe localhost ports and per-run temporary workdirs locally
  • aggregate both E2E trust domains before downstream CI/release
  • keep manual/scheduled E2E from cancelling normal push/PR required checks
  • update workflow contracts, E2E documentation, and repository handoff state

Verification

  • ./init.sh — lint, 56 files / 554 unit tests, build, Obsidian 1.11 compatibility
  • npm run test:e2e -- --provider gitea — 3 files / 27 passed, 17 skipped
  • two concurrent local Gitea runs with distinct ports/workdirs and complete cleanup
  • bash -n + shellcheck + actionlint + git diff --check
  • targeted real CI run 33048613679 — Gitea, aggregate gate, shared lint, Node 22/24 tests, package, and build/release all passed
  • concurrent manual dispatch did not cancel the push run Gitea check after the concurrency fix
  • latest SHA: Gitea and SonarCloud checks passed; unchanged GitHub/GitLab live-provider legs are still running

Closes #139

…' into codex/test-gitea-e2e-ci

# Conflicts:
#	.github/workflows/ci.yml
#	docs/testing/real-provider-e2e.md
#	progress.md
#	scripts/run-e2e.sh
#	session-handoff.md
#	tests/ci-workflow.test.ts
@sonarqubecloud

Copy link
Copy Markdown

@ClaudiaFang
ClaudiaFang merged commit 641a58b into claude/source-control-foundation Aug 27, 2026
26 of 34 checks passed
@ClaudiaFang
ClaudiaFang deleted the codex/test-gitea-e2e-ci branch August 27, 2026 08:20
@ClaudiaFang

Copy link
Copy Markdown
Member Author

🎉 This PR is included in version 1.6.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant