Skip to content

Remove redundant superfast feature flag#13100

Merged
RayBB merged 1 commit into
internetarchive:masterfrom
Sanket17052006:remove-superfast-feature-flag
Jul 4, 2026
Merged

Remove redundant superfast feature flag#13100
RayBB merged 1 commit into
internetarchive:masterfrom
Sanket17052006:remove-superfast-feature-flag

Conversation

@Sanket17052006

Copy link
Copy Markdown
Contributor

Part of #12946

This PR is made to remove the redundant superfast feature flag

Technical

  • Removes the superfast feature flag which was always enabled
  • Unconditionally uses the "fast" paths: page.prefetch(), page.get_most_recent_change().author, and page.get_history_preview()

Testing

  • Ran make test-py-uv PYTEST_ARGS="openlibrary/tests/core/test_features.py"
  • No references to superfast remain anywhere in the codebase

Screenshot

N/A

Stakeholders

@RayBB

@openlibrary-bot

Copy link
Copy Markdown
Collaborator

Thanks for the PR, @Sanket17052006!

Reviewer expectations: A reviewer must first be assigned. There are currently 30 open PRs of equal or higher priority ahead of yours.

PR triage checklist (maintainers / Richy)
  • PR description — not empty; explains what the change does and how to verify it
  • References an issue — PR body contains a #NNN reference (Epic: Feature Flags Migration #12946)
    • Linked issue is triaged — has a Priority: * label
    • Linked issue is assigned — has at least one assignee
  • Commit history clean — no WIP/fixup/conflict noise; commit messages are meaningful
  • CI passing — no failing check-runs
  • Test cases present — existing test coverage was updated to match the removed conditional
  • Proof of testing — PR body describes the test command run and its result

Note

This comment was automatically generated by PAM, Open Library's Project AI Manager. PAM provides status visibility, performs basic project management functions, and gives actionable feedback so contributors aren't left waiting.

— Richy, via PAM (Open Library's Project AI Manager)

@RayBB RayBB self-assigned this Jul 2, 2026
@github-project-automation github-project-automation Bot moved this to Waiting Review/Merge from Staff in Ray's Project Jul 2, 2026
@RayBB

RayBB commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

@Sanket17052006 this one has some merge conflicts now.

@Sanket17052006 Sanket17052006 force-pushed the remove-superfast-feature-flag branch from 381210e to 5532974 Compare July 3, 2026 03:06
@Sanket17052006

Copy link
Copy Markdown
Contributor Author

Ready to go resolved the conflict!

@github-actions github-actions Bot added the Needs: Response Issues which require feedback from lead label Jul 3, 2026

@RayBB RayBB left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Great work thanks!

@RayBB RayBB merged commit 42f8853 into internetarchive:master Jul 4, 2026
4 checks passed
@github-project-automation github-project-automation Bot moved this from Waiting Review/Merge from Staff to Done in Ray's Project Jul 4, 2026
RayBB pushed a commit that referenced this pull request Jul 5, 2026
…13122)

PR #13094 removed every code reference to the recentchanges_v2 flag
(the field in openlibrary/core/features.py, the is_enabled() checks in
recentchanges.py, its template usage, and its test) but left the flag's
declaration in conf/openlibrary.yml. Nothing reads it anymore, so the
entry is dead config. Remove it to finish the cleanup, matching the
complete-removal pattern used for the superfast flag in #13100.

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

Labels

Needs: Response Issues which require feedback from lead

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants