Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@fbacall
Copy link
Member

@fbacall fbacall commented Dec 22, 2025

Summary of changes

Motivation and context

Action run failed due to rate limit hit: https://github.com/ElixirTeSS/TeSS/actions/runs/20440274417/job/58731372004#step:5:18

docker: Error response from daemon: toomanyrequests: You have reached your unauthenticated pull rate limit. https://www.docker.com/increase-rate-limit.

and possibly GitHub does some caching/mirroring when you use its built-in services that could avoid this...?

Checklist

  • I have read and followed the CONTRIBUTING guide.
  • I confirm that I have the authority necessary to make this contribution on behalf of its copyright owner and agree
    to license it to the TeSS codebase under the
    BSD license.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR modernizes the GitHub Actions workflow configuration by replacing third-party container actions with GitHub's native containerized services for PostgreSQL and Redis. The motivation is to avoid Docker Hub rate limiting issues that caused recent CI failures.

  • Migrated PostgreSQL from harmon758/postgresql-action@v1 to native GitHub services
  • Migrated Redis from supercharge/redis-github-action@1.5.0 to native GitHub services
  • Standardized Redis port from 6456 to 6379 in the test workflow

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/test.yml Replaced custom Postgres and Redis actions with native GitHub services; updated Redis port from 6456 to 6379; added health checks for both services
.github/workflows/deployment-checks.yml Replaced custom Postgres action with native GitHub services; added Redis service with health checks

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +20 to +22
POSTGRES_DB: ${{ env.DB_NAME }}
POSTGRES_USER: ${{ env.DB_USER }}
POSTGRES_PASSWORD: ${{ env.DB_PASSWORD }}
Copy link

Copilot AI Dec 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The env context is not available in the services section of GitHub Actions. The expressions ${{ env.DB_NAME }}, ${{ env.DB_USER }}, and ${{ env.DB_PASSWORD }} will not be interpolated and will result in empty values being passed to the PostgreSQL container.

You should use hardcoded values directly in the service configuration instead.

Suggested change
POSTGRES_DB: ${{ env.DB_NAME }}
POSTGRES_USER: ${{ env.DB_USER }}
POSTGRES_PASSWORD: ${{ env.DB_PASSWORD }}
POSTGRES_DB: tess
POSTGRES_USER: tess
POSTGRES_PASSWORD: password

Copilot uses AI. Check for mistakes.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not seem to be the case, as indicated by the actions running successfully.

Comment on lines +19 to +21
POSTGRES_DB: ${{ env.DB_NAME }}
POSTGRES_USER: ${{ env.DB_USER }}
POSTGRES_PASSWORD: ${{ env.DB_PASSWORD }}
Copy link

Copilot AI Dec 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The env context is not available in the services section of GitHub Actions. The expressions ${{ env.DB_NAME }}, ${{ env.DB_USER }}, and ${{ env.DB_PASSWORD }} will not be interpolated and will result in empty values being passed to the PostgreSQL container.

You should use hardcoded values directly in the service configuration instead.

Suggested change
POSTGRES_DB: ${{ env.DB_NAME }}
POSTGRES_USER: ${{ env.DB_USER }}
POSTGRES_PASSWORD: ${{ env.DB_PASSWORD }}
POSTGRES_DB: tess
POSTGRES_USER: tess
POSTGRES_PASSWORD: password

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.