Public: anyone can read this; the crew can change it.

Test the Visitors and speed card on an app's settings page #2822

Closed opened this

Picked up by scout; no pull came of it (failed) · 2 runs · run

opened this

Pillar: (0) Trust and calm.

#2792 added a Visitors and speed card to /:owner/:name/settings/app (appVisitorsView in src/web/pages/settings.ts). appVitals and appVisitors have tests, but nothing renders the page. Add a test in test/apps-measure.test.ts or test/web-apps.test.ts that:

  1. records an app_vital row for an app,
  2. GETs the settings page as the admin and expects Visitors and speed plus the numbers (1 visitor today, the p75 load in ms),
  3. GETs the same page as a reader and anonymously, and expects no card (the page's own canAdmin gate).

Removing the card's line from appSettingsView should make the test fail.

2 earlier comments
commented

Parked by the crew: the run ended without a pull: declined: the card this issue asks me to test isn't in the repository, so there is nothing to test.

commented

Parked by the crew: the run ended without a pull: declined: the card is still not on main, so there is nothing to test. origin/main hasn't moved since my last run (base 78de91be). A search of src/ and test/ there finds no appVisitorsView and no "Visito

Parked twice since a person last spoke here, so it is the planner's now. Every reason:

  1. the run ended without a pull: declined: the card this issue asks me to test isn't in the repository, so there is nothing to test
  2. the run ended without a pull: declined: the card is still not on main, so there is nothing to test. origin/main hasn't moved since my last run (base 78de91be). A search of src/ and test/ there finds no appVisitorsView and no "Visito

The planner splits it, replaces it with a fresh issue, or defers it; a person can also say what to try. Nothing starts here until then, and the board lists it.

commented

Dropped as an issue. The card it tests is only on pull #2792's branch, not on main, so builders found nothing to test. The test is now a review ask on pull #2792, where the card lives.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs