John Mason

John
Mason

Senior Integration Engineer at PebblePad

I build the APIs, cloud platform and AI tooling behind a learning platform that thousands of learners and educators use every day. I joined PebblePad as an apprentice in 2020 and have spent six years working across the .NET core, AWS, data pipelines and applied AI.

Mar 2021 to Oct 2026

The record

Counted from git history across PebblePad's repositories and from Azure DevOps. Work from my first eight months lived in older systems and isn't included.

642pull requests authored and merged
4,256commits across 38 repositories
1,592+review votes on colleagues' pull requests
506work items closed, 114 of them research spikes
17architecture decision records
186engineering wiki pages created

Commits per year

2021 counts from March. 2026 counts to 19 October and is already the biggest year for commits, pull requests and closed work items. Work items before 2022 were tracked in Jira.

Show as a table
YearCommitsPull requestsReview votesWork items closed
CHANGELOG.md

Career changelog

Each major version is a promotion. Apprentice to senior in six years, alongside a first-class degree.

v4.0.0 current

Senior Integration Engineer

Nov 2026 to now
  • API framework. Building how customers and services authenticate to PebblePad's new APIs: KMS-backed signing keys with rotation, a public JWKS endpoint, a Native AOT Lambda authorizer in front of API Gateway, and API key usage tracking.
  • Took the framework's ten architecture decision records from proposal to accepted, after a full review of the epic with the team.
v3.0.0 promoted

Software Engineer II

Oct 2025 to Nov 2026
  • AI Workspace Wizard. Led the backend of an AI-assisted way to create workspaces, from a two-week investigation to closed beta.
  • Caching incident. Ran the root cause analysis on a production caching incident, hardened the cache library, and turned the findings into a company-wide observability and resilience strategy.
  • Pebble Brain. Built a retrieval system over our own engineering knowledge, queried by coding agents over MCP.
  • Analytical data platform. A PySpark and AWS Glue ingestion platform on a medallion architecture: 147 commits and 42,000 lines.
  • API framework decisions. Wrote ADRs on customer and service authentication, PKCE, scopes, per-organisation rate limits, signing keys, token revocation and the API front door, backed by a JWT signing benchmark.
  • Recovery readiness. Wrote the test strategy, risk assessment and executive-level design for a technical recovery programme, then built the post-restore validation, data repair tooling and customer-query runbooks.
  • Security reviews. Led security reviews of the core platform, frontend and payment service, with proof-of-concept testing to confirm impact and prioritised fixes for each finding.
  • AI adoption. Lead the engineering Community of Practice on AI and wrote shared agentic tooling for the team.
v2.0.0 promoted

Application Developer

Aug 2024 to Oct 2025
  • Multi-instance PebblePad. Impact assessments across a dozen subsystems for running load-balanced, plus primary-server protections for email and purging.
  • Health Check API across every application, with runbooks and a load-balanced testing guide.
  • Distributed cache. Rolled Valkey out across MVC, API and libraries; tag-based invalidation, Lua scripting, a login circuit breaker and performance testing.
  • Progress Tracking to the cloud on ECS with FIFO queues, scaling and service-to-service auth.
  • Moved report and file delivery to S3 and CloudFront, and removed WebStore and legacy SSO code.
v1.0.0 first release

Apprentice Application Developer

Jul 2020 to Aug 2024

2024

  • AWS foundations. Shared CDK construct library published as NuGet packages, a cloud reporting service on ECS, and a least-privilege compliance Lambda.
  • Research that became decisions: JWT auth in AWS, job scheduling, and the Redis vs Valkey ADR.

2023

  • Replaced the scripted TeamCity build with Nuke and documented the whole build estate.
  • Designed a unified data-access library over MongoDB and NHibernate, plus the transactions ADR and coding guideline.
  • Synthetic data generation in Python, and database and storage clean-up tooling.

2022

  • Busiest year by commits: 1,223 commits and 214 pull requests.
  • Built the analytics platform, worked on the public REST API, and led the removal of Flash and Flourish code, about 190,000 lines.

2020 to 2021

  • Reusable React components, dashboard notifications end to end, and developer machine automation.
Selected work

Things I've built

APIs2026

API authentication framework

How customers and services authenticate to PebblePad's new APIs. Ten ADRs covering auth flows, PKCE, scopes, rate limits, signing keys and revocation, then the build: KMS-backed signing keys with rotation, a public JWKS endpoint and a Native AOT Lambda authorizer.

10 ADRs · JWT signing benchmark.NET 10 · AWS KMS · API Gateway · Lambda · CDK
AI2026

AI Workspace Wizard

Led the backend of a template-driven, AI-assisted way to create workspaces: page endpoints, prompts and embeddings, validation and retry, LTI support and a performance pass, from investigation to closed beta.

Closed beta 2026C# · ASP.NET · OpenAI · LTI
AI2026

Pebble Brain

A knowledge base over our own engineering material, built from scratch. Vector storage, an ingestion worker that pulls in the wiki and pull-request review comments, reranked retrieval, and an MCP API that coding agents query.

54 commits · 26,500 linesPostgreSQL · pgvector · MCP · Linux · TeamCity
Data2026

Analytical data platform

Ingestion into a medallion architecture: typed contracts, chunked and resumable extraction, a progress store, an orchestrator, validation suites, nine runbooks and a cost model.

147 commits · 40 PRs · 42,000 linesPython · PySpark · AWS Glue · MongoDB · S3
Reliability2025 to 2026

Distributed cache and resilience

Rolled Valkey out across the platform. After a production caching incident I led the root cause analysis, added safety guards, jitter, backoff and hit/miss/timeout metrics, then wrote the Logging and Monitoring Manifesto that came out of it.

Incident to company-wide strategyC# · Valkey · FusionCache · Lua
AI2026

Agentic engineering

I lead the engineering Community of Practice on AI adoption. I wrote shared Claude Code skills for unit tests, PR summaries, ticket planning and test plans, extended the ticket workflow, and wrote the team's usage guidelines.

Shared skills and guidelinesClaude Code · MCP · Azure DevOps
Cloud2024 to 2025

AWS platform and cloud services

A shared CDK construct library published as NuGet packages, an SQS-driven reporting service on ECS, a least-privilege compliance Lambda, and Progress Tracking moved to ECS with service-to-service auth.

112 commits to the construct libraryAWS CDK · ECS · Lambda · SQS · EventBridge
Reliability2025

Multi-instance PebblePad

Impact assessments for running PebblePad load-balanced, primary-server protections for email and purging, and a Health Check API across every application, with runbooks.

7 applications with health checksC# · IIS · TeamCity
Reliability2026

Recovery readiness

Part of a technical recovery programme. I wrote the test strategy, risk assessment and a high-level design for an executive audience, then built post-restore validation, end-to-end tests against PostgreSQL, data repair tooling and runbooks for customer queries.

Strategy through to runbooksC# · MongoDB · PostgreSQL · ClickHouse
Security2026

Security reviews

Led security reviews of the core platform, the frontend and the payment service, with hands-on proof-of-concept testing to confirm impact. Each review ended in prioritised findings and a recommended fix. I also prototyped an AI-driven security review step for the build pipeline.

Prioritised findings with fixesCode review · PoC testing · Azure Pipelines
Data2023

Data hygiene and synthetic data

Catalogued the PostgreSQL estate and its personal-data dependencies, built a schema normalisation tool, an S3 orphan finder and duplicate-data fixers, and wrote Python generators for realistic load and test datasets.

16 PRs of synthetic data toolingPython · PostgreSQL · S3
APIs2022

Public REST API

A queryable Mongo layer, a deny-by-default authorisation filter, JWT security tests, Sets and Workspaces endpoints with load tests, and the error-handling ADR. Also hardened GraphQL and built the OneDrive integration.

Secure by defaultC# · MongoDB · JWT · GraphQL
Data2022

Analytics platform

Wrote a JavaScript analytics package and rolled it out to six applications and the backend, replacing legacy tracking. Documented GDPR-safe event design in a 15-page guide.

6 applicationsTypeScript · Matomo
Clean-up2022 to 2023

Decommissions and build

Removed Flash and Flourish code and four retired test stacks from the core monolith. Replaced the scripted build with Nuke and packaged it so other libraries could adopt it in minutes.

About 190,000 lines removedC# · Nuke · TeamCity · Octopus
How I work

What the record shows

Own the building blocks

The CDK library, the database and caching libraries, the Nuke build, health checks and the API framework are shared pieces other teams build on.

Write decisions down

17 ADRs, 186 new wiki pages and about 20 production runbooks, so the reasoning outlives the pull request.

Reduce risk and cost

Hundreds of thousands of lines of dead code removed, security reviews, recovery planning, least-privilege permissions, circuit breakers and cache safety guards.

Test what matters

Load and performance tests for APIs, caches and services, flaky end-to-end suites moved to integration tests, and synthetic data generators.

Investigate first

114 time-boxed research spikes that ended in decisions on caching, messaging, auth, scheduling and data connectivity.

Lead AI adoption

From AI features in the product to agentic tooling for the engineering team and the Community of Practice that tracks how we use it.

Code review

1,592+ review votes and 3,331 comments on colleagues' work, about 300 votes a year since 2022

Security

An authorisation attribute gained two modes with nothing stopping both being set, and the if/else order meant one silently won.

The author added a guard so a misconfigured attribute fails on first request.

Performance

A loader matched every block against every response in nested loops on a path expected to carry large volumes.

I showed a parallelised version, which the author shipped.

Defect

A multi-layer cache swallowed exceptions as misses with no log, so a broken layer would have looked like normal traffic.

The author added exception logging and a unit test.

Writing

Decisions on the record

Architecture decision records, engineering standards and runbooks I've written. The wiki is the second most active place I work after the core codebase, with 1,160 commits.

Standards include the Logging and Monitoring Manifesto, resilience guidance on automatic recovery and safe self-healing, the transactions coding guideline, and a reference for the whole TeamCity estate.

  • APICustomer and service authentication, PKCE and scopes
  • APIPer-organisation rate limits and signing keys
  • APIToken revocation, expensive operations and the API front door
  • APIPartial vs atomic operations and error handling
  • DataDealing with transactions across MongoDB and NHibernate
  • CacheRedis vs Valkey, and cache tagging
  • OpsLogging provider
  • ProductAnalytics event design
Toolbox

Stack

Languages

C#PythonTypeScriptJavaScriptSQLF# (tests)

Frameworks

.NET 8 / 10.NET FrameworkASP.NET MVCReactAngularPySpark

AWS

CDKLambdaECS / FargateGlueSQSEventBridgeKMSAPI GatewayCloudFront

Data

MongoDBPostgreSQLpgvectorValkey / RedisClickHouse

Delivery

TeamCityOctopusAzure PipelinesNuke

AI

OpenAIRAGMCPClaude CodeEmbeddings
2020 to 2024

University of Wolverhampton

BSc Digital and Technology (degree apprenticeship), First Class Honours

2018 to 2020

Shrewsbury College

Computer Science, D*D*D*

Contact

Get in touch

Based in Shropshire, UK. The best way to reach me is through GitHub or LinkedIn.