Skip to content

Remove "Thin" webserver - #4670

Merged
jochenehret merged 10 commits into
mainfrom
remove_thin
Dec 5, 2025
Merged

Remove "Thin" webserver#4670
jochenehret merged 10 commits into
mainfrom
remove_thin

Conversation

@jochenehret

@jochenehret jochenehret commented Nov 21, 2025

Copy link
Copy Markdown
Contributor
  • A short explanation of the proposed change:
    Remove the deprecated "Thin" webserver and also the "EventMachine" leftovers.

  • An explanation of the use cases your change solves
    Removes deprecated Gems and coding.

  • Links to any other associated PRs
    Roadmap for Thin removal #4115

  • I have reviewed the contributing guide

  • I have viewed, signed, and submitted the Contributor License Agreement

  • I have made this pull request to the main branch

  • I have run all the unit tests using bundle exec rake

  • I have run CF Acceptance Tests

* preparation for Thin removal
* replace EventMachine with Concurrent::TimerTask
* remove "thread_info_event_machine" metrics
* explicitly start and stop MetricsWebserver with Prometheus middleware
* Rack expects an enumerable. An empty string doesn't work (it worked for Thin, though).
@jochenehret
jochenehret marked this pull request as ready for review November 21, 2025 15:08
@jochenehret
jochenehret requested review from a team November 21, 2025 15:10

@philippthun philippthun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Only some smaller spec improvements...

Comment thread spec/unit/lib/cloud_controller/runner_spec.rb Outdated
Comment thread spec/unit/lib/cloud_controller/runner_spec.rb Outdated
Comment thread spec/unit/lib/cloud_controller/metrics/periodic_updater_spec.rb Outdated
@jochenehret
jochenehret merged commit 551429d into main Dec 5, 2025
21 of 23 checks passed
@moleske
moleske deleted the remove_thin branch December 5, 2025 16:22
ari-wg-gitbot added a commit to cloudfoundry/capi-release that referenced this pull request Dec 5, 2025
Changes in cloud_controller_ng:

- Remove "Thin" webserver
    PR: cloudfoundry/cloud_controller_ng#4670
    Author: Jochen Ehret <jochen.ehret@sap.com>
sethboyles pushed a commit to atanas-attodorov-wq/cloud_controller_ng that referenced this pull request Dec 11, 2025
* Remove EventMachine from Puma

* preparation for Thin removal
* replace EventMachine with Concurrent::TimerTask
* remove "thread_info_event_machine" metrics

* Remove Thin webserver

* Update metrics_spec.rb test

* explicitly start and stop MetricsWebserver with Prometheus middleware

* Fix Rack response for Puma webserver

* Rack expects an enumerable. An empty string doesn't work (it worked for Thin, though).

* Fix CORS unit test

* Shutdown metrics_webserver after each test

* Simplify specs (remove redundancies)

* Remove "threadpool_size" config parameter

* was only used for Thin/EventMachine

* Simplify spec: Extract duplicate double(:server) setup
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.

2 participants