Skip to content

feat(root): configure nightshift with iyarc-prune task#9064

Merged
rashadjnizar merged 1 commit into
masterfrom
HSM-410-nightshift-iyarc-automation
Jun 22, 2026
Merged

feat(root): configure nightshift with iyarc-prune task#9064
rashadjnizar merged 1 commit into
masterfrom
HSM-410-nightshift-iyarc-automation

Conversation

@rashadjnizar

@rashadjnizar rashadjnizar commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Ticket: HSM-410

Summary

Configures a Nightshift agent to automatically prune stale entries from .iyarc.
Adds three files:

  • .github/workflows/nightshift-scheduler.yaml — weekday cron (06:00 UTC) that calls the reusable scheduler; 168h cooldown gates actual dispatch to ~weekly.
  • .github/workflows/nightshift-task.yaml — thin wrapper calling the reusable task runner.
  • .nightshift.yaml — the iyarc-prune custom task definition + prompt.

How it works

Each cycle the agent walks every .iyarc exclusion, checks whether a compatible patched version exists, and if so bumps the dependency and removes the exclusion. Before opening a PR it runs the release gates — audit-high + check-deps — plus a scoped build/test, and abandons the change if any gate fails. Green runs open one non-draft PR. No-op cycles are expected and produce no PR.

Testing

Validated the scheduler + config locally via the nightshift-actions CLI (offline dry-run):

Loaded 1 enabled tasks
--- Selected Tasks ---
  iyarc-prune (score: 18.00, priority: 8, staleness: 10.00, reason: never run)
Dry run — no tasks dispatched.

Confirms .nightshift.yaml parses and the task is selected correctly.

@rashadjnizar rashadjnizar requested review from a team as code owners June 18, 2026 20:24
@linear-code

linear-code Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

HSM-410

@rashadjnizar rashadjnizar requested a review from Marzooqa June 18, 2026 20:24
@vinhkhangtieu

Copy link
Copy Markdown
Contributor

what does iyarc do? is this pr mainly for security audit of packages in that file?

vinhkhangtieu
vinhkhangtieu previously approved these changes Jun 19, 2026
@rashadjnizar

Copy link
Copy Markdown
Contributor Author

what does iyarc do? is this pr mainly for security audit of packages in that file?

iyarc is the ignore/exclusion file for improved-yarn-audit. this pr adds a scheduled nightshift agent that walks every entry in .iyarc, checks whether a compatible patched version now exists, and if so bumps the dependency and removes the exclusion.

Marzooqa
Marzooqa previously approved these changes Jun 22, 2026
zahin-mohammad
zahin-mohammad previously approved these changes Jun 22, 2026

@zahin-mohammad zahin-mohammad left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

good job!

Comment thread .nightshift.yaml
@rashadjnizar rashadjnizar force-pushed the HSM-410-nightshift-iyarc-automation branch from 30d2c53 to f295762 Compare June 22, 2026 20:50
@rashadjnizar rashadjnizar merged commit 159cd3a into master Jun 22, 2026
23 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.

4 participants