Skip to content

atime ci: add picrd api key - #7960

Open
tdhock wants to merge 5 commits into
masterfrom
atime-ci-picrd-key
Open

tdhock wants to merge 5 commits into
masterfrom
atime-ci-picrd-key

Conversation

@tdhock

@tdhock tdhock commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

In atime comments we see (Plot image upload to picrd.com failed; download the artifact below to view plots).
This is caused by 401 error from picrd (unauthorized).
Apparently picrd needs an api key now, so I signed up for one, and added it as a repo Actions secret.

Comment thread .github/workflows/performance-tests.yml Resolved
@github-actions

github-actions Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
  • HEAD=atime-ci-picrd-key much slower for as.data.table.array improved in #7019
  • HEAD=atime-ci-picrd-key much slower for transform improved in #5493
  • HEAD=atime-ci-picrd-key much slower for Date-IDate regression in #7213

Comparison Plot

Generated via commit 9ec4909

Download link for the artifact containing the test results: ↓ atime-results.zip

Task Duration
R setup and installing dependencies 1 minutes and 50 seconds
Installing different package versions 14 minutes and 50 seconds
Running and plotting the test cases 5 minutes and 44 seconds

@tdhock

tdhock commented Nov 15, 2026

Copy link
Copy Markdown
Member Author

@MichaelChirico could you please review? (you reviewed the last PR on this file, #7901 )

@aitap aitap left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Secrets are not passed to the runner when a workflow is triggered from a forked repository, so this should be safe.

Maybe the "Post or update PR comment" step should be skipped completely when running for a PR from a fork?

See also this series of blog posts

@tdhock

tdhock commented Nov 17, 2026

Copy link
Copy Markdown
Member Author

Good idea Ivan. Does artifact upload also fail for forks?

@tdhock tdhock added the atime Requests related to adding/improving/monitoring performance regression tests via atime. label Nov 24, 2026
@aitap

aitap commented Nov 29, 2026

Copy link
Copy Markdown
Member

Artifact upload does work for PRs from forks. In theory, a separate workflow could download that artifact, extract the plot, upload it and attach it to the comment, at the cost of the risk that anyone opening a PR would be able to upload an arbitrary picture with data.table's token and post it to the PR comments.

@tdhock

tdhock commented Dec 1, 2026

Copy link
Copy Markdown
Member Author

interesting thanks!!
I would suggest saving that more complex setup for a later PR, is that ok?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

atime Requests related to adding/improving/monitoring performance regression tests via atime.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants