• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

FAForever / server
95%
develop: 96%

Build:
Build:
LAST BUILD BRANCH: dependabot/pip/aiohttp-3.7.4
DEFAULT BRANCH: develop
Repo Added 10 Jan 2015 03:26PM UTC
Files 0
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH v1.3.5
branch: v1.3.5
CHANGE BRANCH
x
Reset
  • v1.3.5
  • 0.9.23
  • Askaholic-patch-1
  • HEAD
  • IDragonfire-patch-1
  • INSANITY
  • Rackover-patch-1
  • UID_hit_fix_link_in_message
  • asyncio-lobbyconnection-#83
  • baked_db_test
  • ban_duration
  • before-squash-feature/#422-implement-party-system-matchmaking
  • bugfix/#248-outdated-rating
  • bugfix/#255-stats-bug
  • bugfix/#273-map-id-0
  • bugfix/#312-fix-remove-avatar
  • bugfix/#313-clan-database
  • bugfix/pytest-cov-version
  • check_ban_on_join
  • clean/extraneous-spaces
  • completePlayerInfo
  • connectivity
  • consistent_admin
  • dependabot/pip/aiohttp-3.7.4
  • develop
  • docs/connectivity
  • feature/#175-trueskill-single-player
  • feature/#177-api-ssl-certificate
  • feature/#211-adapt-mod-tables
  • feature/#231-survived-player
  • feature/#233-ice-support
  • feature/#237-reconnect-players
  • feature/#240-enable-uid
  • feature/#240-enable-uuid
  • feature/#250-shutdown-broadcast
  • feature/#253-missing-game-connection
  • feature/#275-ranked-equilibrium
  • feature/#327-faf-policy-server
  • feature/#422-implement-party-system-matchmaking
  • feature/153-robust-stats
  • feature/155-fix-ban-expiry
  • feature/account_cooling
  • feature/adapt-unit-stats
  • feature/clan-view-use-faf-lobby
  • feature/divisions
  • feature/fix-faftools-version
  • feature/map-table-cleanup
  • feature/multiport-natserver
  • feature/new-permission-system
  • feature/rating_ranges
  • feature/rehost
  • feature/set-map-id
  • feature/stream-#82
  • feature/top-score-achievements
  • feature/track-client-version
  • feature/turn
  • feature/uid-constraints
  • fix-github-action-release
  • fix-wrong-avatar-selected
  • fix/195-coop-leaderboards
  • fix/aiomysql
  • fix/create_account
  • fix_db_123
  • fix_unrank_ai
  • fix_validation
  • fix_visibility
  • hotfix/v0.4.1
  • ice_tests
  • improve-error-messages
  • landscape-config
  • landscape-fixes
  • maintenance/db-v96
  • master
  • moarTests
  • muellni-ice
  • notin
  • prune_game_type
  • python3.5
  • refactor/matchmaker
  • refactor/protocol
  • release/0.6
  • release/connectivity
  • release/v0.3
  • release/v0.5.1
  • remove-unused-update_rating
  • revert-380-issue/#195-coop-leaderboards
  • simpler_avatars
  • single_report_system
  • staging-v1.3.6
  • staging-v1.3.7
  • staging-v1.4.3
  • test
  • tmp/d1
  • tmp/d2
  • update-develop
  • update-master
  • update-numGames
  • v0.2.2
  • v0.2.3
  • v0.3
  • v0.4
  • v0.4.1
  • v0.5
  • v0.5.1
  • v0.5.2
  • v0.5.3
  • v0.6
  • v0.6.1
  • v0.8
  • v0.9
  • v0.9.1
  • v0.9.10
  • v0.9.11
  • v0.9.12
  • v0.9.13
  • v0.9.14
  • v0.9.15
  • v0.9.17
  • v0.9.18
  • v0.9.19
  • v0.9.2
  • v0.9.20
  • v0.9.21
  • v0.9.22
  • v0.9.23
  • v0.9.24
  • v0.9.25
  • v0.9.26
  • v0.9.27
  • v0.9.28
  • v0.9.29
  • v0.9.3
  • v0.9.30
  • v0.9.31
  • v0.9.32
  • v0.9.33
  • v0.9.4
  • v0.9.6
  • v0.9.7
  • v0.9.8
  • v1.0
  • v1.1
  • v1.2
  • v1.3
  • v1.3.1
  • v1.3.2
  • v1.3.3
  • v1.3.4
  • v1.3.6
  • v1.3.7
  • v1.4.0
  • v1.4.1
  • v1.4.2
  • v1.4.3
  • v1.5.0
  • v1.5.1
  • v1.5.2
  • v1.6.0

pending completion
3357

push

travis-ci

web-flow
Asyncio drain fix 2 (#532)

* Add `connected` field to QDataStreamProtocol to make cleanup easier

This makes it so that cleanup still happens only in one place in 
ServerContext, but other callers of `send_message` will also get an 
error if the protocol has disconnected. So for instance if the ladder 
service tries to send a message start a game but one client disconnects, 
`DisconnectedError` will be raised so that ladder service can 
approprately cancel the game setup, and the ServerContext will clean up 
the connection as soon as the disconnect is detected.

* Add a `broadcast` function for when we want to send normal json data

* Add send_mesage method to player

* Refactor GameConnection send method

* Add error handling to places where `send` was called other than from self

* Log sent messages after they've succesfully been sent.

* Use QDatastreamProtocol.close method

* Only call ladder_service on_connection_lost if player is not None

* Save connection before yielding

* Log suppressed exceptions at the debug level

* Set connected attribute when drain fails

* Suppress DisconnectedError as drain does not reliably raise exceptions

* await `_handle_lobby_state` properly

* Make sure `close` marks the protocol as disconnected

* Only broadcast to connected protocols

* Use transport is_closing property directly

* Clean up some exception logging

* Don't yield between checking weak reference existence

* Explicitly check host player state instead of asserting as precondition

* Handle GameError explicitly

* Ignore DisconnectedError when we know the host has already timed out

* More weak reference checking

* Adjusting tests for travis

* Refactor tests

* Remove dead code

* Add more tests for QDatastreamProtocol

* Ignore peer disconnects when joining a game

* Ignore disconnects when trying to kick someone

* Add some fast forwards to speed up tests

* Move tests to their... (continued)

3172 of 3344 relevant lines covered (94.86%)

0.95 hits per line

Relevant lines Covered
Build:
Build:
3344 RELEVANT LINES 3172 COVERED LINES
0.95 HITS PER LINE
Source Files on v1.3.5
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
3357 v1.3.5 Asyncio drain fix 2 (#532) * Add `connected` field to QDataStreamProtocol to make cleanup easier This makes it so that cleanup still happens only in one place in ServerContext, but other callers of `send_message` will also get an error if ... push 04 Mar 2020 11:34PM UTC web-flow travis-ci pending completion  
See All Builds (3416)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc