Skip to content

ci: add checks and isolated session history E2E - #722

Merged
agegr merged 1 commit into
mainfrom
codex/ci-e2e
Sep 5, 2026
Merged

agegr merged 1 commit into
mainfrom
codex/ci-e2e

Conversation

@agegr

@agegr agegr commented Sep 5, 2026 •

Copy link
Copy Markdown
Owner

Adds GitHub Actions checks for pull requests and pushes to main: lint, TypeScript, the existing unit tests, a production build, and Chromium browser tests. This gives the session-history regressions from #509 and #555 an automatic browser gate.

The E2E script starts its own Next.js server with a temporary PI_CODING_AGENT_DIR, seeds fixtures before the first catalogue scan, and cleans up its server and fixtures. It needs no model credentials. Desktop and mobile checks open a 5,000-message session, verify the bounded tail, scroll through consecutive older pages, and assert complete, ordered messages without duplicates. The suite also checks branch selection, pagination at the root, markdown/code/tool-result rendering, and rejected API requests. Failures retain a screenshot, trace, and server log as CI artifacts.

This is the CI/E2E portion of @Nuctori's proposal in #617 and #599. It leaves the runtime scanner, reverse reader, sidebar virtualization, and performance benchmarks out of this PR. Sending prompts and live agent execution remain outside this suite.

Validation:

  • npm run lint and tsc --noEmit passed.
  • All 860 unit tests passed on Node 22.19.0.
  • npm run test:e2e passed against Turbopack at 1280x800 and 390x844, including tool-result expansion.
  • GitHub Actions run 33950246499 passed both jobs, including Linux unit tests, the production build, and desktop/mobile E2E against next start.

Related: #617, #599. Fixture and workflow approach adapted from @Nuctori's contribution.

Adapt the CI/E2E proposal from #617 and #599, with temporary session storage, real pagination assertions, and desktop/mobile browser coverage.

Co-authored-by: Nuctori <Nuctori@users.noreply.github.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-05T06:39:11.373141Z 4f1cc5d PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@agegr
agegr merged commit 2cae813 into main Sep 5, 2026
2 checks passed
sleepinginsummer pushed a commit to sleepinginsummer/pi-web that referenced this pull request Sep 9, 2026
Adapt the CI/E2E proposal from agegr#617 and agegr#599, with temporary session storage, real pagination assertions, and desktop/mobile browser coverage.

Co-authored-by: Nuctori <Nuctori@users.noreply.github.com>
@agegr
agegr deleted the codex/ci-e2e branch October 1, 2026 13:28
windli2018 pushed a commit to aiti-ai/aiti-ai that referenced this pull request Nov 6, 2026
Adapt the CI/E2E proposal from agegr#617 and agegr#599, with temporary session storage, real pagination assertions, and desktop/mobile browser coverage.

Co-authored-by: Nuctori <Nuctori@users.noreply.github.com>
windli2018 pushed a commit to aiti-ai/aiti-ai that referenced this pull request Nov 8, 2026
Adapt the CI/E2E proposal from agegr#617 and agegr#599, with temporary session storage, real pagination assertions, and desktop/mobile browser coverage.

Co-authored-by: Nuctori <Nuctori@users.noreply.github.com>
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.

1 participant