Skip to content

Conversation

@junngo
Copy link
Contributor

@junngo junngo commented Oct 2, 2025

Currently, performance data is logged only as PERFHERDER_DATA:.
This PR creates a perfherder-data-fetch-content.json artifact in the production environment(not local) for downstream tools.
Bugzilla: https://bugzilla.mozilla.org/show_bug.cgi?id=1992052

I ran a CI test [0].
When testing with the mach try fuzzy command, I wrote the code to mozilla-central[1] to check the CI result.

[0]
https://firefoxci.taskcluster-artifacts.net/VjtXAyawTb257WRd8FE8lw/0/public/build/perfherder-data-fetch-content.json
https://treeherder.mozilla.org/jobs?repo=try&revision=9d2a399b35c3e9e9f8f98a8668b882ff76060f53&selectedTaskRun=VjtXAyawTb257WRd8FE8lw.0
[1]
https://searchfox.org/firefox-main/source/third_party/python/taskcluster_taskgraph/taskgraph/run-task/fetch-content#954

@junngo junngo requested a review from a team as a code owner October 2, 2025 13:05
@junngo junngo requested a review from bhearsum October 2, 2025 13:05
Copy link
Contributor

@bhearsum bhearsum left a comment

Choose a reason for hiding this comment

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

I'm not super keen on adding more Mozilla-specific things to this, but seeing as this is really just doing what the print is currently doing, this seems like a sidestep rather than moving backwards.

}
],
}
print("PERFHERDER_DATA: {}".format(json.dumps(perfherder_data)), file=sys.stderr)
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this print be removed now that we're spitting out a proper artifact?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the review :) We’ll keep this log for now as we transition from log output to the JSON artifact step by step.

@bhearsum bhearsum merged commit 1932d08 into taskcluster:main Oct 3, 2025
18 checks passed
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