GitHub Actions(GA)是一个编排平台,用于简化软件工程任务(如构建、测试和部署)的自动执行。尽管 GA 工作流是实现自动化的主要手段,但根据我们的经验和观察,仍需要人工干预来纠正缺陷、更新依赖或重构现有的工作流文件。事实上,先前的研究已经表明,与工作流类似的软件制品(如构建文件和机器人)会给软件项目带来额外的维护任务。这表明,同样用于在专业软件生产中自动化重复任务的工作流文件,可能会给开发者带来额外的工作负担。然而,这类工作的性质尚未得到充分研究。本文通过研究近 200 个成熟 GitHub 项目中跨十种编程语言的工作流文件的演化,开展了一项大规模实证调查,以刻画 GA 工作流的维护特征。我们的发现在很大程度上证实了先前关于类似制品维护研究的结果,同时也揭示了 GA 特有的见解,例如缺陷修复和 CI/CD 改进是 GA 维护的主要驱动因素之一。一个直接的启示是,从业者应当意识到需要为维护 GA 工作流进行适当的资源规划与分配,从而揭示出“自动化的隐性成本”。我们的发现还呼吁识别并记录此类维护的最佳实践,并增强支持依赖跟踪和更完善的工作流规范错误报告的工具功能。
英文摘要:
GitHub Actions (GA) is an orchestration platform that streamlines the automatic execution of software engineering tasks such as building, testing, and deployment. Although GA workflows are the primary means for automation, according to our experience and observations, human intervention is necessary to correct defects, update dependencies, or refactor existing workflow files. In fact, previous research has shown that software artifacts similar to workflows, such as build files and bots, can introduce additional maintenance tasks in software projects. This suggests that workflow files, which are also used to automate repetitive tasks in professional software production, may generate extra workload for developers. However, the nature of such effort has not been well studied. This paper presents a large-scale empirical investigation towards characterizing the maintenance of GA workflows by studying the evolution of workflow files in almost 200 mature GitHub projects across ten programming languages. Our findings largely confirm the results of previous studies on the maintenance of similar artifacts, while also revealing GA-specific insights such as bug fixing and CI/CD improvement being among the major drivers of GA maintenance. A direct implication is that practitioners should be aware of proper resource planning and allocation for maintaining GA workflows, thus exposing the ``hidden costs of automation.'' Our findings also call for identifying and documenting best practices for such maintenance, and for enhanced tool features supporting dependency tracking and better error reporting of workflow specifications.
Maintenance of Automated Test Suites in Industry: An Empirical study on Visual GUI Testing
验证与确认(Verification and Validation,V&V)活动在实践中占软件系统总开发成本的20%到50%。测试自动化被提出来降低这些V&V成本,但现有的研究只提供了有限的经验数据,从工业实践中的维护成本的自动化测试和影响这些成本的因素。特别是,这些成本和因素对于基于GUI的自动化测试是未知的。目的:本文通过分析与工业实践中基于GUI的自动化测试维护相关的成本和因素,解决了这种知识的缺乏。方法:在两个公司,西门子和萨博,实证研究报告的采访,和实证工作,可视化GUI测试进行获取数据的技术的维护成本和可行性。结果:观察到13个因素,影响维修,如测试人员的知识/经验和测试用例的复杂性。此外,统计分析表明,开发新的测试脚本比维护成本更高,但频繁的维护比不频繁的大爆炸维护成本更低。此外,成本模型,在以前的工作的基础上,提出了估计的时间,以积极的投资回报率(ROI)的测试自动化相比,手动测试。结论:它的结论是,测试自动化可以降低一个项目的整体软件开发成本,同时也对软件质量有积极的影响。然而,维护成本仍然是相当可观的,公司目前花在手动测试上的时间越少,在自动化之后达到积极的、经济的ROI之前需要的时间就越多。
The Foundations of Computational Management: A Systematic Approach to Task Automation for the Integration of Artificial Intelligence into Existing Workflows
Vivenxia Group LLC(Vivenxia集团有限责任公司);Centre for Digital Therapeutics(数字治疗中心);University of Southern California(南加州大学)
AutoResearch: An Execution-Grounded Multi-Agent Framework for Reliable Research Workflow Automation
International Research Center for Complexity Sciences(国际复杂性科学研究中心);Hangzhou International Innovation Institute, Beihang University(杭州国际创新研究院,北京航空航天大学);Department of Computer Science, College of Science, Mathematics and Technology(科学、数学与技术学院计算机科学系);Wenzhou-Kean University(温州-凯恩大学);Computer Systems Engineering Department, Sukkur IBA University(苏库尔IBA大学计算机系统工程系);Yangtze Delta Region Institute (Huzhou), University of Electronic Science and Technology of China(长江三角洲地区研究所(湖州),中国电子科学科技大学)
GitHub Marketplace for Practitioners and Researchers to Date: A Systematic Analysis of the Knowledge Mobilization Gap in Open Source Software Automation
Prof. CI: Employing Continuous Integration Services and Github Workflows to Teach Test-driven Development
使用大规模开放式在线课程(MOOC)进行编程教学由于其可扩展性和知识分布效率而越来越受欢迎。然而,参加这些课程通常意味着完全致力于浏览器中提供的编程环境。虽然这允许一致和可控的设置,但学习者无法获得实际开发工具的经验,例如本地代码编辑器,测试框架,问题跟踪器或持续集成(CI)服务,这对后续的真实项目至关重要。此外,要开发的功能的测试通常已经在MOOC中可用,并且只需执行即可,从而减少了开发适当测试的参与。为了解决这些问题,同时保持高度的自动化和可扩展性,我们开发了CI教授,这是一种进行在线练习的新方法。CI教授利用开发人员日常使用的现有自动化基础设施,即CI服务和Github工作流,来教授测试驱动开发(TDD)实践。参与者在Github中使用自己的存储库,并在推送代码时从CI服务器接收反馈和新挑战。我们已经在一个试点项目中成功地应用了这种方法,30名本科生正在学习Ruby on Rails Web开发框架。我们的评估表明,该练习有效地提高了学生为他们的代码编写测试的动机。我们还介绍了参与者调查的结果,学生的经验和教师的观察。
Compiled AI: Deterministic Code Generation for LLM-Based Workflow Automation
XY.AI Labs, Palo Alto, CA(XY.AI实验室,帕洛阿尔托);Stanford University School of Medicine, Stanford, CA(斯坦福大学医学院,斯坦福);Cornell University, Department of Computer Science, Ithaca, NY(康奈尔大学计算机科学系,伊萨卡);Brigham and Women’s Hospital / Harvard Medical School, Boston, MA(布莱根妇女医院/哈佛医学院,波士顿)
CFD-copilot: leveraging domain-adapted large language model and model context protocol to enhance simulation automation
State Key Laboratory for Turbulence and Complex Systems(湍流与复杂系统国家重点实验室);School of Mechanics and Engineering Science(力学与工程科学学院);Peking University(北京大学);HEDPS-CAPT