Skip to content

chore(auth,config,mdm): remove dead initialization and utility methods#1339

Open
jwiegley wants to merge 1 commit into
dc/metrics-sparse-cleanupfrom
dc/auth-config-mdm-cleanup
Open

chore(auth,config,mdm): remove dead initialization and utility methods#1339
jwiegley wants to merge 1 commit into
dc/metrics-sparse-cleanupfrom
dc/auth-config-mdm-cleanup

Conversation

@jwiegley
Copy link
Copy Markdown
Contributor

@jwiegley jwiegley commented May 11, 2026

Summary

CredentialStore::has_credentials: zero callers outside its own tests. Config::init: redundant with the lazy Config::get() initializer. FeatureFlags::from_env and from_deserializable: dead since from_env_and_file became the sole production entry point. Spinner::update_message, wait_for, skipped: zero callers in production.

Test plan

  • task build passes
  • task lint passes

🤖 Generated with Claude Code


Open in Devin Review

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@jwiegley jwiegley requested review from heapwolf and svarlamov May 11, 2026 20:52
@jwiegley jwiegley force-pushed the dc/metrics-sparse-cleanup branch from b7834ac to b0224cf Compare May 13, 2026 18:03
@jwiegley jwiegley force-pushed the dc/auth-config-mdm-cleanup branch from 7fdd403 to 9147d02 Compare May 13, 2026 18:03
@jwiegley jwiegley force-pushed the dc/metrics-sparse-cleanup branch from b0224cf to 6fdf6ed Compare May 19, 2026 22:24
@jwiegley jwiegley force-pushed the dc/auth-config-mdm-cleanup branch from 9147d02 to 8780647 Compare May 19, 2026 22:24
@jwiegley jwiegley force-pushed the dc/metrics-sparse-cleanup branch from 6fdf6ed to fcd41cc Compare May 26, 2026 17:19
@jwiegley jwiegley force-pushed the dc/auth-config-mdm-cleanup branch from 8780647 to 2a9a1ca Compare May 26, 2026 17:19
@jwiegley jwiegley force-pushed the dc/metrics-sparse-cleanup branch from fcd41cc to ee48db8 Compare May 28, 2026 18:13
@jwiegley jwiegley force-pushed the dc/auth-config-mdm-cleanup branch from 2a9a1ca to a085b70 Compare May 28, 2026 18:13
- CredentialStore::has_credentials: zero callers outside its own tests
- Config::init: redundant with the lazy Config::get() initializer;
  nothing called it explicitly
- FeatureFlags::from_env and from_deserializable: dead since
  from_env_and_file became the single production entry point
- Spinner::update_message, wait_for, skipped: UI helpers with zero
  callers; the spinner is driven solely via start/finish in production

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@jwiegley jwiegley force-pushed the dc/metrics-sparse-cleanup branch from ee48db8 to 6a6b31c Compare June 1, 2026 18:30
@jwiegley jwiegley force-pushed the dc/auth-config-mdm-cleanup branch from a085b70 to 32eb469 Compare June 1, 2026 18:30
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