Skip to content

Conversation

@seaerchin
Copy link
Collaborator

@seaerchin seaerchin commented Jul 10, 2025

Problem

we want to remove sgid cos it's no longer used

Solution

remove any mention of sgid in our codebase

"@hapi/joi": "^17.1.1",
"@material-ui/core": "^4.11.4",
"@material-ui/lab": "^4.0.0-alpha.61",
"@opengovsg/sgid-client": "^2.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

missing update for package-lock.json?

@adriangohjw
Copy link
Contributor

bugbot run

dcshzj
dcshzj previously approved these changes Jul 11, 2025
@dcshzj dcshzj dismissed their stale review July 11, 2025 08:40

Oh ya forgot about package-lock.json

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

✅ BugBot reviewed your changes and found no bugs!


BugBot free trial expires on July 22, 2025
You have used $0.00 of your $50.00 spend limit so far. Manage your spend limit in the Cursor dashboard.

Was this report helpful? Give feedback by reacting with 👍 or 👎

@dcshzj dcshzj requested a review from Copilot July 11, 2025 08:42
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes all SGID-related code and configuration since it is no longer used.

  • Deleted SGID service, controller, routes, and client page
  • Removed SGID configuration, dependency, and environment variables
  • Cleared SGID bindings and exports

Reviewed Changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/server/services/sgid.ts Deleted SGID service implementation
src/server/modules/auth/ Removed SGID login controller and exports
src/server/inversify.config.ts Unbound and removed SGIDLoginController binding
src/server/constants.ts Removed SGIDLoginController symbol
src/server/config.ts Removed SGID-related env config
src/server/api/sgidLogin/index.ts Deleted SGID login API routes
src/server/api/index.ts Unregistered SGIDLogin route
src/client/sgidLogin/index.tsx Deleted SGIDLoginPage component
src/client/app/util/types.ts Removed SGID login route constant
src/client/app/components/pages/... Removed SGIDLoginPage import and route
package.json Removed @opengovsg/sgid-client dependency
docker-compose.yml Removed SGID env var and adjusted port quoting
Comments suppressed due to low confidence (1)

docker-compose.yml:112

  • [nitpick] The quoting style for the port mapping changed from double to single quotes; consider using a consistent style throughout the file for readability.
      - '1080:80'

@seaerchin seaerchin requested a review from dcshzj August 21, 2025 06:05
@seaerchin seaerchin merged commit fa0f10c into develop Aug 21, 2025
16 checks passed
@seaerchin seaerchin deleted the chore/teardown-sgid branch August 21, 2025 07:12
dcshzj added a commit that referenced this pull request Aug 21, 2025
* feat: start writing RedirectionDestination in redis cache (#2407)

* chore: remove sgid (#2394)

* chore: delete sgid files

* chore: remove sgid

* chore: update package lock

* 1.84.0

---------

Co-authored-by: seaerchin <[email protected]>
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.

3 participants