MMOframework
Why AI Playground Libraries Documentation Search Agency
FR EN
Index

BoardSyncJob

MMO\git\jobs · 1 symbol · generated 27 Oct 2026

class

BoardSyncJob

BoardSyncJob.php:19

A sync of a kanban board with GitHub (BoardSync), as a long job of mmo.core: run in its own process, with no time limit, followed live (<mmo-job>) -- a board with many tickets, and their comments, makes many calls to GitHub.

class MMO\git\jobs\BoardSyncJob extends MMO\core\jobs\aJob
Namespace
MMO\git\jobs
Extends
aJob
mmo.admin's board page starts it (`BoardController`), a dry run first. Params: `profile` (the configuration's `kanbanSync` profile), `dryRun`, and the options of [`BoardSync::FromProfile`](https://mmoframework.fr/en/documentation/mmo.git/php/helpers/BoardSync.md#boardsync-fromprofile) (`conflicts`, `keep`, `drafts`). Its result is the sync's report ([`BoardSync::run`](https://mmoframework.fr/en/documentation/mmo.git/php/helpers/BoardSync.md#boardsync-run)); its log, the report's lines.
JobStore::Shared()->start(BoardSyncJob::class, ['profile' => 'my.oviepro-deploy', 'dryRun' => true]);

Index

STEPSwhat each step of BoardSync is called in the job's progress
run($params)
Title() static

Constants1

STEPS

what each step of BoardSync is called in the job's progress

const STEPS = […5 items]

Methods2

Inherited members (56)
ConstantsDeclared byDescription
ALERTiLogLevelAlert: Action must be taken immediately.
ALLiLogLevelMask for all
ALL_PLUSiLogLeveldebug everything
BACKTRACEiLogLevel
CRITICALiLogLevelCritical: Critical conditions.
DEBUGiLogLevelDebug: Detailed debug information.
DEEPiLogLeveldebug everything with arguments
EMERGENCYiLogLevelEmergency: System is unusable.
ERRORiLogLevelError: Runtime errors that do not require immediate action but should typically be logged and monitored.
ERROR_PLUSiLogLevelMask for all error
FATALiLogLevelMask for all fatal error
INFOiLogLevelInfo: Interesting events.
INFO_PLUSiLogLevelMask for all errors/warning/notices/info
MEMORYiLogLevelinclude backtrace object
NOTICEiLogLevelNotice: Normal but significant events.
NOTICE_PLUSiLogLevelMask for all errors/warning/notices/info
TRACEiLogLevelinclude backtrace as origins
WARNINGiLogLevelWarning: Exceptional occurrences that are not errors.
WARNING_PLUSiLogLevelMask for all errors and warnings
PropertiesDeclared byDescription
heartbeatIntervalaJob
idaJob
lastHeartbeataJob
lastProgressaJob
otherVerbosityaJob
progressaJob
progressIntervalaJob
progressSentaJob
stoppedaJob
storeaJob
verbosityaJob
MethodsDeclared byDescription
alert($message, $context)aJobAction must be taken immediately.
backtraces($message, $context)aJobForce-log a message at INFO level together with a full stack trace/memory snapshot (iLogLevel::BACKTRACE), bypassing the verbosity mask entirely (any non-zero verbosity is enough to trigger it).
critical($message, $context)aJobCritical conditions. No-op if CRITICAL is currently filtered out by the verbosity mask.
debug($message, $context)aJobDetailed debug information.
debugName()aJob
emergency($message, $context)aJobSystem is unusable. No-op if EMERGENCY is currently filtered out by the verbosity mask.
emit($type, $data)aJobAdd an event of any type to the job's events (JobStore::emit).
error($message, $context)aJobRuntime errors that do not require immediate action but should typically be logged and monitored.
Exclusive()aJob
flushProgress($record)aJobSend the last progress if progress skipped it (what the job ends with).
getId()aJob
getStore()aJob
getVerbosity()aJob
heartbeat($changes, $force)aJobRefresh the record's heartbeat (with $changes), at most every $heartbeatInterval seconds.
html($html)aJobShow an html fragment as is (a report, a table): the people following the job see it in its log.
info($message, $context)aJobInteresting events. No-op if INFO is currently filtered out by the verbosity mask.
isStopped()aJob
log($level, $message, $context)aJobLogs with an arbitrary level.
notice($message, $context)aJobNormal but significant events.
progress($done, $total, $label)aJobSay how far the job is.
requestStop()aJobAsk the job to stop from inside its own process (what JobRunner does on SIGTERM).
setVerbosity($verb)aJobSet the current verbosity mask, replacing whatever it was before.
shouldStop()aJobWhether the job was asked to stop (JobStore::stop, or SIGTERM): call it in loops, and return when true.
testVerbosity($level)aJobTest whether a given level (or set of levels) is currently enabled by this instance's verbosity mask.
warning($message, $context)aJobExceptional occurrences that are not errors.
__construct($store, $id)aJob