Skip to content

Mock activity timestamps are anchored at module load, so a long-running server shows the 'live' feed hours or days stale #707

Closed

Description

@chonilius

Problem

recentActivity uses minutesAgo(n), computed once when mock-data.ts is first imported. On a long-lived Next.js server, the module stays loaded, so a day after deploy the homepage's "Live on the platform" feed reads "1 day ago" for every event. #201 replaced literals with this anchoring, which only works for short-lived processes.

Suggested fix

Compute the timestamps at render or request time (a function, not a constant), or stop presenting mock events as live.

Related: #201, #358

Activity

  1. added
    bugSomething isn't working
    Stellar WaveIssues in the Stellar wave program
    and removed
    Stellar WaveIssues in the Stellar wave program
    on Oct 13, 2026
  2. CollinsKRO commented on Oct 17, 2026

    @CollinsKRO

    @CollinsKRO has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    Hi Maintainer, I can fix this pls assign. ETA 5hrs

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @CollinsKRO to this issue.

  3. harmondconsultant-png commented on Oct 17, 2026

    @harmondconsultant-png

    @harmondconsultant-png has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    hy, i can work on it pleas assign

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @harmondconsultant-png to this issue.

  4. tijanib141 commented on Oct 17, 2026

    @tijanib141

    @tijanib141 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    hi, please give me this, i can do this fast

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @tijanib141 to this issue.

  5. Wittig18 commented on Oct 17, 2026

    @Wittig18

    @Wittig18 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    hey maintainer, i would love to work on this

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Wittig18 to this issue.

  6. moon-code12 commented on Oct 17, 2026

    @moon-code12

    @moon-code12 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    Hello Maintainers, I would like to express my interest in working on this issue. I have reviewed the issue description and understand the problem that needs to be addressed. My approach will be to investigate the existing codebase, identify the root cause, and implement a solution that follows the project's existing architecture and coding standards.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @moon-code12 to this issue.

  7. Prudentdev-xyz commented on Oct 17, 2026

    @Prudentdev-xyz
    Contributor

    @Prudentdev-xyz has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    Hi maintainer,

    I came across this issue and would love to work on it. I’m interested in contributing to real-world open-source projects and growing my engineering skills. I’ve also contributed to Web3 projects and open-source initiatives.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Prudentdev-xyz to this issue.

  8. davidluxedesigns commented on Oct 17, 2026

    @davidluxedesigns

    @davidluxedesigns has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    It will be my pleasure if you assign this issue to me sir

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @davidluxedesigns to this issue.

  9. chimdinduobidike23-norman commented on Oct 17, 2026

    @chimdinduobidike23-norman

    @chimdinduobidike23-norman has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    Please assign to me maintainer i can get it done no issues

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @chimdinduobidike23-norman to this issue.

  10. godwinedemodu commented on Oct 17, 2026

    @godwinedemodu

    @godwinedemodu has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    give me a chance to work on this issue

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @godwinedemodu to this issue.

  11. sim3onkiel commented on Oct 17, 2026

    @sim3onkiel

    @sim3onkiel has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    Hello, I’ve thoroughly read the issue description and understand the expected outcome. I’d love to work on it, it'll be waiting for a feedback.
    Thanks

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @sim3onkiel to this issue.

  12. Elioo12 commented on Oct 17, 2026

    @Elioo12

    @Elioo12 has applied to work on this issue as part of the Stellar Wave Program's 10th wave.

    Hello Maintainer, I have carefully reviewed the issue description and have a clear understanding of the expected outcome. I am interested in working on this task and confident in my ability to make a meaningful contribution. I would appreciate the opportunity to take it on. Thank you for your consideration.

    ℹ️ Repo Maintainers: To accept this application, review their application or assign @Elioo12 to this issue.

  13. drips-wave commented on Oct 17, 2026

    @drips-wave

    Congratulations, @Prudentdev-xyz! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on October 22, 2026.

    🧑‍💻 @Prudentdev-xyz: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

    Warning

    When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

    🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

    🌊 Happy Wave 🌊

  14. grantfox-oss commented on Oct 17, 2026

    @grantfox-oss

    🎉 This issue has been marked as completed on GrantFox!

    @Prudentdev-xyz's PR #807 was approved and merged by @chonilius.

    🏆 @Prudentdev-xyz: You earned 35 FoxPoints for this contribution! Your current tier: Explorer (350 total points). Track your full progress on GrantFox.

    👏 Great work, @Prudentdev-xyz! Keep contributing to MergeFi.

  15. drips-wave commented on Oct 17, 2026

    @drips-wave

    This issue has been completed by @Prudentdev-xyz as part of the Stellar Wave Program's 10th Wave 🥳

    😎 @Prudentdev-xyz: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.

    🧑‍💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave programbugSomething isn't workinggood first issueGood for newcomers

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions