Skip to content

TAN-989: Investigate and Fix LeetCode question error in prod - #991

Open
naanci wants to merge 9 commits into
mainfrom
TAN-989
Open

naanci wants to merge 9 commits into
mainfrom
TAN-989

Conversation

@naanci

@naanci naanci commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

Description of changes

findings:

  • LeetCode problem 596 current title updated from "classes more than 5 students" to "classes with at least 5 students" so this outdated value in one of the production submissions was what was causing the lookup to fail (there was 7 submission with the new slug & problem name)

changes:

  • Add an isNotFound() flag to LeetcodeClientException for HTTP 200 responses containing data.question: null without GraphQL errors.
  • skip topic processing for those questions during the current scheduler run without logging or counting them as errors
  • preserve historical submission metadata (database changes)

Replace the problem-596 metadata correction with a general approach that preserves historical submission data. The migration adds an exclusion flag --> it does not update any submission’s title, slug, link, description, or code.

Checklist before review

  • I have done a thorough self-review of the PR
  • Copilot has reviewed my latest changes, and all comments have been fixed and/or closed.
  • If I have made database changes, I have made sure I followed all the db repo rules listed in the wiki here. (check if no db changes)
  • All tests have passed
  • I have successfully deployed this PR to staging
  • I have done manual QA in both dev (and staging if possible) and attached screenshots below.

Screenshots

Dev

Staging

@naanci
naanci requested a review from a team October 5, 2026 00:32
@pat-agent

pat-agent Bot commented Oct 5, 2026

Copy link
Copy Markdown

Available PR Commands

  • /migrate - Applies this PR's database migrations to the staging DB (can only be run by someone on @Patina-Network/codebloom)
  • /copy - Triggers copy from production to staging db (can only be run by tahminator or angelayu0530)

@pat-agent

pat-agent Bot commented Oct 5, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom-standup-bot-arm/tags under the following tags:

  • codebloom-standup-bot-arm:staging-latest
  • codebloom-standup-bot-arm:staging-2026.10.04-20.33.24
  • codebloom-standup-bot-arm:staging-d512691

@pat-agent

pat-agent Bot commented Oct 5, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom-standup-bot/tags under the following tags:

  • codebloom-standup-bot:staging-latest
  • codebloom-standup-bot:staging-2026.10.04-20.33.26
  • codebloom-standup-bot:staging-d512691

@pat-agent

pat-agent Bot commented Oct 5, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom/tags under the following tags:

  • codebloom:staging-latest
  • codebloom:staging-2026.10.04-20.35.51
  • codebloom:staging-d512691

@pat-agent

pat-agent Bot commented Oct 5, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom-arm/tags under the following tags:

  • codebloom-arm:staging-latest
  • codebloom-arm:staging-2026.10.04-20.37.13
  • codebloom-arm:staging-d512691

@pat-agent

pat-agent Bot commented Oct 5, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom-standup-bot-arm/tags under the following tags:

  • codebloom-standup-bot-arm:staging-latest
  • codebloom-standup-bot-arm:staging-2026.10.05-01.32.27
  • codebloom-standup-bot-arm:staging-4844a1d

@pat-agent

pat-agent Bot commented Oct 5, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom-standup-bot/tags under the following tags:

  • codebloom-standup-bot:staging-latest
  • codebloom-standup-bot:staging-2026.10.05-01.32.25
  • codebloom-standup-bot:staging-4844a1d

@pat-agent

pat-agent Bot commented Oct 5, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom/tags under the following tags:

  • codebloom:staging-latest
  • codebloom:staging-2026.10.05-01.34.48
  • codebloom:staging-4844a1d

@pat-agent

pat-agent Bot commented Oct 5, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom-arm/tags under the following tags:

  • codebloom-arm:staging-latest
  • codebloom-arm:staging-2026.10.05-01.35.05
  • codebloom-arm:staging-4844a1d

@pat-agent

pat-agent Bot commented Oct 5, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom-standup-bot-arm/tags under the following tags:

  • codebloom-standup-bot-arm:staging-latest
  • codebloom-standup-bot-arm:staging-2026.10.05-18.20.00
  • codebloom-standup-bot-arm:staging-922ad1d

@pat-agent

pat-agent Bot commented Oct 5, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom-standup-bot/tags under the following tags:

  • codebloom-standup-bot:staging-latest
  • codebloom-standup-bot:staging-2026.10.05-18.20.02
  • codebloom-standup-bot:staging-922ad1d

@pat-agent

pat-agent Bot commented Oct 5, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom-arm/tags under the following tags:

  • codebloom-arm:staging-latest
  • codebloom-arm:staging-2026.10.05-18.22.48
  • codebloom-arm:staging-922ad1d

@pat-agent

pat-agent Bot commented Oct 5, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom/tags under the following tags:

  • codebloom:staging-latest
  • codebloom:staging-2026.10.05-18.22.50
  • codebloom:staging-922ad1d

@pat-agent

pat-agent Bot commented Oct 5, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom-standup-bot/tags under the following tags:

  • codebloom-standup-bot:staging-latest
  • codebloom-standup-bot:staging-2026.10.05-18.53.55
  • codebloom-standup-bot:staging-d37cd26

@pat-agent

pat-agent Bot commented Oct 5, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom-standup-bot-arm/tags under the following tags:

  • codebloom-standup-bot-arm:staging-latest
  • codebloom-standup-bot-arm:staging-2026.10.05-18.53.58
  • codebloom-standup-bot-arm:staging-d37cd26

@pat-agent

pat-agent Bot commented Oct 5, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom/tags under the following tags:

  • codebloom:staging-latest
  • codebloom:staging-2026.10.05-18.56.35
  • codebloom:staging-d37cd26

@pat-agent

pat-agent Bot commented Oct 5, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom-arm/tags under the following tags:

  • codebloom-arm:staging-latest
  • codebloom-arm:staging-2026.10.05-18.56.17
  • codebloom-arm:staging-d37cd26

@pat-agent

pat-agent Bot commented Oct 5, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom-standup-bot-arm/tags under the following tags:

  • codebloom-standup-bot-arm:staging-latest
  • codebloom-standup-bot-arm:staging-2026.10.05-19.40.29
  • codebloom-standup-bot-arm:staging-c56a144

@pat-agent

pat-agent Bot commented Oct 5, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom-standup-bot/tags under the following tags:

  • codebloom-standup-bot:staging-latest
  • codebloom-standup-bot:staging-2026.10.05-19.40.29
  • codebloom-standup-bot:staging-c56a144

@pat-agent

pat-agent Bot commented Oct 5, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom-arm/tags under the following tags:

  • codebloom-arm:staging-latest
  • codebloom-arm:staging-2026.10.05-19.42.52
  • codebloom-arm:staging-c56a144

@pat-agent

pat-agent Bot commented Oct 5, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom/tags under the following tags:

  • codebloom:staging-latest
  • codebloom:staging-2026.10.05-19.43.05
  • codebloom:staging-c56a144

@pat-agent

pat-agent Bot commented Oct 6, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom-standup-bot/tags under the following tags:

  • codebloom-standup-bot:staging-latest
  • codebloom-standup-bot:staging-2026.10.05-20.20.32
  • codebloom-standup-bot:staging-e7ca023

@pat-agent

pat-agent Bot commented Oct 6, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom-standup-bot-arm/tags under the following tags:

  • codebloom-standup-bot-arm:staging-latest
  • codebloom-standup-bot-arm:staging-2026.10.05-20.20.33
  • codebloom-standup-bot-arm:staging-e7ca023

@pat-agent

pat-agent Bot commented Oct 6, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom/tags under the following tags:

  • codebloom:staging-latest
  • codebloom:staging-2026.10.05-20.24.03
  • codebloom:staging-e7ca023

@pat-agent

pat-agent Bot commented Oct 6, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom-arm/tags under the following tags:

  • codebloom-arm:staging-latest
  • codebloom-arm:staging-2026.10.05-20.23.37
  • codebloom-arm:staging-e7ca023

@pat-agent

pat-agent Bot commented Oct 6, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom-standup-bot-arm/tags under the following tags:

  • codebloom-standup-bot-arm:staging-latest
  • codebloom-standup-bot-arm:staging-2026.10.06-15.33.55
  • codebloom-standup-bot-arm:staging-353ca52

@pat-agent

pat-agent Bot commented Oct 6, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom-standup-bot/tags under the following tags:

  • codebloom-standup-bot:staging-latest
  • codebloom-standup-bot:staging-2026.10.06-15.33.57
  • codebloom-standup-bot:staging-353ca52

@pat-agent

pat-agent Bot commented Oct 6, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom/tags under the following tags:

  • codebloom:staging-latest
  • codebloom:staging-2026.10.06-15.37.14
  • codebloom:staging-353ca52

@pat-agent

pat-agent Bot commented Oct 6, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom-standup-bot-arm/tags under the following tags:

  • codebloom-standup-bot-arm:staging-latest
  • codebloom-standup-bot-arm:staging-2026.10.06-15.48.46
  • codebloom-standup-bot-arm:staging-d687e3b

@pat-agent

pat-agent Bot commented Oct 6, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom-standup-bot/tags under the following tags:

  • codebloom-standup-bot:staging-latest
  • codebloom-standup-bot:staging-2026.10.06-15.48.51
  • codebloom-standup-bot:staging-d687e3b

@pat-agent

pat-agent Bot commented Oct 6, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom-arm/tags under the following tags:

  • codebloom-arm:staging-latest
  • codebloom-arm:staging-2026.10.06-15.51.43
  • codebloom-arm:staging-d687e3b

@pat-agent

pat-agent Bot commented Oct 6, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom/tags under the following tags:

  • codebloom:staging-latest
  • codebloom:staging-2026.10.06-15.51.25
  • codebloom:staging-d687e3b

@pat-agent

pat-agent Bot commented Oct 7, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom-standup-bot/tags under the following tags:

  • codebloom-standup-bot:staging-latest
  • codebloom-standup-bot:staging-2026.10.07-00.17.55
  • codebloom-standup-bot:staging-713db37

@pat-agent

pat-agent Bot commented Oct 7, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom-standup-bot-arm/tags under the following tags:

  • codebloom-standup-bot-arm:staging-latest
  • codebloom-standup-bot-arm:staging-2026.10.07-00.17.57
  • codebloom-standup-bot-arm:staging-713db37

@pat-agent

pat-agent Bot commented Oct 7, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom/tags under the following tags:

  • codebloom:staging-latest
  • codebloom:staging-2026.10.07-00.20.33
  • codebloom:staging-713db37

@pat-agent

pat-agent Bot commented Oct 7, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom-arm/tags under the following tags:

  • codebloom-arm:staging-latest
  • codebloom-arm:staging-2026.10.07-00.20.29
  • codebloom-arm:staging-713db37

@sonarqubecloud

sonarqubecloud Bot commented Oct 7, 2026

Copy link
Copy Markdown

@pat-agent

pat-agent Bot commented Oct 7, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom-standup-bot-arm/tags under the following tags:

  • codebloom-standup-bot-arm:staging-latest
  • codebloom-standup-bot-arm:staging-2026.10.07-00.28.54
  • codebloom-standup-bot-arm:staging-d7a588a

@pat-agent

pat-agent Bot commented Oct 7, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom-standup-bot/tags under the following tags:

  • codebloom-standup-bot:staging-latest
  • codebloom-standup-bot:staging-2026.10.07-00.28.59
  • codebloom-standup-bot:staging-d7a588a

@sonarqubecloud

sonarqubecloud Bot commented Oct 7, 2026

Copy link
Copy Markdown

@pat-agent

pat-agent Bot commented Oct 7, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom/tags under the following tags:

  • codebloom:staging-latest
  • codebloom:staging-2026.10.07-00.31.28
  • codebloom:staging-d7a588a

@pat-agent

pat-agent Bot commented Oct 7, 2026

Copy link
Copy Markdown

The image has been uploaded to https://hub.docker.com/r/patinanetwork/codebloom-arm/tags under the following tags:

  • codebloom-arm:staging-latest
  • codebloom-arm:staging-2026.10.07-00.31.35
  • codebloom-arm:staging-d7a588a

This branch has not been deployed

No deployments
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