Skip to content

ci(core-services): daily check that the Cursor marketplace listing is live [CLK-1640216] - #13

Closed
kamkali wants to merge 2 commits into
mainfrom
kkalis/clk-1640216-cursor-listing-probe
Closed

kamkali wants to merge 2 commits into
mainfrom
kkalis/clk-1640216-cursor-listing-probe

Conversation

@kamkali

@kamkali kamkali commented Nov 5, 2026 •

Copy link
Copy Markdown
Collaborator

System change

flowchart LR
  T["daily cron"] --> F["fetch marketplace page"]
  F --> P["pick clickup entry"]
  P --> A{"approved, published, gitPath"}
  A -->|miss| X["job fails"]
  A -->|ok| I["print gitRef, age"]
Loading
  • Before: nothing watched the listing. A stale or unpublished listing showed up as a user report.
  • After: cursor-listing.yml reads cursor.com/marketplace/clickup daily and on workflow_dispatch. It asserts PLUGIN_STATUS_APPROVED, isPublished true and gitPath ".". gitRef, updatedAt and commits-behind-main print as info and never fail the job.

Live now

Nowhere until merge. Scheduled runs (17 6 * * *) start after merge to main. The live listing today: approved, published, gitRef 1f40631, 1 commit behind main (local run, 2026-11-04).

Evidence

Head d81e50d.

Check Result
node --test ci/cursor-listing/probe.test.mjs 8 tests pass, 0 fail
Entry picked by name and repo URL, not first isPublished tests use an approved decoy and a "clickup" fork
Pipe keeps the probe exit code exit 1 with shell: bash; the same command under bash -e alone exits 0
node ci/cursor-listing/probe.mjs on the live page exit 0, OK Cursor marketplace listing for clickup is live
Scheduled run not run: first run after merge

Try it

  1. git checkout kkalis/clk-1640216-cursor-listing-probe
  2. node --test ci/cursor-listing/probe.test.mjs && node ci/cursor-listing/probe.mjs
  3. Expect: 8 passing tests, three info lines, then OK Cursor marketplace listing for clickup is live. Before this PR no check of the listing existed.

Risks and off switch

  • The parser reads Cursor's Next.js page chunks. A page redesign fails the job with "no plugin entry". That is a probe fix, not a listing outage.
  • Off switch: delete cursor-listing.yml.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Cq3XL47vuP2co1GvtdPRpi

kamkali and others added 2 commits November 4, 2026 22:52
… live [CLK-1640216]

Fetch https://cursor.com/marketplace/clickup, pick the clickup entry by name and
repositoryUrl, assert PLUGIN_STATUS_APPROVED, isPublished true, gitPath ".".
Print gitRef, updatedAt and commits behind main as info.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cq3XL47vuP2co1GvtdPRpi
…a pipe [CLK-1640216]

Set defaults.run.shell to bash (-eo pipefail) so tee does not hide the probe exit code. Test pins it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cq3XL47vuP2co1GvtdPRpi
@kamkali kamkali closed this Nov 5, 2026
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