Skip to content

chore: Add metadata action - step 1#1656

Merged
jcoscollanr merged 32 commits intomainfrom
mvick/add-metadata-action-step1
Mar 26, 2026
Merged

chore: Add metadata action - step 1#1656
jcoscollanr merged 32 commits intomainfrom
mvick/add-metadata-action-step1

Conversation

@mvicknr
Copy link
Copy Markdown
Collaborator

@mvicknr mvicknr commented Feb 11, 2026

Overview

This PR adds the ability for the NR agent team to send agent metadata and binaries to New Relic for use in fleets and other features. This will be triggered normally during a release. but if it fails, it will not fail the release. It can also be run on-demand for backfilling older agent versions, to make corrections, or to re-run the job after a failure.

GH action info: https://github.com/newrelic/agent-metadata-action/blob/main/README.md

Testing

This PR is step 1 that will use aTestAgent agent name instead of NRPythonAgent
This PR needs to be merged to main in order to run the new on-demand workflow
A later PR will add a step in the release and use the real agent name

@mvicknr mvicknr requested a review from a team as a code owner February 11, 2026 20:48
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 11, 2026

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 8 0 0 1.02s
✅ MARKDOWN markdownlint 7 0 0 0 1.34s
✅ PYTHON ruff 1030 0 0 0 1.1s
✅ PYTHON ruff-format 1030 0 0 0 0.38s
✅ YAML prettier 19 0 0 0 1.6s
✅ YAML v8r 19 0 0 5.93s
✅ YAML yamllint 19 0 0 0.75s

See detailed reports in MegaLinter artifacts

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

@mergify mergify Bot added the tests-failing Tests failing in CI. label Feb 11, 2026
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Feb 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.78%. Comparing base (8d62a84) to head (49f0af4).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1656      +/-   ##
==========================================
- Coverage   81.85%   81.78%   -0.07%     
==========================================
  Files         214      214              
  Lines       25683    25683              
  Branches     4076     4076              
==========================================
- Hits        21023    21006      -17     
- Misses       3264     3277      +13     
- Partials     1396     1400       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mergify mergify Bot removed the tests-failing Tests failing in CI. label Feb 11, 2026
@mergify mergify Bot added the tests-failing Tests failing in CI. label Feb 14, 2026
@mergify mergify Bot removed the tests-failing Tests failing in CI. label Feb 17, 2026
@mergify mergify Bot added the tests-failing Tests failing in CI. label Feb 17, 2026
@mergify mergify Bot removed the tests-failing Tests failing in CI. label Feb 18, 2026
@mergify mergify Bot added the tests-failing Tests failing in CI. label Feb 18, 2026
@mergify mergify Bot removed the tests-failing Tests failing in CI. label Feb 23, 2026
Copy link
Copy Markdown
Contributor

@hmstepanek hmstepanek left a comment

Choose a reason for hiding this comment

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

It looks like the license header check is failing. You just need to add the following license header to the top of each of these new files:

# Copyright 2010 New Relic, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

Also the megalinter step failed to commit I think you can run this locally via:

ruff format && ruff check --fix

You may need to pip install ruff first.

@mergify mergify Bot added the tests-failing Tests failing in CI. label Mar 6, 2026
@mergify mergify Bot removed the tests-failing Tests failing in CI. label Mar 7, 2026
@mergify mergify Bot added the tests-failing Tests failing in CI. label Mar 9, 2026
@mergify mergify Bot removed the tests-failing Tests failing in CI. label Mar 12, 2026
@mergify mergify Bot added the tests-failing Tests failing in CI. label Mar 23, 2026
@mergify mergify Bot removed the tests-failing Tests failing in CI. label Mar 24, 2026
@mergify mergify Bot added the tests-failing Tests failing in CI. label Mar 24, 2026
@mergify mergify Bot removed the tests-failing Tests failing in CI. label Mar 24, 2026
@mergify mergify Bot added tests-failing Tests failing in CI. and removed tests-failing Tests failing in CI. labels Mar 26, 2026
@jcoscollanr jcoscollanr merged commit d0f8efd into main Mar 26, 2026
106 of 108 checks passed
@jcoscollanr jcoscollanr deleted the mvick/add-metadata-action-step1 branch March 26, 2026 09:50
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.

5 participants