Repository navigation
ci: add checks and isolated session history E2E - #722
Merged
Merged
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This was referenced Sep 5, 2026
sleepinginsummer
pushed a commit
to sleepinginsummer/pi-web
that referenced
this pull request
Sep 9, 2026
windli2018
pushed a commit
to aiti-ai/aiti-ai
that referenced
this pull request
Nov 6, 2026
windli2018
pushed a commit
to aiti-ai/aiti-ai
that referenced
this pull request
Nov 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 lintandtsc --noEmitpassed.npm run test:e2epassed against Turbopack at 1280x800 and 390x844, including tool-result expansion.next start.Related: #617, #599. Fixture and workflow approach adapted from @Nuctori's contribution.