aws-amplify / aws-amplify/amplify-hosting

ISR pages are not regenerating on time

Open
#2,190 15 comments 0 reactions 0 assignees View on GitHub
bug ssr
Dominant language
Dockerfile
Stars
481
Forks
123
PR merge metrics
No merged PRs in 30d

Description

### Before opening, please confirm:

- [X] I have checked to see if my question is addressed in the [FAQ](https://github.com/aws-amplify/amplify-console/blob/master/FAQ.md).
- [X] I have [searched for duplicate or closed issues](https://github.com/aws-amplify/amplify-console/issues?q=is%3Aissue+).
- [X] I have read the guide for [submitting bug reports](https://github.com/aws-amplify/amplify-console/blob/master/CONTRIBUTING.md).
- [X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

### App Id

d3iusqza06a1ll

### Region

ap-south-1

### Amplify Console feature

Not applicable

### Describe the bug

We had multiple pages with revalidate 10, but for some reason the regeneration is not taking place.
Sometime randomly it regenerates the pages, but sometime completely missed the regeneration.

We tried multiple timestamps like after 5sec, 10sec, 20sec but the behaviour is very inconsistent. Not sure why this is happening.

### Expected behavior

Amplify should respect revalidate and make sure it either generates the page or provide error in cloudwatch if generation fails.

### Reproduction steps

NA

### Build Settings

_No response_

### Additional information

_No response_

Contributor guide

Open the contributing guide

Research direction

No repository files, tests, or reproducible steps are provided. Start by investigating the reported Amplify app d3iusqza06a1ll in ap-south-1 and reproduce the ISR revalidation behavior with the stated intervals; done means identifying why regeneration is missed or ensuring failures are visible in CloudWatch.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, next.js
Domain
cloud, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.