scheduled-tasks
Monorepo of ~45 scheduled task console apps (provider imports, flights updaters, destinations imports, back-office jobs) built on a shared ScheduledTasks.Framework, all on .NET 10.
Health score
0 to 100 across seven weighted factors; nothing is hidden. Green is 75 and above, amber 50 to 74, red below 50. How scoring works.
Facts
| Languages | csharp |
| Frameworks | ScheduledTasks.Framework (in-repo), MongoDB.Driver 3, TC.Streams |
| Runtimes | .NET 10 |
| Tests / CI | good / CI in place |
| Last commit | 2026-07-24 |
| Owner | Owner unknown (mapping to be curated) |
| Domain | Platform services (system generated; curate in repo-owners.json to override) |
| Product area | Shared platform |
| Hosted | On-prem Deployed to our own machines
|
| Releases | 66 release pipeline(s): \flights-stream\flights\flights-delayed-ticketing-task; \flights-stream\flights\flights-expiring-options-task; \flights-stream\flights\flights-queue-based-ticketing-polling-task; \scheduled-tasks\BackOffice\close-to-gold-task; \scheduled-tasks\BackOffice\gold-migration-task; \scheduled-tasks\BackOffice\tc-performance-top10-customers-task; \scheduled-tasks\BackOffice\unallocated-payment-cleanup-scheduled-task; \scheduled-tasks\Destinations\destinations-location-import-task; \scheduled-tasks\Flights\flights-extended-quote-information-updater-task; \scheduled-tasks\Flights\flights-online-checkin-updater-task; \scheduled-tasks\Flights\flights-pnr-booking-updater-task; \scheduled-tasks\Flights\flights-pnr-costupdater-task; \scheduled-tasks\Flights\flights-pnrupdate-updater-task; \scheduled-tasks\Flights\flights-schedule-changes-task; \scheduled-tasks\Flights\flights-trainline-poller-task; \scheduled-tasks\Flights\tf-unconfirmed-booking-task; \scheduled-tasks\MyTC\Pushnotification Task; \scheduled-tasks\Other\accom-metric-error-process-task; \scheduled-tasks\Other\timed-litmos-update-task; \scheduled-tasks\Providers\Attractions\provider-dosomethingdifferent-postbooking-task; \scheduled-tasks\Providers\Attractions\provider-dosomethingdifferent-task; \scheduled-tasks\Providers\Attractions\provider-musement-postbooking-task; \scheduled-tasks\Providers\Attractions\provider-musement-task; \scheduled-tasks\Providers\CarHire\provider-car-hire-import-task; \scheduled-tasks\Providers\CarHire\provider-carhire-onrequest-task; \scheduled-tasks\Providers\CarHire\provider-sunnycars-voucher-downloader-task; \scheduled-tasks\Providers\Cruise\cruise-configuration-task; \scheduled-tasks\Providers\Cruise\cruise-readmodelbuilder-task; \scheduled-tasks\Providers\Cruise\provider-odysseus-task; \scheduled-tasks\Providers\Cruise\provider-widgety-task; \scheduled-tasks\Providers\P2P\p2p-mozio-onrequest-task; \scheduled-tasks\Providers\P2P\provider-bedsonline-p2p-task; \scheduled-tasks\Providers\P2P\provider-holidaytaxisv2-task; \scheduled-tasks\Providers\PTR-Cleanup-Task; \scheduled-tasks\Providers\provider-bedsonline-task; \scheduled-tasks\Providers\provider-bonotel-task; \scheduled-tasks\Providers\provider-derbysoft-task; \scheduled-tasks\Providers\provider-desertadventures-task; \scheduled-tasks\Providers\provider-directstock-task; \scheduled-tasks\Providers\provider-general-documentcheck-task; \scheduled-tasks\Providers\provider-giata-task; \scheduled-tasks\Providers\provider-hilton-task; \scheduled-tasks\Providers\provider-jumbotours-task; \scheduled-tasks\Providers\provider-jumeirah-places-task; \scheduled-tasks\Providers\provider-jumeirah-static-data-task; \scheduled-tasks\Providers\provider-mrandmrssmith-task; \scheduled-tasks\Providers\provider-nightsbridge-task; \scheduled-tasks\Providers\provider-resortmarketing-task; \scheduled-tasks\Providers\provider-stuba-task; \scheduled-tasks\Providers\provider-swapsystems-task; \scheduled-tasks\Providers\provider-travco-task; \scheduled-tasks\Providers\provider-travelgate-task; \scheduled-tasks\Providers\provider-trustyou-task; \scheduled-tasks\Providers\provider-ttifacts-task; \scheduled-tasks\Providers\provider-webbeds-task; \scheduled-tasks\Providers\provider-webhotelier-task; \scheduled-tasks\Providers\provider-world2meet-task; \scheduled-tasks\Providers\provider-yalago-task; \scheduled-tasks\destinations-airport-import-task; \scheduled-tasks\destinations-expedia-geography-task; \scheduled-tasks\destinations-expedia-property-task; \scheduled-tasks\destinations-giata-city-task; \scheduled-tasks\destinations-giata-property-task; \scheduled-tasks\destinations-port-import-task; \scheduled-tasks\destinations-trainline-task; recruitment importer task |
| Integration | rest, wcf, redis-streams, smtp, sqlserver |
| Source | Open in Azure DevOps |
Dependencies in context
Entanglement
kernel Bound into the core by 3 mechanism(s).
- Pinning dependency: application-framework, phenix-feature-service, mailtemplate-service
- Speaks WCF (client)
- Shares core database sqlserver:Phenix
Detaches when its pinning dependencies are cut or multi-targeted (application-framework, phenix-feature-service, mailtemplate-service); and when its WCF surface gains a modern interface or its WCF calls move to one; and when the shared database group it belongs to gains an owned API or completes schema separation (sqlserver:Phenix).
Depends on / used by
Migration playbooks
Generated from this repo's assessment data: what is feasible, what blocks it, and the steps in order. Ratings: green means actionable now, amber means sequence other work first, red means blocked, grey means not applicable.
ZDD adoption
Ready with guardrailsClose: the deployment path exists, but specific checks are needed first, typically raising tests, auditing serialized data, or respecting a shared schema with expand and contract. Shares sqlserver:Phenix: expand and contract is mandatory for any schema change.
- Consumes WCF contract packages: never take a breaking client bump mid-feature, and treat obsolete warnings as migration debt
- Shares sqlserver:Phenix with 21 system(s): destructive schema change is prohibited in a single release; expand and contract only
- Serialized state or messages in flight (Redis or queues): new code must deserialize objects written by the previous version
- Feature flags come from phenix-feature-service (WCF-only): flag reads themselves are a legacy dependency to watch
- Adopt the four-stage discipline from the ZDD engineering standard: pre-deployment compatibility, deployment, feature activation behind a flag, post-release cleanup.
- Make every change dual-version safe: backwards-compatible APIs (new major version for breaking wire changes), expand and contract for any schema change, and consumers tolerant of unknown fields.
- Audit serialized data: anything in Redis, queues or shared caches must deserialize cleanly across adjacent versions.
- Wrap behaviour changes in feature flags so code deploys dark and release becomes a business decision, not a deployment event.
- Route deployments through the Workflow Engine's automated drain, deploy, health-check, return cycle (the path proven by the first automated production run in mid-2026).
- Verify with area-scoped regression rather than the whole-platform cycle, and watch error rates after rollout with automated rollback on alert.
SQL Server exit
Blocked by a shared core databasesqlserver:Phenix, sqlserver:DestinationManagement, sqlserver:Location, sqlserver:TTIGIATAData are shared, so this system cannot change engine on its own: every sharer moves in convoy. The stage 4 work (named owner, declarative schema, owned API) has to land first; after that, the steps below apply to whatever slice this system ends up owning.
- sqlserver:Phenix is shared with 21 other system(s) and is a core database
- sqlserver:DestinationManagement is shared with 1 other system(s)
- sqlserver:Location is shared with 1 other system(s)
- sqlserver:TTIGIATAData is shared with 1 other system(s)
- Inventory the schema and query surface of sqlserver:Phenix, sqlserver:DestinationManagement, sqlserver:Location, sqlserver:TTIGIATAData, sqlserver:CarHire: tables, stored procedures, triggers, cross-database joins and anything else engine-specific.
- Confirm the target: PostgreSQL (relational model; keep transactions and joins, swap the engine).
- Data access is not through an ORM, so port the SQL by hand: translate T-SQL constructs, replace stored procedures with application code or target-native equivalents, and add integration tests around the queries that matter first.
- Stand up the target alongside SQL Server, backfill with an ETL pass (pgloader or an export/import job), then dual-write or replicate until parity is proven.
- Move reads to the target, watch correctness and latency, then cut writes over and keep SQL Server read-only until confidence is earned.
- Decommission the SQL Server database and remove the connection strings and firewall paths that pointed at it.
Containerisation
Ready to containeriseModern runtime, no hosted legacy transport: this service can follow the estate's proven container path (Dockerfile, shared pipeline template, ECS via Terraform).
- Add a Dockerfile and make the app read all configuration from environment variables and the secrets manager, never from machine-local files.
- Log to stdout and expose a health check endpoint so ECS can supervise it.
- Adopt the shared ci.yml pipeline template with the container parameters (awsRegion, containerAfterBuild, ecsTerraformRepo), which is exactly how the estate's existing AWS services deploy.
- Define the service in the Terraform repo, deploy to a non-production environment, then shift traffic and disarm the deployment-group release pipeline.
Recommended actions
No specific actions for this repo. It either needs only normal maintenance, or its work is covered by an estate-level action. See the full programme.
Assessment notes
scheduled-tasks
Purpose
The consolidation monorepo for TC's scheduled batch jobs. Core/ publishes the ScheduledTasks.Framework and ScheduledTasks.ImportTools NuGet packages; Tasks/ holds the migrated tasks grouped into Providers (accommodation, attractions, car hire, cruise, P2P, general), Flights (PNR/ticketing/schedule-change updaters), Destinations (Expedia, GIATA, airports, ports, Trainline), BackOffice (Gold migration, unallocated payments, CRM import), MyTC push notifications and Other (Litmos, accommodation metrics).
Tech stack
Uniformly modern: 154 SDK-style C# projects all targeting net10.0, central package management (Directory.Packages.props), slnx solutions, StyleCop, FluentResults-based error handling with App Support email notification built into the framework. Data access via the full ConnectionBroker suite (Sql, Redis, Mongo, Wcf, Api, Aws); some tasks use MongoDB 3.x and TC.Streams (Redis streams).
Deployment
By far the most deployed repo in the estate: 66 releases across ~67 release pipelines under \scheduled-tasks\... and \flights-stream\..., backed by ~88 build pipelines. 71 YAML pipeline files live in the repo (one per task plus core), using the shared azure-pipelines-templates CI template. Tasks run as scheduled console executables.
Dependencies
Internal packages map widely across the estate: TC.ConnectionBroker.* (tc-connectionbroker), TC.Phenix.ApplicationFramework (application-framework), TC.UserAccount.ServiceClient (backoffice-useraccount-service), TC.MaintainanceTools.SimpleJobs.SqlTools (maintainancetools-base-fault-handling-jobs), TC.Cache.Specialised.PhenixFeature (phenix-feature-service), TC.DestinationManagement.API.Client (phenix-destination-management), TC.Flights.WebAPI.* (phenix-flights), TC.Phenix.User.API.* (phenix-user-api), TC.Quote.Api.Client (phenix-quote), TC.Mail.Template.* (mailtemplate-service). External: dozens of provider/supplier APIs (Expedia, GIATA, Trainline, Litmos, Musement, Bedsonline, Hilton, Odysseus and many more).
Data stores
SQL Server via ConnectionBroker: Phenix, DestinationManagement, Location, TTIGIATAData and car-hire databases (AVIS, EHI, SunnyCars, FlexibleCarHire). MongoDB Cruise database for cruise search data; Redis streams for event integration in some back-office/flights tasks.
Integration points
Outbound REST to internal APIs and external providers, legacy WCF service clients (Phenix services, user accounts), Redis streams, SMTP for App Support failure notifications, and direct SQL.
Code health
Strong: 76 of 154 projects are test projects (roughly one per task), coverage output checked into some test folders, active daily development (last commit 2026-07-24), real README plus migration docs in Docs/. Central package versions keep dependencies aligned.
Modernisation risks
Low as a stack — it is the modernisation target other standalone task repos migrate into. Risks are operational rather than technical: enormous blast radius (one repo feeding ~67 production release pipelines), direct writes to the shared Phenix database, residual WCF client dependencies, and the sheer number of external provider integrations concentrated in one place.