LeetCode-OpenSource/vscode-leetcode

The problem set is incomplete

WHMHammer opened this issue ยท 1 comments

๐Ÿ› Bug Report

The latest problem on https://leetcode.com/problemset is problem 3197, but the latest one in the extension is problem 3187. Manually changing the id in the comment generated by the extension to 3197 and submit results in [ERROR] Problem not found!.

To Reproduce

  • Log into the Leetcode US endpoint, click on "All", and then scroll to the bottom to check the latest problem.
  • Select an arbitrary problem from the list, click on "Code Now", change the id in the comment generated by the extension to 3197 and submit

Expected behavior

  • The latest problems should be displayed
  • The extension should be able to submit for the latest problem

Extension Output

When submitting for problem 3197: [ERROR] Problem not found!

Your Environment

  • os: Windows 11 Pro 23H2
  • nodejs version: 20.14.0
  • vscode version: 1.90.2
  • extension version: 0.18.2

I found that singing out and then signing in will refresh the problem set, showing the latest problems, but clicking on the refresh button doesn't.