Skip to content

SYN-11163 add it:os:posix:cron form#4990

Merged
invisig0th merged 1 commit into
masterfrom
SYN-11163
Jul 15, 2026
Merged

SYN-11163 add it:os:posix:cron form#4990
invisig0th merged 1 commit into
masterfrom
SYN-11163

Conversation

@invisig0th

Copy link
Copy Markdown
Contributor

Summary

Adds the it:os:posix:cron form to model a cron job entry configured on a host (SYN-11163).

Per the ticket, no v3 interfaces are ported to v2. Property type mappings from v3 where the v3 type has no v2 equivalent: :account -> it:account, :period -> ival, :desc -> str.

Props: :host (it:host), :cmd (it:cmd), :schedule (it:dev:str), :account (it:account), :period (ival), :desc (str), :path (file:path), :file (file:bytes).

Testing

  • Added test_infotech_posix_cron to synapse/tests/test_model_infotech.py.
  • Added a model changelog entry.

Jira: SYN-11163

Add the it:os:posix:cron form to model cron job entries configured on
a host.
@invisig0th
invisig0th marked this pull request as ready for review July 15, 2026 22:09
@codecov

codecov Bot commented Jul 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.78%. Comparing base (79b5402) to head (199fde4).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4990      +/-   ##
==========================================
- Coverage   97.79%   97.78%   -0.01%     
==========================================
  Files         301      301              
  Lines       64345    64345              
==========================================
- Hits        62924    62922       -2     
- Misses       1421     1423       +2     

☔ View full report in Codecov by Harness.
📢 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.

@invisig0th
invisig0th merged commit 3e403e7 into master Jul 15, 2026
6 checks passed
@invisig0th
invisig0th deleted the SYN-11163 branch July 15, 2026 22:21
@vEpiphyte vEpiphyte added this to the v2.248.0 milestone Jul 17, 2026
@vEpiphyte vEpiphyte added enhancement model Data model related change labels Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement model Data model related change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants