Skip to content

Announce the Ecency 4.0 mobile release - #135

Merged
feruzm merged 2 commits into
mainfrom
feat/announce-mobile-4
Dec 3, 2026
Merged

feruzm merged 2 commits into
mainfrom
feat/announce-mobile-4

Conversation

@feruzm

@feruzm feruzm commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

Adds announcement 111 for the Ecency 4.0 mobile release, linking to the release post.

Do not merge until the post is live at /@ecency/ecency-mobile-4-0-rebuilt. Merging to main deploys. If the post goes out under another permlink, update button_link first.

  • auth: false, so signed-out visitors see it too.
  • Web shows it on the home page, the feed tabs, Waves and profile blog, posts, wallet, points and feed pages. The patterns are anchored so that /hotter or /@user/blogger do not match.
  • It comes after the proposal entry (110), so the web carousel still opens on the proposal. The mobile apps skip proposal entries and show this one.
  • No ops.

Tests: dotnet test passes (925).

Summary by CodeRabbit

  • New Features
    • Added an announcement for the Ecency 4.0 mobile app with a link to its release post.
    • On the web, the announcement can appear on the homepage, selected feeds, and user blog, posts, wallet, and points pages. On mobile, announcements are shown across the app. When multiple matching paths are specified, any matching page can display the announcement.

@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because your trial has ended. Ask your workspace admin to add credits to resume reviews. Manage billing

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-12-03T10:39:36.467830Z 8f5fbf5 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@qodo-free-for-open-source-projects

qodo-free-for-open-source-projects Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

PR Summary by Qodo

Announce the Ecency 4.0 mobile release

✨ Enhancement ⚙️ Configuration changes 📝 Documentation 🕐 Less than 10 minutes

Grey Divider

AI Description

• Adds announcement 111 for the Ecency 4.0 mobile release, linking to
 /@ecency/ecency-mobile-4-0-rebuilt.
• Shows to signed-out users (auth: false); web path regexes are anchored so /hotter and
 /@user/blogger do not match.
• Placed after proposal entry 110 so the web carousel still opens on the proposal; mobile skips it.
• Updates the path doc comment to say it can be an array and that only web reads it.
Merge Risk 🟢 Low

Blast radius 🟢 Low 💥 1 capability

  • 1 affected end-to-end capability after fault-specific containment; implementation boundaries do not widen its functional scope.
  • The changed object is returned by the announcements endpoint and represents one end-to-end announcement delivered to web and mobile clients; no separate producer, storage capability, or unrelated consumer behavior is changed.
Behavioral complexity 🟢 Low 🧩 Straightforward

  • Before, the endpoint returned a static list of announcement objects.
  • After, it returns the same list plus one object and an array of path patterns.
  • The new correctness condition is that the literal fields and each intended path pattern remain valid; no new branches, state transitions, algorithm, concurrency, or coordinated invariant is introduced.
Potential damage 🟢 Low 🩹 Reversible

  • If the announcement data or matching rules regress, clients may show the message at the wrong locations, omit it, or link users to an unusable destination.
  • The supported evidence shows no persistent-state or external transaction effect.
  • A corrective deployment can replace the static payload.
  • Existing cached responses may continue serving the old or incorrect entry until their cache windows expire; no automatic repair worker is shown.
Assessed commit 8f5fbf5
Diagram

graph TD
  A["Announcements.cs"] --> B["Announcements API"] --> C["Web client"]
  B --> D["Mobile apps"]
  C --> E["Release post"]
  D --> E
Loading
High-Level Assessment

Hard-coding the announcement in the handler is consistent with the existing entries. The real risk is that merging deploys immediately, so the link must be live first. A dated or flag-gated entry would decouple merge from publication, but the current schema has no such field, so the PR's approach is reasonable as written. Do not merge until the release post is live at the linked permlink.

Files changed (1) +13 / -1

Enhancement (1) +13 / -1
Announcements.csAdd announcement 111 and document array-valued path +13/-1

Add announcement 111 and document array-valued path

• Adds announcement 111 for the Ecency 4.0 mobile release, with auth false and a path array of three anchored regexes for home, feed tabs, Waves, and profile subpages. Updates the path doc comment to state that the value can be an array and that only web applies it.

dotnet/EcencyApi/Handlers/Announcements.cs

@qodo-free-for-open-source-projects

qodo-free-for-open-source-projects Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (1) 📘 Rule violations (0) 📎 Requirement gaps (0) 🎨 UX issues (0) 🔗 Cross-repo conflicts (0) 📜 Skill insights (0)

Grey Divider


Remediation recommended

1. Announcement goes live with a link to an unpublished post 🐞 Bug ☼ Reliability
Description
The button_link for entry 111 is hard-coded to /@ecency/ecency-mobile-4-0-rebuilt, and nothing
in this change checks that the post exists. Per CLAUDE.md, merging to main ships static announcement
data immediately, so every signed-out and signed-in visitor on the listed pages gets a button that
leads to a missing page if the merge happens before the post is published.
Code

dotnet/EcencyApi/Handlers/Announcements.cs[43]

+            ["button_link"] = "/@ecency/ecency-mobile-4-0-rebuilt",
Evidence
The link is a literal string with no existence check. CLAUDE.md states that static announcement data
is published by merging to main and CI shipping it, so the link goes live with the merge.

dotnet/EcencyApi/Handlers/Announcements.cs[37-46]
CLAUDE.md[88-88]

Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
Entry 111 in `Announcements.Json()` links to `/@ecency/ecency-mobile-4-0-rebuilt`. Merging to main deploys this static data immediately, so the announcement is shown to all users before the target post may exist.
## Fix Focus Areas
- dotnet/EcencyApi/Handlers/Announcements.cs[37-46]
## Recommended Fix
Hold this PR as a draft until the post is live, or split the change: merge the announcement only after confirming `/@ecency/ecency-mobile-4-0-rebuilt` resolves. If the permlink changes, update `button_link` in the same PR before merging.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools



Informational

2. Entry 111 uses an array path while entry 110 uses a string ✓ Resolved Bug Maintainability
Description
Entry 110 sets path as a single regex string, but entry 111 sets it as a JSON array of three
patterns, and the class header documents path only as a regex. If the web consumer builds a RegExp
from the value, an array is coerced to a comma-joined string, which would silently break matching
for entry 111 with no build or test failure.

Grey Divider

Tip of the day
💡 Did you know, you can move or hide resolved findings to focus on what still needs action

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

@greptile-apps

greptile-apps Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5RetriggerView in Greptile

[Medium impact] No code issue blocks merging once the release post is live.

Summary

Adds announcement 111 for Ecency 4.0 on iOS and Android.

  • The announcement list now includes Ecency 4.0’s mobile release.

The PR description requires waiting until the linked release post is live before merging.

Reviews (3) · Last reviewed commit: "Document that an announcement path can b..." · Reviewed by Greptile

@coderabbitai

coderabbitai Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The announcements response adds announcement 111 for the Ecency 4.0 mobile app. It includes a release link, route patterns, and auth set to false. The path documentation describes regex matching and its use by web.

Changes: Mobile app announcement

Layer / File(s) Summary
Add announcement and document path matching
dotnet/EcencyApi/Handlers/Announcements.cs
Announcements.Json() adds announcement 111 with a release link, route patterns, and auth set to false. The path documentation describes regex matching and states that web alone uses the field.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Feature

Merge Risk: Minimal · up to 8f5fb

This adds a static announcement for the Ecency 4.0 mobile release. No concrete risk was found, as long as the release post is live at the linked permlink before merging.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "Announce the Ecency 4.0 mobile release" matches the main change. The PR adds announcement 111 for the Ecency 4.0 mobile release, with an update link, path patterns, and auth set to false. T…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "Announce the Ecency 4.0 mobile release" matches the main change. The PR adds announcement 111 for the Ecency 4.0 mobile release, with an update link, path patterns, and auth set to false. The title is short, specific, and names the primary change. It does not cover the path-matching documentation change, which is a secondary detail.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

A rabbit reads the release note bright
Route patterns guide the page in sight
The mobile message joins the stream
Web checks paths as browsers dream
One small announcement hops on by

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 9a0dde24-fc0b-490f-88a1-269f7840671c
Commits

Reviewing files that changed from the base of the PR and between 5aa6fcf and 8f5fbf5.

Files selected for processing: 1

  • dotnet/EcencyApi/Handlers/Announcements.cs

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@feruzm
feruzm marked this pull request as draft December 2, 2026 06:21
@feruzm
feruzm marked this pull request as ready for review December 3, 2026 10:38
@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code review by qodo was updated up to the latest commit 8f5fbf5

@feruzm
feruzm merged commit 6206a52 into main Dec 3, 2026
5 checks passed
@feruzm
feruzm deleted the feat/announce-mobile-4 branch December 3, 2026 10:44
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.

1 participant