arXiv:2610.39640cs.SEOct 2026

Manuscript Offprint

arXiv:2610.39640

Early Prediction of Cross-Service Implementation Scope: Evidence and Limits from Multiple Microservice Projects

Zhoumaocuo, Xiaozhou Li

Zhoumaocuo¹ and Xiaozhou Li²[0000-0002-3767-2527] *

¹ Virginia Polytechnic Institute and State University, Blacksburg, VA, USA zmaocuo0219@vt.edu ² Xi'an Jiaotong-Liverpool University, Suzhou, China xiaozhou.li@xjtlu.edu.cn

Abstract. Microservice architectures aim to localize change, yet feature requests may require implementation across service boundaries. We investigate how well such downstream scope can be anticipated before implementation begins. Using issue-pull-request-commit traceability and implementation evidence corrected through targeted human adjudication, we reconstruct 866 repository-traceable feature requests from 13 open-source microservice projects and map their implementations to validated service boundaries. Cross-service changes occur in 101 requests (11.7%) and exhibit broader implementation footprints, particularly higher code churn, but no clear difference in lead time. Pre-implementation evidence provides limited cross-project predictive signal: the strongest leave-one-system-out model reaches a project-macro Macro-F1 of 0.484, but its advantage over the majority baseline is not significant after Holm correction and is sensitive to small evaluation folds. A local LLM offers no reliable improvement over classical models. Downstream workload is substantially harder to estimate, as learned models do not consistently outperform training-fold median baselines. A simple service-mention heuristic also performs comparably to learned scope triage. These findings show that early feature-request evidence is more useful for lightweight cross-service scope triage than for automated scope determination or precise workload estimation.

Keywords: Microservices · Feature requests · Implementation scope · Cross-service change · Software effort prediction.

1 Introduction

Microservice architectures aim to localize change through independently deployable services, yet implementation can still propagate across service boundaries through technical dependencies and evolutionary relationships [4, 12, 7]. This creates an early planning question for maintainers: can the eventual architectural reach of a feature request be anticipated before implementation begins?

  • Corresponding author.

Zhoumaocuo and Li

Cross-service work is also an organizational phenomenon. Developers frequently contribute to multiple services [5, 14], while Organizational Coupling (OC) captures such activity [15] and has been linked to developer roles, organizational cohesion, and architectural degradation [17, 16, 18]. Together with logical-coupling and change-impact studies [12, 7], this work explains cross-service evolution mainly after development activity becomes observable.

The earlier decision point at feature intake remains less understood. Issue trackers provide request text, labels, reporter history, repository context, and early discussion that may support prediction. Although issue text has been used for effort estimation [9], anticipating architectural reach is distinct: estimating whether implementation will cross service boundaries is not equivalent to estimating how much downstream work will follow.

We distinguish implementation scope, the number of microservices touched by a realized change, from implementation workload, represented by commits, developers, code churn, and lead time. Scope is not a direct proxy for effort, nor is cross-service implementation inherently harmful; legitimate features, dependency changes, and coordinated maintenance may span several services. Our goal is therefore to anticipate broader architectural reach for planning and review.

We study this through multi-project repository mining, reconstructing and human-validating implementation evidence from issue-pull-request-commit traceability and mapping changed files to validated service boundaries. Predictors are limited to pre-implementation evidence. We compare text-based and structured classical models, their combination, and a local LLM, using leave-one-system-out validation as the primary cross-project evaluation. This design addresses the following research questions:

RQ1. How does implementation scope vary across microservice feature requests?

RQ2. How accurately can pre-implementation evidence predict cross-service implementation?

RQ3. How accurately can downstream workload be estimated before implementation?

RQ4. Which early information supports scope prediction and practical triage?

Our cohort contains 866 repository-traceable feature requests with targeted human corrections from 13 projects, including 101 (11.7%) cross-service implementations. Cross-service requests show broader realized work, particularly code churn, but remain difficult to predict: the strongest primary LOSO model reaches Macro-F1=0.484, although its advantage over the majority baseline is not significant after Holm correction and is sensitive to small test folds. The local LLM offers no reliable improvement. Workload estimation is weaker still, with learned models failing to consistently outperform training-fold median baselines. Overall, early evidence is more informative about where implementation may spread than how much work will follow.

This paper contributes: (1) a multi-project characterization of implementation scope and downstream workload using human-adjudicated implementation evidence; (2) a leakage-controlled evaluation of classical and local-LLM approaches that establishes the limits of early scope and workload prediction; and (3) an analysis of pre-implementation information for lightweight scope triage, including comparisons with simple heuristics. The results support prioritizing requests for earlier architectural review rather than automated implementation planning.

References (22)