Industrial-Parasite / issues

A repo for reporting issues with Industrial Parasite Apps
0 stars 0 forks source link

[BUG] A&R Pending Releases Not Visible in Production #53

Closed Klastic closed 2 weeks ago

Klastic commented 4 months ago

Describe the bug

In the A&R Pending Releases section, not all releases that are visible in the development environment are showing up in the production environment. This issue specifically affects the A&R team's ability to view and process pending releases efficiently in the production environment.

To Reproduce

Steps to reproduce the behavior:

  1. In the development environment, navigate to the 'A&R Pending Releases' section. Note the total number and details of the releases listed as pending.
  2. Switch to the production environment and navigate to the 'A&R Pending Releases' section.
  3. Compare the list of pending releases in the production environment with that of the development environment and note missing releases in production.

Expected behavior

All pending releases visible to the A&R team in the development environment should also be visible and accessible in the production environment, ensuring consistency and enabling efficient management of releases.

Actual behavior

A discrepancy exists where some releases visible in the development environment's 'A&R Pending Releases' section are not visible in the production environment. This inconsistency hampers the A&R team's ability to review and process releases.

Environment:

Additional context

The issue has been reported by members of the A&R team, indicating it is not isolated to a specific user or setup. It is imperative to identify and resolve the root cause of this discrepancy to streamline the release management process for the A&R team in the production environment.

Klastic commented 4 months ago

Seems to be an issue with hydration between the server and the client. It will load the static generated page that is generated at build, but doesn't load the newest data from the database there after. Need to look more into this.

Klastic commented 2 weeks ago

Fixed in most recent version. Endpoints with only a GET method need to have export const dynamic = "force-dynamic"; in order to update the cache.