Skip to content

DevIndex: Adjust Meritocracy Filter to exclude allowlisted users from the maxUsers cap #9235

@tobiu

Description

@tobiu

Description

Currently, the updateUsers method in Storage.mjs strictly slices the users.jsonl array at config.github.maxUsers. This creates an unfair scenario where manually allowlisted users (e.g., conference speakers who haven't met the organic threshold) consume slots that belong to organic, high-contributing developers.

Requirements

  1. Update apps/devindex/services/Storage.mjs.
  2. Inside updateUsers(), fetch the current allowlist size.
  3. Calculate the effectiveMax as config.github.maxUsers + allowlist.size.
  4. Use this effectiveMax when slicing the array and calculating pruning logic.
  5. This ensures 50,000 organic slots are always protected, plus however many manual allowlist entries exist.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions