Stability problem: Project creation.
Sometimes when I push to newly created project I get 500 error. Log says:
Started POST "/api/v3/internal/allowed" for 127.0.0.1 at 2014-11-19 09:55:33 -0500
NoMethodError (undefined method `tag_names' for nil:NilClass):
/opt/gitlab/embedded/service/gitlab-rails/app/models/repository.rb:107:in `block in tag_names'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/cache.rb:296:in `block in fetch'
/opt/gitlab/embedded/service/gem/ruby/2.1.0/gems/activesupport-4.1.1/lib/active_support/cache.rb:587:in `block in save_block_result_to_cache'
When I remove project and create it again then everything is working good. Note: I did not find any errors during project creation. So it looks like we have to improve error handling.