Skip to content

chore: stop ignoring cntx's workspace folder - #6

Merged
stephen-masters merged 1 commit into
mainfrom
chore/remove-cntx
Oct 6, 2026
Merged

stephen-masters merged 1 commit into
mainfrom
chore/remove-cntx

Conversation

@stephen-masters

Copy link
Copy Markdown
Contributor

The cntx evaluation has ended and cntx is uninstalled from the machine that ran it, so nothing writes .cntx/ here any more. This removes the two .gitignore blocks that ignored it.

🤖 Generated with Claude Code

The cntx evaluation has ended and cntx is uninstalled, so nothing writes
.cntx/ into this repository any more.

Co-authored-by: Yvette Mankerian <yvettekm@gmail.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 6, 2026 20:27
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Deploying tetrak with  Cloudflare Pages  Cloudflare Pages

Latest commit: bf2ddc5
Status: ✅  Deploy successful!
Preview URL: https://7ac5e7a5.tetrak.pages.dev
Branch Preview URL: https://chore-remove-cntx.tetrak.pages.dev

View logs

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.

@stephen-masters
stephen-masters merged commit 029b37e into main Oct 6, 2026
8 checks passed
stephen-masters added a commit that referenced this pull request Oct 8, 2026
The Sphinx docs deployed on every push to main, and hatch-vcs versions
a build from an untagged commit as X.Y.Z.devN. A merge that cuts no
release therefore published a dev title with nothing due to overwrite
it: the chore merge of #6 left scattercode.github.io/tetrak reading
"tetrak 5.14.2.dev2 documentation" two days after 5.14.1 had published
cleanly.

The `git describe --exact-match` gate that used to prevent this went
with the workflow_run trigger in the pre-split repository (#88), on the
reasoning that the release push now lands on the tagged commit. It
does, but the branch push also fires for non-release merges, and the
old repository's product/** path filter hid how often that happened.

Restore the gate and apply it to the push and dispatch paths alike, so
the published reference only ever matches a version that is on PyPI.
The build stays unconditional as the pull-request check. release.yml's
comment about the gate is accurate again.

Co-authored-by: Yvette Mankerian <yvettekm@gmail.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@stephen-masters
stephen-masters deleted the chore/remove-cntx branch October 8, 2026 12:49
stephen-masters added a commit that referenced this pull request Oct 8, 2026
The Sphinx docs deployed on every push to main, and hatch-vcs versions
a build from an untagged commit as X.Y.Z.devN. A merge that cuts no
release therefore published a dev title with nothing due to overwrite
it: the chore merge of #6 left scattercode.github.io/tetrak reading
"tetrak 5.14.2.dev2 documentation" two days after 5.14.1 had published
cleanly.

The `git describe --exact-match` gate that used to prevent this went
with the workflow_run trigger in the pre-split repository (#88), on the
reasoning that the release push now lands on the tagged commit. It
does, but the branch push also fires for non-release merges, and the
old repository's product/** path filter hid how often that happened.

Restoring that gate was the first version of this change, and review
found it short: Release pushes its tag before it builds and publishes
the wheel, so a deploy triggered by that push can run while publication
is pending and leaves the reference ahead of PyPI if publication fails.

So the push and pull_request paths now build and stop, and the deploy
is a job in release.yml that needs `publish` and calls the Sphinx
workflow with the tag. The build checks out that tag and asserts the
installed package reports it. A hand redeploy is a dispatch from main
with the tag as an input: the github-pages environment admits
deployments from main only, so a dispatch against the tag ref builds
correctly and is then refused, which is how the first redeploy went.

Co-authored-by: Yvette Mankerian <yvettekm@gmail.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants