Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary functionality from the activator's codebase. #3494

Merged
merged 1 commit into from
Mar 22, 2019

Conversation

markusthoemmes
Copy link
Contributor

After introducing the throttling mechanism, a lot of the activator's functionality is no longer needed. In fact, the whole Activator interface is superfluous now.

Fixes #1573

Proposed Changes

After introducing the throttling mechanism, a lot of the activator's functionality is no longer needed. In fact, the whole Activator interface is superfluous now.

Release Note

NONE

After introducing the throttling mechanism, a lot of the activator's functionality is no longer needed. In fact, the whole Activator interface is superfluous now.
@knative-prow-robot knative-prow-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Mar 22, 2019
@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: markusthoemmes

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 22, 2019
Copy link
Contributor

@knative-prow-robot knative-prow-robot left a comment

Choose a reason for hiding this comment

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

@markusthoemmes: 0 warnings.

In response to this:

After introducing the throttling mechanism, a lot of the activator's functionality is no longer needed. In fact, the whole Activator interface is superfluous now.

Fixes #1573

Proposed Changes

After introducing the throttling mechanism, a lot of the activator's functionality is no longer needed. In fact, the whole Activator interface is superfluous now.

Release Note

NONE

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@markusthoemmes
Copy link
Contributor Author

/assign @vagababov

Copy link
Contributor

@vagababov vagababov left a comment

Choose a reason for hiding this comment

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

/lgtm
Thanks for cleaning this up!

serviceName = revision.Labels[serving.ServiceLabelKey]
}

a.Reporter.ReportRequestCount(namespace, serviceName, configurationName, name, httpStatus, attempts, 1.0)
Copy link
Contributor

Choose a reason for hiding this comment

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

I know this was here before, but do we want to report even if the names are empty?
Since this seems like a rouge request anyway?

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Mar 22, 2019
@vagababov
Copy link
Contributor

/hold
just in case

@knative-prow-robot knative-prow-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 22, 2019
@markusthoemmes
Copy link
Contributor Author

@vagababov I think I'd like to keep that as-is for this PR.

/hold cancel

@knative-prow-robot knative-prow-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Mar 22, 2019
@markusthoemmes
Copy link
Contributor Author

/test pull-knative-serving-integration-tests

@knative-prow-robot knative-prow-robot merged commit 7f410ae into knative:master Mar 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/networking lgtm Indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants