Skip to content

[AI Improvement] [Task] Remove unreferenced experiments crossservicerules, emulatorapphosting, and runfunctions - #11214

Draft
joehan wants to merge 2 commits into
mainfrom
ai-improve-568084751-task-remove-unreferenced-experiment
Draft

joehan wants to merge 2 commits into
mainfrom
ai-improve-568084751-task-remove-unreferenced-experiment

Conversation

@joehan

@joehan joehan commented Sep 30, 2026

Copy link
Copy Markdown
Member

Resolves Buganizer b/568084751

Proposed Improvement

Removes three dead and unreferenced experiment entries from ALL_EXPERIMENTS in src/experiments.ts:

  • runfunctions
  • emulatorapphosting
  • crossservicerules

None of these experiments are referenced anywhere else in the codebase or checked via isEnabled/assertEnabled. Existing user preferences for unknown experiments are dropped gracefully by localPreferences() and enableExperimentsFromCliEnvVariable().

Verification

  • npm run build: clean build
  • npm run lint:quiet: full-repo lint passed cleanly (0 errors)
  • npm run test:compile: passed cleanly
  • npx mocha src/experiments.spec.ts: passed cleanly
  • Manual: node lib/bin/firebase.js experiments:enable crossservicerules correctly fails with unknown experiment error

@joehan joehan self-assigned this Sep 30, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request removes three unused experiments ('crossservicerules', 'emulatorapphosting', and 'runfunctions') from 'src/experiments.ts' and documents these removals in 'CHANGELOG.md'. There are no review comments, so I have no feedback to provide.

…task-remove-unreferenced-experiment

# Conflicts:
#	CHANGELOG.md

This branch has not been deployed

No deployments
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