Skip to content

Sweep CI accounts with open upload requests - #1959

Merged
neuromechanist merged 2 commits into
devfrom
fix/sweep-open-upload-requests
Oct 25, 2026
Merged

neuromechanist merged 2 commits into
devfrom
fix/sweep-open-upload-requests

Conversation

@neuromechanist

Copy link
Copy Markdown
Contributor

Summary

The staging approval queue held about 1,200 accounts left by the live suites: signup-flags requests upload access on every run, and the test-account sweep (#1789) skipped any account with an open upload request, so these were never swept.

  • The sweep now takes an open, ungranted upload request on a generated address (service_access = 0 still required; every other guard unchanged). The tombstone mask already clears the request stamp.
  • TEST_ACCOUNT_SWEEP_BATCH 100 -> 300 (one D1 batch per tombstone; worst case about 310 subrequests per run), so the backlog clears in about five daily runs.
  • The three live suites that seed through seed-web-user tombstone their own accounts in afterAll with the owner key, best effort; the sweep stays the backstop.

Test plan

  • Sweep tests incl. the D1-engine suite: 226 pass (open request swept, granted kept, real-shaped addresses kept, batch bounds)
  • Typecheck and lint clean
  • integration-dev exercises the new teardown
  • Staging: awaiting-approval count drops after the next daily runs

@github-actions

Copy link
Copy Markdown

📦 Package Preview

Your package is ready to test!

bun install -g nemar-cli@PR1959

Version: 0.10.24-PR1959.ade771f
Commit: ade771f


🤖 Updated on each push.

@neuromechanist
neuromechanist merged commit b24ad4d into dev Oct 25, 2026
20 checks passed
@neuromechanist
neuromechanist deleted the fix/sweep-open-upload-requests branch October 25, 2026 23:19

This branch was previously deployed

1 inactive deployment
npm — ade771fa Deployed Oct 25, 2026 by neuromechanist via publish #3984
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