alpha
Login
or
Join now
alpine.girlfag.club
/
refserver
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
server for refapp and refbot and other stuff
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
refserver
/
src
/
engine
/
at
main
21 files
alpine
fix: BO1 single-chart matches skip ban phase
10hrs ago
0f2e27a2
audit.test.ts
Implement phase 4 match engine, generated-pools persistence, and audit logging Port state/match.js into src/engine/match.ts keyed by matchId with plain player data (no Discord objects). Add GeneratedPools model, event singleton service, pools persistence layer with getPoolByTier/getMatchPool, and audit logging service with query/filter support. All 228 tests pass, typecheck clean.
1 week ago
audit.ts
Implement phase 4 match engine, generated-pools persistence, and audit logging Port state/match.js into src/engine/match.ts keyed by matchId with plain player data (no Discord objects). Add GeneratedPools model, event singleton service, pools persistence layer with getPoolByTier/getMatchPool, and audit logging service with query/filter support. All 228 tests pass, typecheck clean.
1 week ago
backfillSsso.test.ts
feat: implement Plans 3, 6, 7 — state machine, startgg split, remove refshared - Plan 7: formalize match lifecycle as state machine (matchStateMachine.ts) * assertTransition/transition guard all phase changes in routes * restartMatch validates 'restart' transition; abandonMatch validates 'stop' * pickChart sets 'ready-check' directly; setPlayerReady advances to 'playing' * removed 4 leftover route-level progressLevel overrides - Plan 6: split startgg.ts into startggCore/Queries/Fetch modules * startgg.ts under 200 lines, re-exports from shared modules * resolved circular ESM via startggCore.ts - Plan 3: deleted refshared/ directory and all imports/references - Review fixes: revert APP_ORIGIN rename, strip sensitive fields from DB-only player view, add assertTransition('revert'), remove unused imports, update docs and tests
2 days ago
backfillSsso.ts
feat: implement Plans 3, 6, 7 — state machine, startgg split, remove refshared - Plan 7: formalize match lifecycle as state machine (matchStateMachine.ts) * assertTransition/transition guard all phase changes in routes * restartMatch validates 'restart' transition; abandonMatch validates 'stop' * pickChart sets 'ready-check' directly; setPlayerReady advances to 'playing' * removed 4 leftover route-level progressLevel overrides - Plan 6: split startgg.ts into startggCore/Queries/Fetch modules * startgg.ts under 200 lines, re-exports from shared modules * resolved circular ESM via startggCore.ts - Plan 3: deleted refshared/ directory and all imports/references - Review fixes: revert APP_ORIGIN rename, strip sensitive fields from DB-only player view, add assertTransition('revert'), remove unused imports, update docs and tests
2 days ago
event.test.ts
style: remove em dashes from code and docs Rephrase comments, strings, and markdown (README, plan) so no em dash (U+2014) remains in source.
5 days ago
event.ts
Fix audit findings H2,M2,M3,M4 - H2: add deleteEventById + DELETE /events/by-id/:id - M2: /pick route honors pickerDiscordId body field - M3: playerStats overlayScoreFields is true fallback (no overwrite) - M4: parseSheetCsv lazily seeds any tier, warns on unexpected
3 days ago
friendly.ts
style: remove em dashes from code and docs Rephrase comments, strings, and markdown (README, plan) so no em dash (U+2014) remains in source.
5 days ago
leaderboard.test.ts
feat: §8.1 - remove chartWins from leaderboard, expand LeaderboardRow with breakdown data - Remove chartWins sort option and top-level field from LeaderboardRow - Expand LeaderboardRow to include all/tournament/friendly PlayerMatchBreakdown objects - Add toBreakdown() helper to compute derived averages from stat buckets - Update tests to cover new breakdown fields - Update OpenAPI spec (LeaderboardRow schema, sort enum) - feat(poolSize): BO1 single-chart pools return minPoolSize=1
11 hours ago
match.test.ts
feat: implement Plans 3, 6, 7 — state machine, startgg split, remove refshared - Plan 7: formalize match lifecycle as state machine (matchStateMachine.ts) * assertTransition/transition guard all phase changes in routes * restartMatch validates 'restart' transition; abandonMatch validates 'stop' * pickChart sets 'ready-check' directly; setPlayerReady advances to 'playing' * removed 4 leftover route-level progressLevel overrides - Plan 6: split startgg.ts into startggCore/Queries/Fetch modules * startgg.ts under 200 lines, re-exports from shared modules * resolved circular ESM via startggCore.ts - Plan 3: deleted refshared/ directory and all imports/references - Review fixes: revert APP_ORIGIN rename, strip sensitive fields from DB-only player view, add assertTransition('revert'), remove unused imports, update docs and tests
2 days ago
match.ts
fix: BO1 single-chart matches skip ban phase initMatchState now sets progressLevel to 'ready-check' when bestOf === 1, bypassing the ban phase entirely. Matches with a single chart advance straight to ready-check then playing.
10 hours ago
matchStateMachine.test.ts
feat: implement Plans 3, 6, 7 — state machine, startgg split, remove refshared - Plan 7: formalize match lifecycle as state machine (matchStateMachine.ts) * assertTransition/transition guard all phase changes in routes * restartMatch validates 'restart' transition; abandonMatch validates 'stop' * pickChart sets 'ready-check' directly; setPlayerReady advances to 'playing' * removed 4 leftover route-level progressLevel overrides - Plan 6: split startgg.ts into startggCore/Queries/Fetch modules * startgg.ts under 200 lines, re-exports from shared modules * resolved circular ESM via startggCore.ts - Plan 3: deleted refshared/ directory and all imports/references - Review fixes: revert APP_ORIGIN rename, strip sensitive fields from DB-only player view, add assertTransition('revert'), remove unused imports, update docs and tests
2 days ago
matchStateMachine.ts
feat: implement Plans 3, 6, 7 — state machine, startgg split, remove refshared - Plan 7: formalize match lifecycle as state machine (matchStateMachine.ts) * assertTransition/transition guard all phase changes in routes * restartMatch validates 'restart' transition; abandonMatch validates 'stop' * pickChart sets 'ready-check' directly; setPlayerReady advances to 'playing' * removed 4 leftover route-level progressLevel overrides - Plan 6: split startgg.ts into startggCore/Queries/Fetch modules * startgg.ts under 200 lines, re-exports from shared modules * resolved circular ESM via startggCore.ts - Plan 3: deleted refshared/ directory and all imports/references - Review fixes: revert APP_ORIGIN rename, strip sensitive fields from DB-only player view, add assertTransition('revert'), remove unused imports, update docs and tests
2 days ago
playerImport.test.ts
Drop start.gg participant entrant/team/seed (alpha schema has no 'entrant' on Participant) The Participant GraphQL query used 'entrant { name }' and 'seed', neither of which exist on the alpha schema (it rejected the query, breaking every player import). Seed and team are supplied by the stats sheet via the backfill step, so import now sets them to null. Updated unit test.
3 days ago
playerImport.ts
feat: implement Plans 3, 6, 7 — state machine, startgg split, remove refshared - Plan 7: formalize match lifecycle as state machine (matchStateMachine.ts) * assertTransition/transition guard all phase changes in routes * restartMatch validates 'restart' transition; abandonMatch validates 'stop' * pickChart sets 'ready-check' directly; setPlayerReady advances to 'playing' * removed 4 leftover route-level progressLevel overrides - Plan 6: split startgg.ts into startggCore/Queries/Fetch modules * startgg.ts under 200 lines, re-exports from shared modules * resolved circular ESM via startggCore.ts - Plan 3: deleted refshared/ directory and all imports/references - Review fixes: revert APP_ORIGIN rename, strip sensitive fields from DB-only player view, add assertTransition('revert'), remove unused imports, update docs and tests
2 days ago
playerMerge.test.ts
Add player rekey and merge operations - POST /players/:discordId/rekey: re-key a player to a new discordId (attach a real Discord account to a player imported without one, e.g. synthetic startgg:<id> ids). Recreates the doc under the new id, deletes the old one, and rewrites all match references. 409 if the new id exists. - POST /players/merge: merge sourceDiscordId into targetDiscordId (target survives). Copies missing scalar fields, unions event memberships, sums cached stats (preserving backfilled), repoints match references, deletes the source, and recomputes target stats. Engine in src/engine/playerMerge.ts with update-pipeline match rewriting; covered by src/engine/playerMerge.test.ts (6 tests).
3 days ago
playerMerge.ts
fix: add discordLinked flag so Missing Discord filter works on numeric ids The old missingDiscord filter (discordId: {$not: /^\d+$/}) returned 0 once every player had a numeric discordId after the SSSO backfill/rekey/ merge work. Add an explicit Player.discordLinked boolean, set it on start.gg import (DISCORD connection), rekey, and PUT, backfill existing docs via a boot migration, and switch the filter to discordLinked: {$ne: true}.
3 days ago
playerStats.test.ts
feat: implement Plans 3, 6, 7 — state machine, startgg split, remove refshared - Plan 7: formalize match lifecycle as state machine (matchStateMachine.ts) * assertTransition/transition guard all phase changes in routes * restartMatch validates 'restart' transition; abandonMatch validates 'stop' * pickChart sets 'ready-check' directly; setPlayerReady advances to 'playing' * removed 4 leftover route-level progressLevel overrides - Plan 6: split startgg.ts into startggCore/Queries/Fetch modules * startgg.ts under 200 lines, re-exports from shared modules * resolved circular ESM via startggCore.ts - Plan 3: deleted refshared/ directory and all imports/references - Review fixes: revert APP_ORIGIN rename, strip sensitive fields from DB-only player view, add assertTransition('revert'), remove unused imports, update docs and tests
2 days ago
playerStats.ts
feat: §8.1 - remove chartWins from leaderboard, expand LeaderboardRow with breakdown data - Remove chartWins sort option and top-level field from LeaderboardRow - Expand LeaderboardRow to include all/tournament/friendly PlayerMatchBreakdown objects - Add toBreakdown() helper to compute derived averages from stat buckets - Update tests to cover new breakdown fields - Update OpenAPI spec (LeaderboardRow schema, sort enum) - feat(poolSize): BO1 single-chart pools return minPoolSize=1
11 hours ago
pools.test.ts
feat: implement Plans 3, 6, 7 — state machine, startgg split, remove refshared - Plan 7: formalize match lifecycle as state machine (matchStateMachine.ts) * assertTransition/transition guard all phase changes in routes * restartMatch validates 'restart' transition; abandonMatch validates 'stop' * pickChart sets 'ready-check' directly; setPlayerReady advances to 'playing' * removed 4 leftover route-level progressLevel overrides - Plan 6: split startgg.ts into startggCore/Queries/Fetch modules * startgg.ts under 200 lines, re-exports from shared modules * resolved circular ESM via startggCore.ts - Plan 3: deleted refshared/ directory and all imports/references - Review fixes: revert APP_ORIGIN rename, strip sensitive fields from DB-only player view, add assertTransition('revert'), remove unused imports, update docs and tests
2 days ago
pools.ts
feat: implement Plans 3, 6, 7 — state machine, startgg split, remove refshared - Plan 7: formalize match lifecycle as state machine (matchStateMachine.ts) * assertTransition/transition guard all phase changes in routes * restartMatch validates 'restart' transition; abandonMatch validates 'stop' * pickChart sets 'ready-check' directly; setPlayerReady advances to 'playing' * removed 4 leftover route-level progressLevel overrides - Plan 6: split startgg.ts into startggCore/Queries/Fetch modules * startgg.ts under 200 lines, re-exports from shared modules * resolved circular ESM via startggCore.ts - Plan 3: deleted refshared/ directory and all imports/references - Review fixes: revert APP_ORIGIN rename, strip sensitive fields from DB-only player view, add assertTransition('revert'), remove unused imports, update docs and tests
2 days ago
wsBroadcast.test.ts
feat: WebSocket task-progress channel for long-running jobs
1 week ago