Skip to content

Dev - #343

Merged
theg1239 merged 4 commits into
mainfrom
dev
Nov 20, 2026
Merged

Dev#343
theg1239 merged 4 commits into
mainfrom
dev

Conversation

@theg1239

@theg1239 theg1239 commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

spent a lot of water and tokens to review your slop

RetriggerView in GreptileConfidence Score: 4/5 Tier: apex

The PR appears safe to merge, with a non-blocking request for regression tests.

Fix All in CodexFindings

  1. P2 Login fix lacks regression tests ▶

Summary

Makes SERVERID optional in all three local session checks and bumps the release to 2.12.2.

  • CLI-TOP lets sessions pass login checks without SERVERID.
  • CLI version and release details now identify 2.12.2.

Reviews (1) · Last reviewed commit: "Update version from 2.12.1 to 2.12.2" · Reviewed by Greptile

Sarthak90210 and others added 4 commits November 20, 2026 15:38
VTOP no longer sets a SERVERID cookie; only JSESSIONID is returned.
ValidateCookies, the login validator and the semester-details check
still required SERVERID, so every successful login was discarded and
users saw "Unable to log in" even with correct credentials.

Treat a session as valid when CSRF and JSESSIONID are present.
fix: don't require SERVERID cookie for a valid VTOP session
Signed-off-by: theg1239 <thegreatestdropper@gmail.com>
Signed-off-by: theg1239 <thegreatestdropper@gmail.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-20T12:43:50.810309Z f2c573e 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.

@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@theg1239
theg1239 merged commit 41738e9 into main Nov 20, 2026
5 of 6 checks passed
Comment thread helpers/helper.go

func ValidateCookies(cookies types.Cookies) bool {
return cookies.CSRF != "" && cookies.JSESSIONID != "" && cookies.SERVERID != ""
return cookies.CSRF != "" && cookies.JSESSIONID != ""

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Login fix lacks regression tests

The newly accepted session without SERVERID has no test coverage. Add cases for ValidateCookies, ValidateLogin, uncached GetSemDetails, and session refresh using only CSRF and JSESSIONID, plus cases missing each required token. Otherwise, any one of these separate guards could restore the old login failure without failing the tests.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Fix in Codex Fix in Claude Code Fix in Cursor

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.

2 participants