Skip to content

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

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

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

@jwiegley jwiegley commented May 11, 2026

Copy link
Copy Markdown
Contributor

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

@devin-ai-integration devin-ai-integration 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.

✅ 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
@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
@jwiegley jwiegley force-pushed the dc/metrics-sparse-cleanup branch from 6a6b31c to c6b20e3 Compare June 8, 2026 17:56
@jwiegley jwiegley force-pushed the dc/auth-config-mdm-cleanup branch from 32eb469 to c46f342 Compare June 8, 2026 17:56
@jwiegley jwiegley force-pushed the dc/metrics-sparse-cleanup branch from c6b20e3 to bafdda4 Compare June 9, 2026 16:36
@jwiegley jwiegley force-pushed the dc/auth-config-mdm-cleanup branch from c46f342 to 3d55c11 Compare June 9, 2026 16:36
- 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 bafdda4 to d5a507e Compare June 12, 2026 19:50
@jwiegley jwiegley force-pushed the dc/auth-config-mdm-cleanup branch from 3d55c11 to 929bf60 Compare June 12, 2026 19:50
@jwiegley jwiegley closed this Jun 17, 2026
@jwiegley jwiegley deleted the dc/auth-config-mdm-cleanup branch June 17, 2026 19:28
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