The ETL with a real GitHub repository: pipeline, pull request, release and deployments
Second part of the ETL dogfooding (part 1 ran without GitHub). Same project, now in a real repository: https://github.com/pedrowill-dev/teste-obsk. Everything below was done with obskitpy 1.0.0 (local wheel) against the real GitHub API, and every failure is written down.
What was done, in order
| # | Step | Where | Result |
|---|---|---|---|
| 1 | Connect GitHub (device flow), account pedrowill-dev |
console, CI/CD | works; see G17 |
| 2 | Add teste-obsk as a repository |
console | works |
| 3 | Pipeline Builder: ELT, triggers PR + main, checks ruff/pytest/security/build, release candidate to HMG | console | YAML generated and reviewed |
| 4 | Publish on the empty repository | console | failed: raw GitHub 409 (G18, fixed) |
| 5 | Push the ETL code to main |
git, by the maintainer | done (the portal cannot push source, G19) |
| 6 | Publish again | API | Pull Request #1 opened by obskitpy |
| 7 | Watch the CI on GitHub | gh, console |
5 jobs passed: Lint, Tests, Security, Build, Release to HMG |
| 8 | Sync the runs into the console | console | failed with a 500 on PostgreSQL (G20, fixed), then worked |
| 9 | Point the robot at the repository | robot apply |
the agent cloned the repo on every run |
| 10 | Release 1.1.0 (sha of main, run 1 of the CI) and deploy |
API | DEV and HMG deployed, PRD pending |
| 11 | Try to approve PRD as the requester | API | refused by the new four-eyes rule |
| 12 | Run in DEV, HMG and PRD with an agent serving dev hmg |
CLI | DEV and HMG succeeded; the PRD run stayed queued (agent scoping works) |
Screenshots

The pull request
obskitpy created the branch obskitpy/ci-<timestamp>, wrote .github/workflows/ci.yml and opened Pull Request 1 without touching main. The workflow runs five jobs; all passed on the first try because the project had pyproject.toml, tests and a clean ruff. The PR was not merged: that is the maintainer's decision.
Bugs this found (all fixed in this round, with tests where possible)
| # | Bug | Fix |
|---|---|---|
| G18 | Publishing to a repository without commits showed GitHub's raw 409 |
clear message: "has no commits yet: create the first commit and publish again" |
| G20 | Sync crashed with a 500 on PostgreSQL: GitHub run ids (45,309,273,420) do not fit a 32-bit integer; the model declared Integer while the migration used BigInteger. SQLite tests could not see it. |
model columns are BigInteger |
| G21 | The Release step of the builder showed raw keys (cicd.deploy.none) |
real texts in pt-BR and en |
| G22 | Scheduled runs piled up in the queue while no agent was online (11 queued DEV runs after 54 minutes, all executed at once when the agent started) | a schedule does not enqueue while its previous run still waits |
| G23 | Step indicators had no connector between steps | lines and check marks |
Only the PostgreSQL bug needed real GitHub to show up. It is the best argument for running the live test before 1.0.0.
Gaps still open
| # | Gap | Evidence |
|---|---|---|
| G11 | A deployment does not pin the code. The agent cloned the head of main, not release 1.1.0's sha. The deployed version is a label. |
agent clones repo_branch |
| G24 | Robot output is lost when the robot comes from a repository: the agent works in a temporary clone, so warehouse/hmg.db was written there and deleted. It needed ETL_WAREHOUSE_DIR pointing to a persistent path. |
hmg.db kept its old timestamp after a repo-based run |
| G19 | The portal cannot create the first commit or push source; the repository must already hold the code. | step 5 |
| G25 | A run can be triggered in PRD while the release's PRD deployment is still waiting for approval; the run only needs the environment enabled. | run 21 queued in PRD |
| G26 | The release form asks for the sha and tag by hand, does not create the Git tag, and ignores the CI run unless called through the API. | step 10 |
| G17 | After the user authorized on GitHub, the console kept saying "waiting" until the page was reloaded, although the portal was already connected. | step 1 |
| G27 | The connect panel (all repositories) fills the top of the Pipelines page; the runs are below the fold. Collapse it once a repository is added. | screenshot 13 |
| G28 | The releases table scrolls sideways and the columns are cramped on a 1024 px window. | screenshot 16 |
| G29 | No CLI for deployments and approvals (API only), so the four-eyes flow cannot be driven from a terminal or CI. | step 10 and 11 |
What was not done, on purpose
- PRD was not approved. The rule that stops the requester from approving is the one I had just built; creating a second administrator only to get around it would defeat it. A human with the second administrator account approves it in Pipelines, Approvals.
- The Pull Request was not merged.
- Azure, Slack and Telegram alerts: they need accounts that were not provided.
Verdict (demanding senior developer and QA)
The path from an empty repository to a green pipeline, a release and governed deployments is short and mostly obvious, and the PR-only publishing is the right default. What a QA would still block: G11 (the deployed version is not what runs), G24 (silent loss of output) and G25. What a developer would ask for next: a CLI for releases and approvals (G26, G29), so the whole flow runs from CI.
✎ Edit this page on GitHub