Skip to content

BUG readme stats action fails. #629

@mikebronner

Description

@mikebronner

Describe the bug
This is related to #425, thought it would be good to start a new issue after the update from #622 as the error message now seems different.

With the updated python dependency we now seem to have a more specific error message. Not sure if this is helpful?

Exception: Query 'repo_commit_list' failed to run by returning code of 504: {'message': "We couldn't respond to your request in time. Sorry about that. Please try resubmitting your request and contact us if the problem persists."}

Additional context
Here's the full output from the GitHub workflow:

Run anmol098/waka-readme-stats@master
  with:
    WAKATIME_API_KEY: ***
    GH_TOKEN: ***
    DEBUG_LOGGING: true
    SHOW_COMMIT: false
    WAKATIME_API_URL: https://wakatime.com/api/v1/
    SECTION_NAME: waka
    SHOW_OS: True
    SHOW_PROJECTS: True
    SHOW_EDITORS: True
    SHOW_TIMEZONE: True
    SHOW_LANGUAGE: True
    SHOW_LINES_OF_CODE: False
    SHOW_LANGUAGE_PER_REPO: True
    SHOW_LOC_CHART: True
    SHOW_DAYS_OF_WEEK: True
    SHOW_PROFILE_VIEWS: True
    SHOW_SHORT_INFO: True
    SHOW_UPDATED_DATE: True
    SHOW_TOTAL_CODE_TIME: True
    COMMIT_BY_ME: False
    COMMIT_MESSAGE: Updated with Dev Metrics
    COMMIT_SINGLE: False
    LOCALE: en
    UPDATED_DATE_FORMAT: %d/%m/%Y %H:%M:%S
    SYMBOL_VERSION: 1
    BADGE_STYLE: flat
/usr/bin/docker run --name wakareadmestatswakareadmestatsmaster_a5cbf4 --label 5fad4f --workdir /github/workspace --rm -e "INPUT_WAKATIME_API_KEY" -e "INPUT_GH_TOKEN" -e "INPUT_DEBUG_LOGGING" -e "INPUT_SHOW_COMMIT" -e "INPUT_WAKATIME_API_URL" -e "INPUT_SECTION_NAME" -e "INPUT_PULL_BRANCH_NAME" -e "INPUT_PUSH_BRANCH_NAME" -e "INPUT_SHOW_OS" -e "INPUT_SHOW_PROJECTS" -e "INPUT_SHOW_EDITORS" -e "INPUT_SHOW_TIMEZONE" -e "INPUT_SHOW_LANGUAGE" -e "INPUT_SHOW_LINES_OF_CODE" -e "INPUT_SHOW_LANGUAGE_PER_REPO" -e "INPUT_SHOW_LOC_CHART" -e "INPUT_SHOW_DAYS_OF_WEEK" -e "INPUT_SHOW_PROFILE_VIEWS" -e "INPUT_SHOW_SHORT_INFO" -e "INPUT_SHOW_UPDATED_DATE" -e "INPUT_SHOW_TOTAL_CODE_TIME" -e "INPUT_COMMIT_BY_ME" -e "INPUT_COMMIT_MESSAGE" -e "INPUT_COMMIT_USERNAME" -e "INPUT_COMMIT_EMAIL" -e "INPUT_COMMIT_SINGLE" -e "INPUT_LOCALE" -e "INPUT_UPDATED_DATE_FORMAT" -e "INPUT_IGNORED_REPOS" -e "INPUT_SYMBOL_VERSION" -e "INPUT_BADGE_STYLE" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e "ACTIONS_RESULTS_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp":"/github/runner_temp" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/mikebronner/mikebronner":"/github/workspace" wakareadmestats/waka-readme-stats:master
Program execution started at 12-01-2026 14:08:41:827184.
Current user: mikebronner.
Managers initialized.
Collecting stats for README...
Getting user repositories list...
	User repository list collected!
	User contributed to repository list collected!
Calculating commit data...
	1/204 Retrieving repo: GeneaLabs/zed-phpcs-lsp
	2/204 Retrieving repo: [private]
	3/204 Retrieving repo: mikebronner/php-ide-baseline
		Skipping repo.
	4/204 Retrieving repo: mikebronner/.dotfiles
	5/204 Retrieving repo: [private]
	6/204 Retrieving repo: [private]
	7/204 Retrieving repo: [private]
	8/204 Retrieving repo: mikebronner/filament-brand-colors
	9/204 Retrieving repo: [private]
	10/204 Retrieving repo: [private]
	11/204 Retrieving repo: [private]
	12/204 Retrieving repo: [private]
	13/204 Retrieving repo: [private]
	14/204 Retrieving repo: mikebronner/sail
	15/204 Retrieving repo: [private]
	16/204 Retrieving repo: [private]
	17/204 Retrieving repo: [private]
	18/204 Retrieving repo: [private]
	19/204 Retrieving repo: [private]
	20/204 Retrieving repo: [private]
	21/204 Retrieving repo: [private]
	22/204 Retrieving repo: mikebronner/laravel-codespaces-package-template
	23/204 Retrieving repo: mikebronner/laravel-codespaces-app-template
	24/204 Retrieving repo: [private]
	25/204 Retrieving repo: [private]
	26/204 Retrieving repo: [private]
	27/204 Retrieving repo: mikebronner/laravel-multi-tenant-manager
	28/204 Retrieving repo: [private]
		Skipping repo.
	29/204 Retrieving repo: mikebronner/action-reviewdog-phpcs
	30/204 Retrieving repo: mikebronner/nova-artisan-theme
	31/204 Retrieving repo: mikebronner/panic-nova-atom-keybindings
	32/204 Retrieving repo: mikebronner/panic-nova-intelephense.novaextension
	33/204 Retrieving repo: mikebronner/panic-nova-phpmd.novaextension
	34/204 Retrieving repo: mikebronner/panic-nova-phpcs.novaextension
	35/204 Retrieving repo: mikebronner/php-coding-standards
	36/204 Retrieving repo: [private]
	37/204 Retrieving repo: [private]
	38/204 Retrieving repo: [private]
	39/204 Retrieving repo: [private]
	40/204 Retrieving repo: mikebronner/action-reviewdog-phpstan
	41/204 Retrieving repo: mikebronner/action-reviewdog-phpmd
	42/204 Retrieving repo: [private]
	43/204 Retrieving repo: mikebronner/laravel-nova-site-menu
	44/204 Retrieving repo: mikebronner/laravel-nova-pages
	45/204 Retrieving repo: mikebronner/mikebronner
	46/204 Retrieving repo: mikebronner/laravel-nova-morph-many-to-one
	47/204 Retrieving repo: mikebronner/laravel-overridable-model
	48/204 Retrieving repo: mikebronner/laravel-nova-categories
	49/204 Retrieving repo: mikebronner/laravel-nova-blog
	50/204 Retrieving repo: mikebronner/ar-challenge
	51/204 Retrieving repo: mikebronner/laravel-tenancy-scout
	52/204 Retrieving repo: [private]
	53/204 Retrieving repo: mikebronner/credo
	54/204 Retrieving repo: mikebronner/tailwind-mac-colors
	55/204 Retrieving repo: mikebronner/laravel-multi-step-progressbar
	56/204 Retrieving repo: [private]
	57/204 Retrieving repo: [private]
	58/204 Retrieving repo: [private]
	59/204 Retrieving repo: [private]
	60/204 Retrieving repo: mikebronner/livewire-tables
	61/204 Retrieving repo: [private]
	62/204 Retrieving repo: [private]
	63/204 Retrieving repo: mikebronner/tailwindcss-sketch-design-system
	64/204 Retrieving repo: mikebronner/cashier-paypal
	65/204 Retrieving repo: mikebronner/laravel-socialiter
	66/204 Retrieving repo: mikebronner/laravel-sign-in-with-apple
	67/204 Retrieving repo: mikebronner/nova-prepopulate-searchable-old
	68/204 Retrieving repo: mikebronner/laravel-cashier-braintree
	69/204 Retrieving repo: mikebronner/awesome-laravel-ignition-plugins
	70/204 Retrieving repo: mikebronner/laravel-tawk
	71/204 Retrieving repo: mikebronner/nova-passport-manager
	72/204 Retrieving repo: [private]
	73/204 Retrieving repo: mikebronner/ide-laravel
	74/204 Retrieving repo: [private]
	75/204 Retrieving repo: mikebronner/documentation
	76/204 Retrieving repo: mikebronner/nova-map-marker-field
	77/204 Retrieving repo: mikebronner/nova-file-upload-field
	78/204 Retrieving repo: mikebronner/nova-testbed
	79/204 Retrieving repo: mikebronner/laravel-changelog
	80/204 Retrieving repo: mikebronner/nova-gutenberg
	81/204 Retrieving repo: mikebronner/laravel-pivot-events
	82/204 Retrieving repo: mikebronner/nova-telescope
	83/204 Retrieving repo: mikebronner/nova-horizon
	84/204 Retrieving repo: mikebronner/nova-multi-tenant-manager
	85/204 Retrieving repo: [private]
	86/204 Retrieving repo: mikebronner/wordpress-cdn-rewriter
	87/204 Retrieving repo: [private]
	88/204 Retrieving repo: [private]
	89/204 Retrieving repo: mikebronner/nova-prepopulate-searchable
	90/204 Retrieving repo: [private]
	91/204 Retrieving repo: [private]
	92/204 Retrieving repo: [private]
	93/204 Retrieving repo: mikebronner/vaportest.genealabs.com
	94/204 Retrieving repo: mikebronner/VaporForms
	95/204 Retrieving repo: [private]
	96/204 Retrieving repo: [private]
	97/204 Retrieving repo: mikebronner/laravel-two-way-attribute-casting
	98/204 Retrieving repo: mikebronner/laravel-collection-macros
	99/204 Retrieving repo: mikebronner/laravel-phrets
	100/204 Retrieving repo: [private]
	101/204 Retrieving repo: mikebronner/laravel-tailwindcss-preset
	102/204 Retrieving repo: [private]
	103/204 Retrieving repo: [private]
Traceback (most recent call last):
  File "/waka-readme-stats/main.py", line 236, in <module>
    run(main())
    ~~~^^^^^^^^
  File "/usr/local/lib/python3.13/asyncio/runners.py", line 195, in run
    return runner.run(main)
           ~~~~~~~~~~^^^^^^
  File "/usr/local/lib/python3.13/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
  File "/usr/local/lib/python3.13/asyncio/base_events.py", line 725, in run_until_complete
    return future.result()
           ~~~~~~~~~~~~~^^
  File "/waka-readme-stats/main.py", line 223, in main
    stats = await get_stats()
            ^^^^^^^^^^^^^^^^^
  File "/waka-readme-stats/main.py", line 164, in get_stats
    yearly_data, commit_data = await calculate_commit_data(repositories)
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/waka-readme-stats/yearly_commit_calculator.py", line 37, in calculate_commit_data
    await update_data_with_commit_stats(repo, yearly_data, date_data)
  File "/waka-readme-stats/yearly_commit_calculator.py", line 63, in update_data_with_commit_stats
    commit_data = await DM.get_remote_graphql("repo_commit_list", owner=owner, name=repo_details["name"], branch=branch["name"], id=GHM.USER.node_id)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/waka-readme-stats/manager_download.py", line 310, in get_remote_graphql
    res = await DownloadManager._fetch_graphql_paginated(query, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/waka-readme-stats/manager_download.py", line 290, in _fetch_graphql_paginated
    query_response = await DownloadManager._fetch_graphql_query(query, **kwargs, pagination=pagination)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/waka-readme-stats/manager_download.py", line 248, in _fetch_graphql_query
    return await DownloadManager._fetch_graphql_query(query, retries_count - 1, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/waka-readme-stats/manager_download.py", line 248, in _fetch_graphql_query
    return await DownloadManager._fetch_graphql_query(query, retries_count - 1, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/waka-readme-stats/manager_download.py", line 248, in _fetch_graphql_query
    return await DownloadManager._fetch_graphql_query(query, retries_count - 1, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  [Previous line repeated 1 more time]
  File "/waka-readme-stats/manager_download.py", line 250, in _fetch_graphql_query
    raise Exception(f"Query '{query}' failed to run by returning code of {res.status_code}: {res.json()}")
Exception: Query 'repo_commit_list' failed to run by returning code of 504: {'message': "We couldn't respond to your request in time. Sorry about that. Please try resubmitting your request and contact us if the problem persists."}

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions